Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: RHEL, Fedora,Ubuntu, Centos, Windows XP & Windows 7
Posts: 44
Rep:
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?
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!
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.
Distribution: RHEL, Fedora,Ubuntu, Centos, Windows XP & Windows 7
Posts: 44
Original Poster
Rep:
Quote:
Originally Posted by corp769
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....
Distribution: RHEL, Fedora,Ubuntu, Centos, Windows XP & Windows 7
Posts: 44
Original Poster
Rep:
Quote:
Originally Posted by metalaarif
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....
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.
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,420
Rep:
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.
Distribution: RHEL, Fedora,Ubuntu, Centos, Windows XP & Windows 7
Posts: 44
Original Poster
Rep:
Quote:
Originally Posted by Satyaveer Arya
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....
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,420
Rep:
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.