|
|
|
| |||||||||
![]() |
|
|
«
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
__________________
Some people have 20 years of experience. Some have 1 year of experience 20 times. My personal site: Basic geek randomness |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > Alias command |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|