LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   3 simple questions for smart Linux users (https://www.linuxquestions.org/questions/linux-newbie-8/3-simple-questions-for-smart-linux-users-16045/)

Dethbysmoke 03-11-2002 06:15 PM

3 simple questions for smart Linux users
 
1)

what is the complete Linux command(s) with all necessary options to create a link named 'fred' in the user directory /home/sally/ such that when the command ls/home/sally/fred is typed, the current contents of the /etc directory are displayed




2)

Give complete Linux command(s) with all the necessary options to find a file named 'version', which could be anywhere on the disk.



3)

A directory with a few files in it has been archived and compressed. The resultant file is called "ic.tar.gz"
give the complete Linux command(s) with all necessary options to restore the directory and files to their original readable form

taz.devil 03-11-2002 06:37 PM

If one person answered all the ?'s then that wouldn't be any fun. So I will answer #1 and two others can answer #2 & 3 respectively. More fair yeah?

Answer #1:

cd /home/sally
ln -s /etc fred

That should work I believe...

trickykid 03-11-2002 06:42 PM

its a bloody double post too..

-trickykid

acid_kewpie 03-11-2002 06:42 PM

http://www.linuxquestions.org/questi...threadid=16046

nah, what would be REALLY fun if people DIDN'T DOUBLE POST!!!!! AND DID THEIR OWN HOMEWORK!!! thankyou :D

that_girl 03-11-2002 07:24 PM

Answer to #3 should be :
gunzip ic.tar.gz which should open the file. Next:
tar xf ic.tar which should unpack your archived file.

If I am wrong, feel free to correct me...

finegan 03-11-2002 07:47 PM

Okay... I think this is right:

#2

find -rinse / version

20 seconds after posting

No, crap that's wrong... der... I'll try something else.

Cheers,

Finegan

neo77777 03-11-2002 08:26 PM

It seems like we are trying to do someone's homework here, ok then #2
find / -name version -print

taz.devil 03-11-2002 09:46 PM

Before I found out it was a double-post I answered because I thought it was kinda like a little quiz type of question. I didn't think right off that it may be someone asking for help. Pretty clever, and me pretty dumb...I am all for helping people out, i'm not a guru or the smartest of Linux users by far, but it's very rotten of a person to manipulate a post in such a way as to gain answers they need from a place they could've outright asked. I hope this wasn't the case, but if it was, it does bother me and wanted that known to the thread starter. Noone likes feeling like an idiot, but today was the topper. Yesterday took the cake when i was snowboarding/skiing. That's a whole 'nother embarrassing scene....

isajera 03-11-2002 10:54 PM

Quote:

Originally posted by taz.devil
Before I found out it was a double-post I answered because I thought it was kinda like a little quiz type of question. I didn't think right off that it may be someone asking for help. Pretty clever, and me pretty dumb...I am all for helping people out, i'm not a guru or the smartest of Linux users by far, but it's very rotten of a person to manipulate a post in such a way as to gain answers they need from a place they could've outright asked. I hope this wasn't the case, but if it was, it does bother me and wanted that known to the thread starter.
:) hey... if it would help, i could just go through and delete all the answers...


All times are GMT -5. The time now is 07:19 PM.