Here are some unix queries that will help you to learn unix commands.....
1)Print the listing of parent directory from current directory.
->$ls ..
2)To change over parent of parent of current directory without using directory name.
->$cd .. /..
3)To forcefully remove file f1 which do not have write permission.
->$rm -f f1.txt
4)To come back to your default directory without directory name.
->$cd
5)Copy the file s1.c of present directory in current directory to d1 poresent in parrent directory.
->$cp s1.c ../d1
0 comments:
Post a Comment