Format: PDF / Kindle (mobi) / ePub
Note: This ISBN does not include online Access Card
More than 50 percent new and revised content for today's Linux environment gets you up and running in no time!
Linux continues to be an excellent, low-cost alternative to expensive operating systems. Whether you're new to Linux or need a reliable update and reference, this is an excellent resource. Veteran bestselling author Christopher Negus provides a complete tutorial packed with major updates, revisions, and hands-on exercises so that you can confidently start using Linux today. * Offers a complete restructure, complete with exercises, to make the book a better learning tool * Places a strong focus on the Linux command line tools and can be used with all distributions and versions of Linux * Features in-depth coverage of the tools that a power user and a Linux administrator need to get started
This practical learning tool is ideal for anyone eager to set up a new Linux desktop system at home or curious to learn how to manage Linux server systems at work.
network security features, such as iptables fi rewalls, to secure system services. Part VI contains two appendixes to help you get the most from your exploration of Linux. Appendix A, “Media,” provides guidance on downloading a Linux distributions. Appendix B, “Exercise Answers,” provides sample solutions to the exercises included in chapters 2 through 25. Conventions Used in This Book Throughout the book, special typography indicates code and commands. Commands and code are shown in a
the software. ■ Source code — The source code must be included with the software and there can be no restrictions on redistribution. ■ Derived works — The license must allow modification and redistribution of the code under the same terms. ■ Integrity of the author’s source code — The license may require that those who use the source code remove the original project’s name or version if they change the source code. ■ No discrimination against persons or groups — The license must allow all
7:20 AM V1 Part II: Becoming a Linux Power User Try these few words with the type command to see other locations of commands: which, case, and return. If a command resides in several locations, you can add the -a option to have all the known locations of the command printed. For example, the command type -a ls should show an aliased and file system location for the ls command. Sometimes you run a command and receive an error message that the command was not found or that permission to run the
command line, resulting in text that appears like the following (your date, of course will be different): Today is Thursday, December 08, 2011. 8. Using variables, fi nd out what your hostname, username, shell, and home directories are currently set to. 9. Create an alias called mypass that displays the contents of the /etc/passwd fi le on your screen in such a way that it is available every time you log in or open a new shell from your user account. 3 10. Display the man page for the mount
number. Also as with kill, you can send any signal you like to the process you name with killall. For example, if you see a process called testme running on your system and you want to kill it, you can simply type the following: $ killall -9 testme The killall command can be particularly useful if you want to kill a bunch of commands of the same name. Setting processor priority with nice and renice When the Linux kernel tries to decide which running processes get access to the CPUs on your