Results 1 to 2 of 2
hi all
im new to linux and taking a class.
i've come across a question tht i do not know.
1)
in these two commmands /etc/passwd is misspelled as /etc/password
...
- 02-15-2009 #1Just Joined!
- Join Date
- Feb 2009
- Posts
- 1
differenciating error messages and alias
hi all
im new to linux and taking a class.
i've come across a question tht i do not know.
1)
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?
thanks
- 02-16-2009 #2


Reply With Quote
