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
Original Poster
Rep:
Quote:
Originally Posted by Satyaveer Arya
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.
Thanks once again Satyaveer Arya,
from now on i will refer man page of every command and try to remember it by practicing it.
you are working as a sysadmin so plz can you advice me how can i be a good Linux user?
i dont just want to keep my Linux limited knowledge for my job profile.
i want to know everything about linux in & out abt Linux os. want to be a master in LINUX.
Distribution: RHEL, Fedora,Ubuntu, Centos, Windows XP & Windows 7
Posts: 44
Original Poster
Rep:
Quote:
Originally Posted by suicidaleggroll
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.
Thanks once again suicidaleggroll,
from now on i will refer man page of every command and try to remember it by practicing it.
plz can you advice me how can i be a good Linux user?
i dont just want to keep my Linux limited knowledge for my job profile.
i want to know everything about linux in & out abt Linux os. want to be a master in LINUX.
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,420
Rep:
Quote:
you are working as a sysadmin so plz can you advice me how can i be a good Linux user?
Till now from all the above posts you came to know how to learn and grab much knowledge about linux and remembering command of linux and all. But as you asked me how to become a good linux user or you can say a good linux administrator as you want to be. So here are some of the tips you can follow according to your need which are essential being a linux administrator:
1. All the time keep a system up to date. Apply all patches especially security update. Use up2date or yum or apt-get update commands to apply security updates.
2. Default firewall policy should be - close all door open required windows. Run iptables or ipf to block unwanted traffic, IPs, unused ports.
3. Never ever login as root, always use sudo. Disable root access for ssh and ftp session(default).
4. Do not run any perl or other executable code on production system as root. Always test downloaded stuff locally and use md5 checksum for verification purpose.
5 Take advantage of SELinux(Security-enhanced Linux) which enables mandatory access control mechanism. It is also recommended that you install anti-virus/anti-spam program on all mail server such as clamav(or you can purchase 3rd party AV/Anti Spam solution).
6. Finally run all important services in chrooted jail environment.
7. Remove or disable unnecessary services you don't use.
8. Conduct some(penetration) tests to ensure you didn't misconfig your setup.
9. Remove all compilers and network scanning tools such as nmap from servers. Why make the attacker's job easier?
Remember you can make attackers life hard but you cannot make anything 100% secure. Continues monitoring and tight security policy will keep running the service for long time without any sort of intrusion
One thing I've been doing to try keep my skills up is create an automated Linux setup using various commands, installs, configurations etc. Not only will it speed up any system setups you may have in the future it will also act as a command index over time.
Simple things like setting up a web server via a script and running some utils to test would be a good start.
Distribution: RHEL, Fedora,Ubuntu, Centos, Windows XP & Windows 7
Posts: 44
Original Poster
Rep:
Quote:
Originally Posted by Satyaveer Arya
Till now from all the above posts you came to know how to learn and grab much knowledge about linux and remembering command of linux and all. But as you asked me how to become a good linux user or you can say a good linux administrator as you want to be. So here are some of the tips you can follow according to your need which are essential being a linux administrator:
1. All the time keep a system up to date. Apply all patches especially security update. Use up2date or yum or apt-get update commands to apply security updates.
2. Default firewall policy should be - close all door open required windows. Run iptables or ipf to block unwanted traffic, IPs, unused ports.
3. Never ever login as root, always use sudo. Disable root access for ssh and ftp session(default).
4. Do not run any perl or other executable code on production system as root. Always test downloaded stuff locally and use md5 checksum for verification purpose.
5 Take advantage of SELinux(Security-enhanced Linux) which enables mandatory access control mechanism. It is also recommended that you install anti-virus/anti-spam program on all mail server such as clamav(or you can purchase 3rd party AV/Anti Spam solution).
6. Finally run all important services in chrooted jail environment.
7. Remove or disable unnecessary services you don't use.
8. Conduct some(penetration) tests to ensure you didn't misconfig your setup.
9. Remove all compilers and network scanning tools such as nmap from servers. Why make the attacker's job easier?
Remember you can make attackers life hard but you cannot make anything 100% secure. Continues monitoring and tight security policy will keep running the service for long time without any sort of intrusion
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.