The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
UNIX Admin (Papers and study material) raman1605 What's on Your Mind? 11 05-27-2009 03:40 AM
Any study material for begineers for UNIX please?? niranjany UNIX for Dummies Questions & Answers 2 02-20-2009 10:14 AM
help for unix study vi77_surat UNIX for Dummies Questions & Answers 2 06-17-2006 09:24 AM
i want to study unix,but it is very dificult. zbweh5280 UNIX for Dummies Questions & Answers 2 05-26-2004 09:33 PM
I want to start study Unix! nanuo UNIX for Dummies Questions & Answers 4 12-07-2003 01:18 AM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 03-23-2009
Heyo Heyo is offline
Registered User
  
 

Join Date: Mar 2009
Posts: 1
Unix study help

Hi, I need some help with the follow questions . 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!
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 11:54 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0