Add a line that aliases \"cp\" to \"cp -i\" Add a line that aliases \"mv\" to \"
ID: 3586438 • Letter: A
Question
Add a line that aliases "cp" to "cp -i"
Add a line that aliases "mv" to "mv -i"
Add a line that aliases "rm" to "rm -i"
You can check the new aliases by saving .bashrc and then opening a new login session. Create a new file and then try removing it. You should get a prompt asking you to confirm the removal.
Add a line that adds "/class/scripts" to the end of your PATH variable. Be sure to keep the existing path entries as well.
You can check your new path by opening a new login session and running "hello". The program should run without you having to specify the directory path to the command.
Explanation / Answer
Lines to create aliases
To create aliases in unix , just add the alias in the .bashrc file with the syntax
alias name='command'
PLEASE RATE !!
Thanks !
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.