I want to add my own command in linux terminal, but when i changed my bashrc with root, and use "idea" in term it looks like
bash: alias: idea: not found
but it must to work
alias idea='cd /Java/idea-IC-222.3739.54/bin; bash idea.sh'
I just have to use source.bashrc
to include bashrc
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.