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.
I have been using linux for a while But I see some commands from tutorials on how to do some things and I do not know what exactly a command is used for when in fact it can be done with other ways. I usally use root or super user to do things. I know what wget does but what about cat, sudo, proc, and apt-get. What are they for. Also why would I want to setup a proxy? Isn't that really just for trying to hide your real ip? It seems there are other uses.
Almost all of those Linux commands have a man page you can look at for more help like this:
Code:
man cat
man sudo
man proc
man apt-get
They all have different purposes and usually a summary of the program's function is in the man page. For example, here's the brief outline for cat from its man page:
Quote:
cat - concatenate files and print on the standard output
As for proxies, yes that is one common function of a proxy but it can do a lot more. You probably don't need it.
I suggest you to use normal user account instead of root or superuser and start to play with them. Use root only when you really need it!
there are a lot of other commands to work with, like grep ...
I suggest you to use normal user account instead of root or superuser and start to play with them. Use root only when you really need it!
there are a lot of other commands to work with, like grep ...
yes that is another one I run across a lot so I just looked at this man. This is a first for man for me too. So it breaks down it all and explains what it is for. I have seen like apt-get used with grep at the same command. Does the | symbol just mean its like enter a command on another prompt but in fact you can do it on the same line?
| is pronounced as pipe, and you can "connect" commands:
commanda | commandb means the output of commanda is piped into commandb.
An example: ls -l /etc will list the content of the folder /etc grep "passwd" will search for the text passwd
and now see the result of: ls -l /etc | grep passwd
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,420
Rep:
Whatever command you use, my suggestion is to go through the man pages of those commands. And also google is there to search with lots of links with lots of help.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.