Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Feb 2009
differenciating error messages and alias
im new to linux and taking a class.
i've come across a question tht i do not know.
in these two commmands /etc/passwd is misspelled as /etc/password
$ wc -1 /etc/password
wc: /etc/password: No such file for directory
$ wc -1 </etc/password
bash: /etc/password: No such fule or directory
whats the difference in the error message...
aslo, create an alias for the date command, using the name, pwd.
this means you have redefined pwd to work like date. does this work? does date and pwd work as before? when you log out and log in again, what happens to the alias?