Linux Comandements PDF
Linux Comandements PDF
http://www.bartbania.com/index.php/10-commandments-...
1. Thou shalt not log in as root. Use sudo or su - for administrative tasks. 2. Thou shalt use the package manager when possible. Sometimes installing from source code cant be avoided, but when you use your distros package manager to install software, you can also use it to update and remove it. This is one of the main strengths of Linux. 3. Thou shalt be a part of the community. Freely give what you have received for free. Offer help and advice whenever you can. 4. Thou shalt read documentation and man pages. Always read the documentation. The people who wrote the software tried to anticipate your questions, and provided answers before you asked. 5. Thou shalt use the available support system. Switching to Linux can be tough. It can be frustrating, but there are a lot of people out there who want to help you. Let them.
1 sur 7
07/10/2013 22:02
http://www.bartbania.com/index.php/10-commandments-...
6. Thou shalt search. In most cases, your question or problem has already been addressed. Try to find the answers that are already out there before asking someone to provide a new one. 7. Thou shalt explore. Linux opens a whole new world of options and possibilities. Try everything you can. 8. Thou shalt use the command line. Especially when it comes to configuration, use the GUI tools to get your system working, but get to know the command line versions as well. In many cases, the command line is the only way to use some of the more advanced features. 9. Thou shalt not try to recreate Windows. Linux is not meant to be a clone of Windows. Its different. Embrace and appreciate the differences. 10. Thou shalt not give up. I tried several distributions before I found one I liked. I still try other distros from time to time. I also tried several different programs to serve one purpose before settling on what I use now (amarok, xmms, beep, exaile for music azureus, ktorrent, deluge for bittorrents). If you dont like the defaults, remember that you can change almost everything to suit you. Now that we have that out of the way lets talk about the Commandments themselves:
http://www.bartbania.com/index.php/10-commandments-...
Lets take an example: say you are trying to delete all files in your home directory with the following command: rm -rf ~/*. Because you were tired or didnt pay attention to the screen output, you entered the following instead: rm -rf ~ /* (Notice the space between the ~ and the /). Now, if you are logged in as a normal user you will get a bunch of permission denied messages and you are fine. BUT. If you are logged in as root, you will delete every single file in the / directory (which is the top directory on the disk and hence contains all the files on your system). With one Enter hit you have vanished your system away. You will have to restore it from backups (if you do backups, dont you?) or re-install, which will take precious time. Think that wouldnt ever happen? It does. More times than you could imagine. You think this just happens on Linux? Sorry, wrong again! I have personal experience with such a thing on Windows (it was Windows 3.1 in the old times) and at that time I was just learning how to use computers. Id installed a bunch of fonts (how cool they were!) thinking I was installing a fonts management program. When I realized that the few 100 MB worth of stuff I installed on my system didnt give me any new programs, I was upset. So, Ive decided to delete the fonts from my system. Unfortunately, the command I entered was: deltree c:\Windows. This command, as you might imagine, deleted my entire Windows folder and Ive spent a week reinstalling. This wouldnt have happened if I was using Linux or if DOS/Windows had any concept of multiuser access controls. They have gotten a lot better at it and XP/Vista/7/8 is a whole lot more secure than the older versions.
3 sur 7
07/10/2013 22:02
http://www.bartbania.com/index.php/10-commandments-...
Compiling programs and installing them is usually only required for users with specific needs or for software that doesnt exist in the package manager repository.
4 sur 7
07/10/2013 22:02
http://www.bartbania.com/index.php/10-commandments-...
http://www.bartbania.com/index.php/10-commandments-...
Bart Bania
44
Reply
Leave a Reply
Name (required) Mail (will not be published) (required) Website
6 sur 7
07/10/2013 22:02
http://www.bartbania.com/index.php/10-commandments-...
Submit Comment
Answer the question before bosting your comment: * + one = 5 Notify me of follow-up comments by email. Notify me of new posts by email.
7 sur 7
07/10/2013 22:02