Unix study help


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Unix study help
# 1  
Old 03-23-2009
Unix study help

Hi, I need some help with the follow questions Smilie. Any help would be great!

Answer with the necessary commands

1. In your login directory, make a directory called week4/revision

2. Without changing directories, make another directory week4_revision/data

3. Change to week4_revision/data in one command

4. Copy your own .bash_profile to week4_revision/data as a file called my_profiles using relative paths. [Remember you are now in /student/sxxxxx/week_revistion/data]

5. Copy the password file from /etc to week4_revision/data using absolute paths

6. Without changing directory, make a file called rev4.txt in your login directory. [Remember you are now in /student/sxxxxx/week_revision/data]

7. Whilist in week4_revision/data make another directory called bin

8. Add this directory to your PATH variable such that is will still be valid when you next login, then force shell to acknowledge this change for this session

9. How can you tell that the shell has observed the change?

10. Which command will allow you to see the attributes of your current and parent directory and what is the command you issued?

11. Apart from vi, which other commands (there are at least 2) will allow you to see the contents of .bash_profile

12. How many ways can you think of to return to your login directory? What are they?

13. Return to your home directory using the most efficient command

14. Which command will remove the directory week4_revision (do not remove it though) ? [There are still files in this directory].

15. Change week4_revision to week4_revision.old

16. Will this affect your path statement? If so, how?

17. Which meta characters are valid with the ls command?

18. What does ls -alt do?

19. Which command will make four directories da db dc dd in one command?

20. Which command will remove only the three directories da db dc in one command but only using one argument?

Thanks for your help, I have a test coming up and I am behind so the answers will help me study!

Thanks!
# 2  
Old 03-23-2009
seems homework and its against the rules....
# 3  
Old 03-23-2009
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. SCO

Study UNIX Kernel

Hi all, I hope you are fine, I'd like study Os I tried a book like Silberschatz it's a good book but like other books it talks about the concepts abstractly and that's due to it try to encompass many concepts from many operating systems in GENERAL. i am not too much comfortable from these... (20 Replies)
Discussion started by: Abdo_8008
20 Replies

2. Shell Programming and Scripting

New to UNIX like 2 weeks of study only

why does this not work, confused #!/bin/ksh x="x" echo "Enter a name: " read NAME while do echo $NAME echo if then echo ":" else echo $NAME fi echo echo "Enter a Name: " read NAME (8 Replies)
Discussion started by: Gmoney93079
8 Replies

3. UNIX for Dummies Questions & Answers

UNIX Study Material

Hi , Can anyone suggest me any UNIX Study material and UNIX Certification specific for TELECOM-DOMAIN. Best Regards, Om Prakash. (14 Replies)
Discussion started by: omprakash1986
14 Replies

4. Programming

UNIX- -Case study - Library management.

Hi.. I am a new joinee to this foram.I need to submit a case study in UNIX .Please help me to submit the case study by giving your valuable ideas.It will be very helpful for me. Topic: Unix File Management A university wants to computerize its Library operations because of... (2 Replies)
Discussion started by: viji_jeya
2 Replies

5. What is on Your Mind?

UNIX Admin (Papers and study material)

Hi, I want to prepare and then appear for Unix admin certification. Please guide me for the study material and Exams that are required to be taken for UNIX certifcation. Thanks in advance. (11 Replies)
Discussion started by: raman1605
11 Replies

6. UNIX for Dummies Questions & Answers

Any study material for begineers for UNIX please??

Any study material for begineers for UNIX please?? (2 Replies)
Discussion started by: niranjany
2 Replies

7. Programming

Good Unix Online Study Material

HI Friends, I wanted to start this thread inorder to keep all the Unix starters to easily find useful material through this thread...I request you all to provide with the URL address of any gud material you know... thanks and regards... (2 Replies)
Discussion started by: rahul3894singh
2 Replies

8. UNIX for Dummies Questions & Answers

help for unix study

hi I am vijay how r the unix gurus? I want to install unix for our sites.So pls tell me abt unix installation user guide & also all the unix commands.Pls help me.I am waiting for yr reply. bye..........vijay :D (2 Replies)
Discussion started by: vi77_surat
2 Replies

9. UNIX for Dummies Questions & Answers

i want to study unix,but it is very dificult.

14 (2 Replies)
Discussion started by: zbweh5280
2 Replies

10. UNIX for Dummies Questions & Answers

I want to start study Unix!

hello .. I am college student and a new guy to unix. I have a simple question: what does "unix" stand for ,or just a meaningless name ? (4 Replies)
Discussion started by: nanuo
4 Replies
Login or Register to Ask a Question