|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I want to create a script that will duplicate the effect of the rm -i command do I use alias command to do this.
alias "rm -i" "del" |
|
#2
|
|||
|
|||
|
alias is just that. you create an alias to some other string.
If it is a script you would like you will want to check out (I am assuming Bash here, insert your shell as needed) file test operators. Also read teh man pages for rm and unlink
__________________
-- I'll provide you with reference points; if they dont work, refer to something else. If you process text, this might make your life a little easier. |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > Alias command |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|