Linux Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsOperating SystemsLinux Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 11th, 2012, 07:55 AM
NotionCommotion NotionCommotion is offline
Contributing User
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Sep 2006
Posts: 1,519 NotionCommotion User rank is Colonel (50000 - 60000 Reputation Level)NotionCommotion User rank is Colonel (50000 - 60000 Reputation Level)NotionCommotion User rank is Colonel (50000 - 60000 Reputation Level)NotionCommotion User rank is Colonel (50000 - 60000 Reputation Level)NotionCommotion User rank is Colonel (50000 - 60000 Reputation Level)NotionCommotion User rank is Colonel (50000 - 60000 Reputation Level)NotionCommotion User rank is Colonel (50000 - 60000 Reputation Level)NotionCommotion User rank is Colonel (50000 - 60000 Reputation Level)NotionCommotion User rank is Colonel (50000 - 60000 Reputation Level)NotionCommotion User rank is Colonel (50000 - 60000 Reputation Level)NotionCommotion User rank is Colonel (50000 - 60000 Reputation Level)NotionCommotion User rank is Colonel (50000 - 60000 Reputation Level) 
Time spent in forums: 2 Weeks 2 Days 2 h 44 m 5 sec
Reputation Power: 526
20 things a newbie should commit to memory

I am still very green when it comes to Linux/Unix. I read a book or a tutorial, and get overwhelmed by the amount of detail.

To ease this learning curve, can anyone suggest some must know facts/commands/concepts? Below are several I identified. I am not looking for everything, but as the title suggestions, just the top 20.

Thanks
  1. bin and sbin files are available by default (reference $PATH)
  2. Piping
  3. Directing inputs and outputs
  4. Most commands have both a long version and short version option (i.e. ls --all and ls -a). Is the one versus two hyphens universal?
  5. How devices are like directories in /dev
  6. Logging on as root using su

Reply With Quote
  #2  
Old July 11th, 2012, 12:01 PM
safesurfdns safesurfdns is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2012
Posts: 15 safesurfdns User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 56 m 55 sec
Reputation Power: 0
Quote:
Originally Posted by NotionCommotion
I am still very green when it comes to Linux/Unix. I read a book or a tutorial, and get overwhelmed by the amount of detail.

To ease this learning curve, can anyone suggest some must know facts/commands/concepts? Below are several I identified. I am not looking for everything, but as the title suggestions, just the top 20.

Thanks
  1. bin and sbin files are available by default (reference $PATH)
  2. Piping
  3. Directing inputs and outputs
  4. Most commands have both a long version and short version option (i.e. ls --all and ls -a). Is the one versus two hyphens universal?
  5. How devices are like directories in /dev
  6. Logging on as root using su


6. Learn how to use the man pages
7. Exercise with text manipulation tools like awk, sed, cut, uniq, sort, etc. (i guess this might fall under piping as well)
Comments on this post
NotionCommotion agrees: Yes for man pages!

Reply With Quote
  #3  
Old July 11th, 2012, 01:24 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 19th Plane (14000 - 14499 posts)
 
Join Date: Jun 2003
Posts: 14,257 Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level) 
Time spent in forums: 1 Month 4 Weeks 19 h 1 m 26 sec
Reputation Power: 4445
Remember linux filenames are case-sensitive.
Learn how to interpret your system log files.
Learn how to install/update software on your particular distro
Setup ssh so you can access your linux computer from anywhere. Then get a few windows ssh tools like putty and winscp.
Locate good support forums on the web for your distro.
__________________
======
Doug G
======
It is a truism of American politics that no man who can win an election deserves to. --Trevanian, from the novel Shibumi

Reply With Quote
  #4  
Old July 11th, 2012, 02:51 PM
EEmaestro EEmaestro is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2012
Posts: 59 EEmaestro User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 18 h 18 sec
Reputation Power: 2
Remember that linux filenames can have spaces in them. Be careful you don't create a file like this! You will make your life much more difficult if you get a filename with a space in it.

Top Twenty Linux Commands to REMEMBER

1 echo $PATH ===>Show list of locations, Left to Right, to be searched for executable
2 which ls ===>Use to find the location of a command to be executed
3 ls -ltr * ===>Know what each of the first ten characters means
4 cd ../ ===>Set current directory to next higher directory
5 cd ralph ===>Set current directory to ralph (must be a subdirectory of current directory)
6 pwd ===>Show current directory name
7 cp tony tony.bak ===>Copy file tony to a new file & call the new file tony.bak
8 date "+%a %b %e, %Y %l:%M %p" ===>Show current date and time
9 cd - ===>Go back to previous location of current directory
10. file jack ===>Show what kind of file jack is
11 chmod a+r jack ===>Make file jack readable by everybody
12. less jack ===>List contents of file jack, a screenful at a time
13. chmod a-w jack ===>Prevent anybody from writing or erasing file jack
14. nl tee.txt ===>Enumerate lines in file tee.txt
15. df ===>Show blocks (of free disk space) available on filesystem
16. head tee.txt ===>Show first ten lines of file tee.txt
17. tail tee.txt ===>Show last ten lines of file tee.txt
18. ls -ltr *.txt ===>Show all filenames ending in .txt, in date order, oldest at the top, newest at the bottom
19. wc -l sedfaq.txt===>Show total count of lines in file sedfaq.txt
20. wc -c sedfaq.txt===>Show total count of characters in file sedfaq.txt

Reply With Quote
  #5  
Old July 11th, 2012, 08:35 PM
NotionCommotion NotionCommotion is offline
Contributing User
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Sep 2006
Posts: 1,519 NotionCommotion User rank is Colonel (50000 - 60000 Reputation Level)NotionCommotion User rank is Colonel (50000 - 60000 Reputation Level)NotionCommotion User rank is Colonel (50000 - 60000 Reputation Level)NotionCommotion User rank is Colonel (50000 - 60000 Reputation Level)NotionCommotion User rank is Colonel (50000 - 60000 Reputation Level)NotionCommotion User rank is Colonel (50000 - 60000 Reputation Level)NotionCommotion User rank is Colonel (50000 - 60000 Reputation Level)NotionCommotion User rank is Colonel (50000 - 60000 Reputation Level)NotionCommotion User rank is Colonel (50000 - 60000 Reputation Level)NotionCommotion User rank is Colonel (50000 - 60000 Reputation Level)NotionCommotion User rank is Colonel (50000 - 60000 Reputation Level)NotionCommotion User rank is Colonel (50000 - 60000 Reputation Level) 
Time spent in forums: 2 Weeks 2 Days 2 h 44 m 5 sec
Reputation Power: 526
I was about to comment that I didn't have 20, but EEmaestro foiled those plans. I have been going through each, and will continue to do so.

One comment I have is whether there are any common items that span multiple commands? For instance, I understand that -i is sometimes about interactive and -v is sometimes about verbose. Is this a de facto standard which is applied for many commands? Are there more of these de facto standards?

Reply With Quote
  #6  
Old July 12th, 2012, 06:34 AM
SimonJM SimonJM is offline
Contributing User
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Mar 2006
Posts: 2,112 SimonJM User rank is General 8th Grade (Above 100000 Reputation Level)SimonJM User rank is General 8th Grade (Above 100000 Reputation Level)SimonJM User rank is General 8th Grade (Above 100000 Reputation Level)SimonJM User rank is General 8th Grade (Above 100000 Reputation Level)SimonJM User rank is General 8th Grade (Above 100000 Reputation Level)SimonJM User rank is General 8th Grade (Above 100000 Reputation Level)SimonJM User rank is General 8th Grade (Above 100000 Reputation Level)SimonJM User rank is General 8th Grade (Above 100000 Reputation Level)SimonJM User rank is General 8th Grade (Above 100000 Reputation Level)SimonJM User rank is General 8th Grade (Above 100000 Reputation Level)SimonJM User rank is General 8th Grade (Above 100000 Reputation Level)SimonJM User rank is General 8th Grade (Above 100000 Reputation Level)SimonJM User rank is General 8th Grade (Above 100000 Reputation Level)SimonJM User rank is General 8th Grade (Above 100000 Reputation Level)SimonJM User rank is General 8th Grade (Above 100000 Reputation Level)SimonJM User rank is General 8th Grade (Above 100000 Reputation Level) 
Time spent in forums: 1 Month 1 Week 1 Day 7 h 57 m 5 sec
Reputation Power: 1485
Sadly, pretty much the only standard is that there is no standard, and this becomes more so between Unix and Linux. The -v option often means verbose (with some programs/scripts allowing more 'v's to increase verbosity (such as -vvv)) whilst some other will return version details.

Not 20, and not comprehensive by any means, but:

Get to understand the difference between relative and absolute paths.
Be aware of, and understand, the use of the $PATH environment variable - especially with regard to things run under cron.
Understand how file expansion/globbing works.
Even in today's world of faster and better and more, try and be efficient: if you only need filenames listed use ls -1 instead of ls -l (one instead of ell). If you need more information, but not owner or group, look at the ls -log options.
Know about, and understand, the use of stdin, stdout and stderr (files 0, 1 and 2).
Know and understand about redirection and piping.
Do not assume everyone uses the same shell as you do.
The man pages are your friend.
Determining information (memory, CPUs, disks, etc.) will be both OS and manufacturer specific.
Get to learn an editor, of your choice, really well, but be aware of and basic usage of vi which is a common denominator.
__________________
The moon on the one hand, the dawn on the other:
The moon is my sister, the dawn is my brother.
The moon on my left and the dawn on my right.
My brother, good morning: my sister, good night.
-- Hilaire Belloc

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsLinux Help > 20 things a newbie should commit to memory

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This 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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap