Q. Usage of ">|"?
Ans.
">|" force redirection, will forcibly overwrite an existing file.
Q. How to delete files , with names beginning with "-", e.g. -immovable.txt ?
Ans.
Use rm -- -immovable.txt
Q. Significance of command "cd -"?
Ans.
"cd -" command changes to the previous working directory, i.e. $OLDPWD
No comments:
Post a Comment