LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-14-2002, 01:21 AM   #1
MelLinux
LQ Newbie
 
Registered: Sep 2002
Posts: 12

Rep: Reputation: 0
Unix/Linux Questions


Guys, I will really appreciate your help if you can help me get the answers to the following questions:

1. Indicate which of the following paths are full or relative
a. /root/
b. ../root/
c. /usr/../root
d. /home/david/

2. Assuming you are currently in the /home/david/tmp/ directory write the full path of your final location if you perform the following commands
a. cd ../85321/
b. cd /usr/lib
c. cd ~/85321

What are the best answers to the following questions:

a. Where would you find the home directory for the root user?
b. Where would you store some temporary files?
c. Where do you normally find the home directories of "normal" users?

4. Assuming you were currently in the directory containing the boot configuration files, how would you change into the directory containing the system configuration files and scripts?

Thank you guys
 
Old 09-14-2002, 01:33 AM   #2
speck
Member
 
Registered: Nov 2001
Location: US
Distribution: Slackware 14.2
Posts: 375

Rep: Reputation: 115Reputation: 115
Will a moderator please move this to the "Will Someone Do My Homework For Me????" forum.

Speck
 
Old 09-14-2002, 01:36 AM   #3
GT I.N.C
Member
 
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836

Rep: Reputation: 30
I will have a shot i am still a WAY but theres people that can correct me....

1. Indicate which of the following paths are full or relative
a. /root/ FULL
b. ../root/ RELATIVE
c. /usr/../root RELATIVE
d. /home/david/ FULL

2. Assuming you are currently in the /home/david/tmp/ directory write the full path of your final location if you perform the following commands
a. cd ../85321/ /home/david/tmp/85321
b. cd /usr/lib /usr/lib
c. cd ~/85321 dont knw

What are the best answers to the following questions:

a. Where would you find the home directory for the root user? /root
b. Where would you store some temporary files? /home/user/tmp or maybe /root/tmp not sure about this one
c. Where do you normally find the home directories of "normal" users? /home/user

4. Assuming you were currently in the directory containing the boot configuration files, how would you change into the directory containing the system configuration files and scripts? dont know

hope i was of somehelp....

Last edited by GT I.N.C; 09-14-2002 at 01:40 AM.
 
Old 09-14-2002, 01:37 AM   #4
GT I.N.C
Member
 
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836

Rep: Reputation: 30
sorry i accidently posted it, i haven't finished...i will edit it and finish it off....
 
Old 09-14-2002, 01:49 AM   #5
MelLinux
LQ Newbie
 
Registered: Sep 2002
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks a lot GT I.N.C. I really appreciate your help

To: speck

I'm not going to school, so this is not a homework. I'm just reading a book that doesn't have answers, and I just want to make sure that I'm doing the right thing. + my goal is to learn and if I can get help, I will ask for help
 
Old 09-14-2002, 01:55 AM   #6
GT I.N.C
Member
 
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836

Rep: Reputation: 30
Anytime MelLinux, and welcome to Linux Questions.....
 
Old 09-14-2002, 02:36 AM   #7
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
4. Since normally the boot scripts are in /boot, and the configure files are in /etc you would:
cd /etc
from any directory, so the beginning part of the question is irrelevant.
 
Old 09-14-2002, 02:45 AM   #8
sandy
Member
 
Registered: Aug 2002
Location: Mumbai,India
Distribution: Linux Mint 12, Gentoo
Posts: 230

Rep: Reputation: 30
[QUOTE]Originally posted by GT I.N.C
[I will have a shot i am still a WAY but theres people that can correct me....

c. cd ~/85321 dont knw
~ represents $HOME directory ie in this case the answer is $HOME/85321 where $HOME is your home directory
 
Old 09-14-2002, 04:16 AM   #9
GT I.N.C
Member
 
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836

Rep: Reputation: 30
thanks for the answer....
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
SSH to UNIX, X forwarding... newbie questions bronzepiglet Linux - Networking 7 01-29-2005 05:47 PM
Unix Book for Beginners (Not Linux... Unix) suse2166 General 6 11-25-2004 11:46 AM
UNIX (Linux, BSD, etc) Programming :: UNIX kuphryn Programming 8 04-04-2004 11:50 PM
not more red hat and hp unix questions ronss Red Hat 2 11-04-2003 12:25 AM
unix programming questions eboats General 7 10-18-2001 05:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration