SoundTheSurrender
Diamond Member
How would I go about making a alias that would deal with two commands?
For example, every time I use the rm command, I need to have a file deletion confirmation work after it.
So when I delete something, it confirms it.
another question is when I do
ls -l udir it doesn't display the permissions of that folder. all it does is
idnumber@lx:~$ ls -l udir
total 12
-rw-r--r-- 1 idnumber student 21 2007-09-23 18:03 file
-rw-r--r-- 1 idnumber student 21 2007-09-23 18:03 file1
-rw-r--r-- 1 idnumber student 21 2007-09-23 18:03 file2
thanks
For example, every time I use the rm command, I need to have a file deletion confirmation work after it.
So when I delete something, it confirms it.
another question is when I do
ls -l udir it doesn't display the permissions of that folder. all it does is
idnumber@lx:~$ ls -l udir
total 12
-rw-r--r-- 1 idnumber student 21 2007-09-23 18:03 file
-rw-r--r-- 1 idnumber student 21 2007-09-23 18:03 file1
-rw-r--r-- 1 idnumber student 21 2007-09-23 18:03 file2
thanks