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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-14-2002, 01:21 AM
|
#1
|
LQ Newbie
Registered: Sep 2002
Posts: 12
Rep:
|
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
|
|
|
09-14-2002, 01:33 AM
|
#2
|
Member
Registered: Nov 2001
Location: US
Distribution: Slackware 14.2
Posts: 375
Rep: 
|
Will a moderator please move this to the "Will Someone Do My Homework For Me????" forum.
Speck
|
|
|
09-14-2002, 01:36 AM
|
#3
|
Member
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836
Rep:
|
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.
|
|
|
09-14-2002, 01:37 AM
|
#4
|
Member
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836
Rep:
|
sorry i accidently posted it, i haven't finished...i will edit it and finish it off....
|
|
|
09-14-2002, 01:49 AM
|
#5
|
LQ Newbie
Registered: Sep 2002
Posts: 12
Original Poster
Rep:
|
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
|
|
|
09-14-2002, 01:55 AM
|
#6
|
Member
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836
Rep:
|
Anytime MelLinux, and welcome to Linux Questions.....
|
|
|
09-14-2002, 02:36 AM
|
#7
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
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.
|
|
|
09-14-2002, 02:45 AM
|
#8
|
Member
Registered: Aug 2002
Location: Mumbai,India
Distribution: Linux Mint 12, Gentoo
Posts: 230
Rep:
|
[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
|
|
|
09-14-2002, 04:16 AM
|
#9
|
Member
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836
Rep:
|
thanks for the answer....
|
|
|
All times are GMT -5. The time now is 02:34 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|