LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 07-29-2009, 09:44 PM   #1
panda12
LQ Newbie
 
Registered: Jul 2009
Posts: 2

Rep: Reputation: 0
Question Explain; 1rwxrwxrwx 1 root 4 Aug 16 14:20 awk -> gawk


Explain the following?

1rwxrwxrwx 1 root 4 Aug 16 14:20 awk -> gawk
 
Old 07-29-2009, 09:51 PM   #2
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , Solaris 10, RHEL
Posts: 1,933
Blog Entries: 1

Rep: Reputation: 188Reputation: 188
Quote:
Originally Posted by panda12 View Post
Explain the following?

1rwxrwxrwx 1 root 4 Aug 16 14:20 awk -> gawk
Homework question?

Let me "cast the line" for you...but YOU have to fish

http://lmgtfy.com/?q=linux+symbolic+links
 
Old 07-29-2009, 09:53 PM   #3
vikas027
Senior Member
 
Registered: May 2007
Location: Sydney
Distribution: RHEL, CentOS, Debian
Posts: 1,265

Rep: Reputation: 98
Quote:
Originally Posted by panda12 View Post
Explain the following?

1rwxrwxrwx 1 root 4 Aug 16 14:20 awk -> gawk
I believe this is not 1 (numeric one) in the starting it is l (alphabet).

This is actually a link file which is point to a executable gawk.
 
Old 07-29-2009, 10:13 PM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
Per the LQ Rules, please do not post homework assignments verbatim. We're happy to assist if you have specific questions or have hit a stumbling point, however. Let us know what you've already tried and what references you have used (including class notes, books, and Google searches) and we'll do our best to help. Also, keep in mind that your instructor might also be an LQ member.
 
Old 07-29-2009, 11:58 PM   #5
cll975dll
LQ Newbie
 
Registered: Aug 2008
Location: Pune
Distribution: Red Hat
Posts: 11

Rep: Reputation: 1
1rwxrwxrwx 1 root 4 Aug 16 14:20 awk -> gawk

it is the output of the command ls -l [some file name]

at the starting it should not be 1 rather it should be 'l'. Which actually means, symbolic link. Now how this link works, linked to other files, i don't know oops....
Now lets look at
rwxrwxrwx
These are the file access permissions to File owner, Group, and the others.

The first three characters for File.

The second three for Group.

and the last three for others.

The second column indicates the no. of links wid that file.

The third column indicates the ownership of the file.

The fourth column indicates the Group ownership of the file.

The fifth column indicates the size of the file in MB.

The sixth column indicates the date and time of the file created on.

The last column gives you the file name.

Hope this will help you.
 
Old 07-30-2009, 02:02 AM   #6
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,458

Rep: Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941
Quote:
Originally Posted by cll975dll View Post
Hope this will help you.
Nope. As per the post from pixellany above and per the LQ rules, doing people's homework does not really help at all!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Static awk or gawk binary rbautch Linux - Software 5 06-14-2011 01:41 AM
awk or gawk question sharky Programming 4 10-24-2008 01:29 PM
Help with pattern matching, sorting data with awk/gawk or perl placem Programming 2 09-11-2008 02:26 PM
LXer: Get started coding with GAWK and AWK LXer Syndicated Linux News 0 09-26-2006 02:54 PM
Deleting a line with gawk/awk caps_phisto Linux - General 4 11-06-2004 02:31 PM


All times are GMT -5. The time now is 07:03 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration