Monday, June 6, 2011

Who knows Unix Command?

can you guys help me?

I need to answer each with commands.

Does anyone knows the command?



3. Make lab1 your current directory

4. Make a directory source

5. Make a directory target

6. Check detailed listing for the directory

7. Make source your current directory

8. Check the current directory

9. Use cat to create a file sample.txt. Add following lines to the file and then save it

This is line one

This is line two

This is line three

10. Check the listing of the current directory.

11. Without changing the directory use cat to copy Sample.txt to the target directory

12. Change the shell to korn shell

13. Using cd directly go to your home directory

14. Check if you are in your home directory

15. Check to see how many shells are running for you

16. Exit the shell.

17. Check the current directory

18. Check the contents of this directory

19. Delete all the contents of the current directory

20. Check the listing again for the directory

21. Go to the parent directory

22. Remove the directory source

23. Go to your home directory

24. List the directory of the sub directory target

25. List the content of the file sample.txt from your home directory

26. Remove the directory lab1 and all its contentsWho knows Unix Command?
C'mon, this is an abusive question. There are plenty of online references that can answer your questions. Or go buy a book on the Unix shell.



But I'll give you a few.



6. ls -l

8. pwd

12. ksh

13. cd

14. pwd

16. exit

17. pwd

18. ls

19. rm *

21. cd ..

23. cd

26. rm -r dir

No comments:

Post a Comment