LinuxQuestions.org
Register a domain and help support LQ
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


Reply
  Search this Thread
Old 03-01-2012, 05:48 AM   #1
Rohant
Member
 
Registered: Oct 2011
Location: India, Mumbai
Distribution: RHEL, Fedora,Ubuntu, Centos, Windows XP & Windows 7
Posts: 44

Rep: Reputation: Disabled
How To Practice Linux Commands


Hello Friends,

I am learning Linux currently.
i do practice of linux commands but after some time i forgot the commands. most of the time i get confused about commands. eg sed, find grep etc.
Specially when it comes to switch & special character.
Does all the switches & special character are use by system administrator on daily basis?

can anyone help me how to remember all the commands & switches as well as tell me what i have to do to be a good System Administrator?

Thanks,
Rohan
 
Old 03-01-2012, 05:53 AM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
Honestly, it just takes practice sometimes if you can not get fluent very quickly. Practice takes time, and will increase you in being fluent as well. That being said, what do you mean by switches and special characters? If I read correctly, I highly recommend looking at a few beginners guides out on the internet and on these forums, as they will help you with the basics you need to know. If you have any further questions, ask away!

Cheers, and welcome to the linux world!

Josh
 
1 members found this post helpful.
Old 03-01-2012, 06:28 AM   #3
metalaarif
Member
 
Registered: Oct 2011
Location: Nepal
Distribution: RHEL, CentOS, Slackware
Posts: 129
Blog Entries: 1

Rep: Reputation: 3
Hello there Ron,

Its completely fine and the best thing is that your learning Linux and there is nothing to worry about forgetting commands now and then.
To be honest Linux/UNIX commands are hard to remember therefore, you need to practise at-least 5-6 hours a day that's
what my teacher used to tell me. Eventually you'll get the grip of these commands and rush yourself, take your time and I'm sure you'll do it. Most of us felt the way you did. It took me months and months to understand those commands. And as mentioned above go for beginners guide.

Best of Luck RON
\/ \/ \/
 
1 members found this post helpful.
Old 03-01-2012, 06:47 AM   #4
TKH
Member
 
Registered: Jul 2011
Location: Milky Way
Distribution: Ubuntu, LFS, Slackware, Fedora
Posts: 218

Rep: Reputation: 20
Also, remember that the sooner you learn, the better
 
1 members found this post helpful.
Old 03-01-2012, 07:59 AM   #5
Rohant
Member
 
Registered: Oct 2011
Location: India, Mumbai
Distribution: RHEL, Fedora,Ubuntu, Centos, Windows XP & Windows 7
Posts: 44

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by corp769 View Post
Honestly, it just takes practice sometimes if you can not get fluent very quickly. Practice takes time, and will increase you in being fluent as well. That being said, what do you mean by switches and special characters? If I read correctly, I highly recommend looking at a few beginners guides out on the internet and on these forums, as they will help you with the basics you need to know. If you have any further questions, ask away!

Cheers, and welcome to the linux world!

Josh
Hi Josh,

Thanks for the reply.
if am i right switches means -e in below command & i get most confuse & forgot "s/^[ \t]*//' in below command where we use special sign.
# sed -e 's/^[ \t]*//' filename

can u suggest any easy way to remember all this things.
because i am having fear on the job if someone told me to use command like above & if i dont know or i forgot at that time i will be in trouble....

thanks...
 
Old 03-01-2012, 08:03 AM   #6
Rohant
Member
 
Registered: Oct 2011
Location: India, Mumbai
Distribution: RHEL, Fedora,Ubuntu, Centos, Windows XP & Windows 7
Posts: 44

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by metalaarif View Post
Hello there Ron,

Its completely fine and the best thing is that your learning Linux and there is nothing to worry about forgetting commands now and then.
To be honest Linux/UNIX commands are hard to remember therefore, you need to practise at-least 5-6 hours a day that's
what my teacher used to tell me. Eventually you'll get the grip of these commands and rush yourself, take your time and I'm sure you'll do it. Most of us felt the way you did. It took me months and months to understand those commands. And as mentioned above go for beginners guide.

Best of Luck RON
\/ \/ \/
Hi metalaarif & TKH,

Thanks for the advice & ur wishes.

i will try to do more & more commands practice....

Thanks once again...
 
Old 03-01-2012, 08:16 AM   #7
rokytnji
Senior Member
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: AntiX 15 , Slackel 14.1, ChromeOS
Posts: 4,703
Blog Entries: 19

Rep: Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960
Not a easy way. But when I have time I follow/bookmark Basic Shell (Console) operation for beginners by PupGeek

http://208.109.22.214/puppy/viewtopi...87845de7015695

In that thread there are some pdfs

http://tldp.org/LDP/GNU-Linux-Tools-...ls-Summary.pdf


http://tldp.org/LDP/Bash-Beginners-G...ners-Guide.pdf

There are many guides and other resources available if you go here:


http://tldp.org/guides.html

I am just a Linux user. If this does not help. Sorry.
 
1 members found this post helpful.
Old 03-01-2012, 08:17 AM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
Having a good memory doesn't make you a good sysadmin. There is nothing wrong ever with looking stuff up. The biggest hangup I find is when people don't even think to do that.
 
1 members found this post helpful.
Old 03-01-2012, 08:33 AM   #9
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,415

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
Practice makes perfect. I might suggest that you avoid Windows and try using only Linux for a while. I know that this is difficult(but not impossible) if your work environment has standardized on Windows and you can't do anything without Outlook or IE. Daily you can try tutorials available online, which will help you in remembering the commands and all. You can share your knowledge with your friends which can also help you in memorizing the commands.
 
2 members found this post helpful.
Old 03-01-2012, 08:46 AM   #10
Rohant
Member
 
Registered: Oct 2011
Location: India, Mumbai
Distribution: RHEL, Fedora,Ubuntu, Centos, Windows XP & Windows 7
Posts: 44

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rokytnji View Post
Not a easy way. But when I have time I follow/bookmark Basic Shell (Console) operation for beginners by PupGeek

http://208.109.22.214/puppy/viewtopi...87845de7015695

In that thread there are some pdfs

http://tldp.org/LDP/GNU-Linux-Tools-...ls-Summary.pdf


http://tldp.org/LDP/Bash-Beginners-G...ners-Guide.pdf

There are many guides and other resources available if you go here:


http://tldp.org/guides.html

I am just a Linux user. If this does not help. Sorry.
Thanks rokytnji,

Nice collection of ebook. coz of you i got shell scripting ebook in this.
very easy and tutorial ebook.
thanks once again...
 
Old 03-01-2012, 08:52 AM   #11
deep27ak
Senior Member
 
Registered: Aug 2011
Location: Bangalore, India
Distribution: rhel 5x,6.0,6.2, centOS 5x,6.0,6.2
Posts: 1,194
Blog Entries: 4

Rep: Reputation: 221Reputation: 221Reputation: 221
If looking for basic commands used by sys admin here is one link..might be useful

http://cb.vu/unixtoolbox.xhtml
 
2 members found this post helpful.
Old 03-01-2012, 08:55 AM   #12
Rohant
Member
 
Registered: Oct 2011
Location: India, Mumbai
Distribution: RHEL, Fedora,Ubuntu, Centos, Windows XP & Windows 7
Posts: 44

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Satyaveer Arya View Post
Practice makes perfect. I might suggest that you avoid Windows and try using only Linux for a while. I know that this is difficult(but not impossible) if your work environment has standardized on Windows and you can't do anything without Outlook or IE. Daily you can try tutorials available online, which will help you in remembering the commands and all. You can share your knowledge with your friends which can also help you in memorizing the commands.
Thanks Satyaveer Arya,

I am studying Linux as carrier to be a Linux sysadmin & later security expert (CEH). i am using main os windows 7 & linux as vertual machine. because if i do sumthing wrong i can go back with snapshot in vmware. if i do it on base os if i use linux i have to reformat my os again & again. thats why i use linux in vm.
now a days i am doing my studies of RHEL 5.7 os. but i get confused and most of the time i forgot commands. thats why i am having fear on the job if someone told me to use command like above & if i dont know or i forgot at that time i will be in trouble....

i am trying to do more practice of commands.

Thanks once again for help and advice...
 
Old 03-01-2012, 08:58 AM   #13
Rohant
Member
 
Registered: Oct 2011
Location: India, Mumbai
Distribution: RHEL, Fedora,Ubuntu, Centos, Windows XP & Windows 7
Posts: 44

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by deep27ak View Post
If looking for basic commands used by sys admin here is one link..might be useful

http://cb.vu/unixtoolbox.xhtml
Thanks Deep,

Gr8 link...
so many shortcuts....

Thanks once again
 
Old 03-01-2012, 10:25 AM   #14
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,415

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
Rohant,

You can also download and install cygwin on Windows and use it's shell instead of the command prompt when you are on Windows. And always refer and study the man pages of every commands, man pages are most most helpful in using any commands.
 
1 members found this post helpful.
Old 03-01-2012, 11:02 AM   #15
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,258

Rep: Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947
Being a good sys admin doesn't mean memorizing every possible command and every possible switch for each command. Being a good sys admin means knowing enough about what commands are available and what they can do to be able to look things up online or in the man pages and figure it out relatively quickly.

Do you know what sed does? Do you know what find does? How about grep? As long as you know what these programs do, then use the man pages (eg: "man find") to see what switches you need to set to achieve a certain behavior for a certain application. Do it enough times, and you'll start to remember the most common ones off the top of your head. You'll still need to look in the man pages for more rarely used switches though, and there's nothing wrong with that.
 
1 members found this post helpful.
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Online Linux Console for Practice of UNIX and Linux Commands Hi_This_is_Dev Linux - Virtualization and Cloud 4 08-30-2010 10:12 AM
practice linux hansi umayangan Linux - Newbie 3 03-01-2005 01:29 AM
online practice of linux commands p_test Linux - Newbie 15 09-21-2004 12:16 PM


All times are GMT -5. The time now is 05:00 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration