LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 03-11-2002, 06:15 PM   #1
Dethbysmoke
LQ Newbie
 
Registered: Feb 2002
Posts: 4

Rep: Reputation: 0
Question 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
 
Old 03-11-2002, 06:37 PM   #2
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
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...
 
Old 03-11-2002, 06:42 PM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
its a bloody double post too..

-trickykid
 
Old 03-11-2002, 06:42 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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
 
Old 03-11-2002, 07:24 PM   #5
that_girl
Member
 
Registered: Mar 2002
Location: indiana
Distribution: Mandrake 8.1
Posts: 34

Rep: Reputation: 15
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...
 
Old 03-11-2002, 07:47 PM   #6
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
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

Last edited by finegan; 03-11-2002 at 07:59 PM.
 
Old 03-11-2002, 08:26 PM   #7
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

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

Last edited by neo77777; 03-11-2002 at 08:28 PM.
 
Old 03-11-2002, 09:46 PM   #8
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
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....
 
Old 03-11-2002, 10:54 PM   #9
isajera
Senior Member
 
Registered: Jun 2001
Posts: 1,635

Rep: Reputation: 45
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...
 
  


Closed 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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
simple linux command questions herve2001 Slackware 5 02-11-2005 07:44 PM
new to linux.. some questions for experienced users. ftbreak Linux - Newbie 2 01-30-2005 10:42 PM
Linux on second hard drive. Simple questions pmo10 Linux - Hardware 3 01-16-2005 11:48 PM
How To Ask Questions The Smart Way yixudong General 4 08-31-2002 11:07 AM
3 simple questions for a smart Linux user Dethbysmoke Linux - General 1 03-11-2002 06:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:46 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