Working from a Linux command line is not always intuitive, especially since there are hundreds of different commands with a myriad of switches and flags to make things even more confusing. You certainly don't need to know all of them to make good use of your Linux system, but there is a certain set of indispensable tools with which you should be familiar.
We've covered a handful of commands in previous sections that let you work with the shell and your file system. The commands covered in this section will complement what you've learned and give you some essential tools to manage your Linux environment. (You'll also be able to use these commands on other Unix-based systems.) You'll pick up other important commands in the "Text Editors" and "Slicing and Dicing" sections but you should first master this starter set to build the skills that will help you perform common Linux tasks more easily.
If You Need Help, Ask the man
Assuming you can remember the right command for a particular job, it's tougher still to remember all the switches associated with that command. The man command (short for manual) will help you on both counts by displaying pages from online manuals and telling you which commands may be relevant to the task at hand.
Say you want to change your password, but you don't know the command to do it. You can use the man command plus the keyword flag, -k, to search by keyword password for relevant commands:
man -k password
passwd passwd (1) - change login password
pwck pwck (1m) - password/group file checkers
vipw vipw (1b) - edit the password file
You can probably deduce that passwd is the correct command. But before blindly issuing any Linux command, you should know the proper syntax and understand what the command might do to you first. Using man with a command name will display all you need to know (probably more) about a command. For example, entering
man passwd
will display
passwd(1) User Commands passwd(1)
NAME
passwd - change login password and attributes
SYNOPSIS
passwd [ name ]
passwd [ -d | -l ] [ -f ] [ -n min ] [ -w warn ]
[ -x max ] name
passwd -s [ -a ]
passwd -s [ name ]
DESCRIPTION
The passwd command changes the password or lists
attributes associated with the user's login name.
--More--(5%)
(The man command pauses after each screenful and waits for you to press the spacebar before continuing.) The word More at the bottom of each page indicates how much of the help has so far been displayed. The terms in square brackets are optional parameters (-d, -l, -f, for example); vertical bars indicate that the terms on either side are mutually exclusive--you can use only one at a time.
For more information on the man command, see the man manual.
Pusat bantuan pencarian singkat masukan kata kunci yang ingin anda pada kolom dibawah lalu klik search
Domain Gratis silakan cari nama domain yang akan anda gunakan misal Namablog.co.cc tersebut kemudian daftarkan disini.
Masukan Namablog.co.cc Pada kotak diatas lalu Check availability.
Domain Gratis silakan cari nama domain yang akan anda gunakan misal Namablog.co.cc tersebut kemudian daftarkan disini.
Masukan Namablog.co.cc Pada kotak diatas lalu Check availability.
LINUX COMMANDS
Sabtu, Januari 03, 2009
Label:
tutorial english vesions
Langganan:
Posting Komentar (Atom)
0 comments
Posting Komentar