Linux Commands
What Are The Most Important Linux Commands?
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.
Previous Lesson: Changing File Permissions
Next Lesson: Changing Your Password
Comments - most recent first
(Please feel free to answer questions posted by others!)
I want to install Nagios on my VM machine any body who can guide me step by step. Please Please
Its really very helpful for new comers like me. I don't think there is any other site for LINUx in such a simple and useful way.
Some Pdf or Books dowloading
what can i do for achiving my goal
i need the linux administration command
can't thank you enough!
thank you, thank you, thank you *n
Is there any command which is equivalent to clustat -x? Kindly let me know.
search command is linux.like as windows search.
ausearch -sv no -ui >499 (or -ui 5*)
looking at the audit data and I want to look for success=no and the uid>499.
The >499 is not accepted as numerical. I have tried to enclose it with different brackets without any luck. I know I can grep the desired results, however the format does not stay as needed.
?
Linux Tutorial with commands
Linux Basics with commands
Linux Files
I need linux tutorials with basic commands so that I can have good command over linux as I am making it as My career.
~$ man -k password
chage (1) - change user password expiry information
chgpasswd (8) - update group passwords in batch mode
chpasswd (8) - update passwords in batch mode
cpgr (8) - copy with locking the given file to the password or gr...
cppw (8) - copy with locking the given file to the password or gr...
crypt (3) - password and data encryption
crypt_r (3) - password and data encryption
endpwent (3) - get password file entry
endspent (3) - get shadow password file entry
expiry (1) - check and enforce password expiration policy
fgetpwent (3) - get password file entry
fgetspent (3) - get shadow password file entry
fgetspent_r (3) - get shadow password file entry
getpass (3) - get a password
getpw (3) - Re-construct password line entry
getpwent (3) - get password file entry
getpwnam (3) - get password file entry
getpwnam_r (3) - get password file entry
getpwuid (3) - get password file entry
getpwuid_r (3) - get password file entry
getspent (3) - get shadow password file entry
getspent_r (3) - get shadow password file entry
getspnam (3) - get shadow password file entry
getspnam_r (3) - get shadow password file entry
gnome-keyring-daemon (1) - keep password and other secrets for users
Gnome2::PasswordDialog (3pm) - wrapper for GnomePasswordDialog
grpconv (8) - convert to and from shadow passwords and groups
grpunconv (8) - convert to and from shadow passwords and groups
lckpwdf (3) - get shadow password file entry
login.defs (5) - shadow password suite configuration
lppasswd (1) - add, change, or delete digest passwords.
pam_pwhistory (8) - PAM module to remember last passwords
pam_unix (8) - Module for traditional password authentication
passwd (1) - change user password
passwd (1ssl) - compute password hashes
passwd (5) - the password file
passwd2des (3) - RFS password encryption
putpwent (3) - write a password file entry
putspent (3) - get shadow password file entry
pwck (8) - verify integrity of password files
pwconv (8) - convert to and from shadow passwords and groups
pwunconv (8) - convert to and from shadow passwords and groups
setpwent (3) - get password file entry
setspent (3) - get shadow password file entry
sgetspent (3) - get shadow password file entry
sgetspent_r (3) - get shadow password file entry
shadow (5) - shadowed password file
shadowconfig (8) - toggle shadow passwords on and off
smbpasswd (5) - The Samba encrypted password file
smbpasswd (8) - change a user's SMB password
su-to-root (1) - A simple script to give an `interactive' front-end to ...
ulckpwdf (3) - get shadow password file entry
unix_chkpwd (8) - Helper binary that verifies the password of the curren...
unix_update (8) - Helper binary that updates the password of a given user
vigr (8) - edit the password, group, shadow-password or shadow-gr...
vipw (8) - edit the password, group, shadow-password or shadow-gr...
xcrypt (3) - RFS password encryption
xdecrypt (3) - RFS password encryption
xencrypt (3) - RFS password encryption
so i can see on this page on left hand side, some topics that
Linux Tutorial
Linux Basics
Linux Files
so what do u suggest , should i start reading that topics to get good command overlinux
thanks in advance
Such as:
echo -e "$NAME\t$ADDRESS\t$PHONE" >> database
I'm new to Linux and I need help with this.
@kalai - Your question is too general. There are dozens of commands to read files from disk, depending on what you want to do with the data. See the Linux Commands section in the navbar here.
I welcome your comments. However... I am puzzled by many people who say "Please send me the Linux tutorial." This website *is* your Linux Tutorial! Read everything here, learn all you can, ask questions if you like. But
don't ask me to send what you already have. :-) NO SPAM! If you post garbage, it will be deleted, and you will be banned.
Copyright © by -
All rights reserved - Redistribution is allowed only with permission.

