LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How To Practice Linux Commands (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-practice-linux-commands-932116/)

Rohant 03-01-2012 04:48 AM

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

corp769 03-01-2012 04:53 AM

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

metalaarif 03-01-2012 05:28 AM

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
\¬¬/ \¬¬/ \¬¬/

TKH 03-01-2012 05:47 AM

Also, remember that the sooner you learn, the better

Rohant 03-01-2012 06:59 AM

Quote:

Originally Posted by corp769 (Post 4615816)
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...

Rohant 03-01-2012 07:03 AM

Quote:

Originally Posted by metalaarif (Post 4615839)
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...

rokytnji 03-01-2012 07:16 AM

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.

acid_kewpie 03-01-2012 07:17 AM

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.

Satyaveer Arya 03-01-2012 07:33 AM

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. :)

Rohant 03-01-2012 07:46 AM

Quote:

Originally Posted by rokytnji (Post 4615896)
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...

deep27ak 03-01-2012 07:52 AM

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

http://cb.vu/unixtoolbox.xhtml

Rohant 03-01-2012 07:55 AM

Quote:

Originally Posted by Satyaveer Arya (Post 4615904)
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...

Rohant 03-01-2012 07:58 AM

Quote:

Originally Posted by deep27ak (Post 4615922)
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

Satyaveer Arya 03-01-2012 09:25 AM

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.

suicidaleggroll 03-01-2012 10:02 AM

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.


All times are GMT -5. The time now is 06:44 PM.