There is an easy way to save yourself from having to repeatedly do the commands over and over. Simple create yourself an alias. In your /root/ directory is a file called .bashrc (period means it’s hidden file) and you can edit that file to save some typing. Open the file up as root and go to the bottom of the file and enter in your alias word with command you want. Now you can call that command with a simple word and it will do it’s thing. So for example, I use the word world with a string of chain commands to perform my updates.
alias world=’equo update && equo install entropy equo && equo upgrade && equo deptest && equo conf update && equo libtest’
I replaced the word world for "upgrade"
after that, i get this message:
- Code: Select all
xxx juan # upgrade
bash: $'\342\200\231equo': command not found
Could anybody please help me?