Linux commands “a”

These are the most common bash commands in linux. Some of them, depending of the distribution can´t be available or have been replaced for another ones.
adduser Add a user to the system

* Command is Centos: # useradd <username>
This command create a user locked. To unlock the user add passwd <password>
* Command in Debian: # adduser <username>

addgroup Add a group to the system
alias    Create an alias. It´s useful when you use commands with options

* Example: # alias ls=’ls -l’ From now, when you type ‘ls’  is like ‘ls -l’

apropos Search Help manual pages. Same as # man -k
apt-get Search for and install software packages (Debian)
Interesting command. This command allow you
update – Download new list of apps
upgrade – Upgrade the app
install – Install new packages
remove – Remove packages
purge  – Delete and purge packages
source – Download font sources
build-dep – Configure build dependencies of font packages
dist-upgrade – Upgrade the distribution
clean – Delete downloaded files
autoclean – Delete old downloaded files
check – Check in fulfill dependencies
awk Find and Replace text, database sort/validate/index


Posted on 31 December 2009, in command and tagged . Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: