Monday, June 16, 2008

44 Commands for Linux

44 commands for you that this starting



1
ls - l
List archives and directories
2
ls - R
It lists the archives of the directory and subdiretórios, also occult
3
find /directory - name *search*
Search in the directory for archives or subdiretórios
4
du
Size of the directory
5
du - S
Size of the subdiretórios
6
whitewash MM YYYY
It shows the date in the specified format
7
whitewash 01 2000
It shows the calendar of the month of January in year 2000
8
cat arquivo.txt
It shows archives text in the console
9
arquivo.txt lives
It shows with paging of the content
10
cp - R
It all copies the content of the directory, also subdiretórios
11
rm - Rf
It removes all the archives and subdiretórios of the specified directory, without confirmation
12
tail - f /var/log/messages
to ~xibir log of the system
13
Ctrl + z in consoler
It suspends a in progress process allowing to type another command during the execution of a program
14
ps -
It visualizes the processes in execution
15
command &
It initiates the process in second plain
16
kill -9 pid
It kills a process, pid of the program can be seen with ps -
17
Ctrl + ALT + Backspace
It closes the X11
18
modinfo module
Information on module
19
last
Information on logins
20
unzip arquivo.zip
It unpacks zipados archives
21
zip nome.zip arquivo1 arquivo2…
Zipa the archives as nome.zip
22
ls - there
It lists all the archives, also occult
23
chmod 777 archive
Of the total permission in the archive, the first number if relates to the proprietor, according to the group and third to the excessively using ones, where 1 = to execute (x) 2 = to write (w) 4 = to read (r). The addition of the desired options must be placed
24
to tar - zcf arquivo.tar.gz
Directory or archive to be compact
25
to tar - jxvf nomedoprograma.tar .bz2
.bz2 unpacks .tar
26
to tar - xzvf arquivo.tar.gz
It unpacks .tar.gz
27
to tar - Zxvf archive. Z
Descomapcta. Z
28
to tar - xz arquivo.tar
It unpacks .tar
29
to mkdir name
It creates a directory with the specified name
30
compact disc directory
It goes for the specified directory
31
pppsetup
To configure connection for Internet
32
chfn using
Dumb information of the user (name, telephone…)
33
userdel using
It removes the user of the system
34
userdel - f using
It removes until the folder of the user
35
xwmconfig
It selects window to manager standard
36
df /dev/dispositivo
Sample information on the device, as so great, free space…
37
to adduser using
It adds user to the system
38
chown novodono archive
Dumb the owner of the archive for the new owner
39
traceroute endereço_ip
He traces the covered route to arrive in the address
40
fsck - t ext2 /dev/dispositivo
He is equivalent to scandisk of win. The type (- t) specified checks dispositivocom
41
ln archive nomedolink
Direct Link for archive
42
ln - s archive nomedolink
Symbolic Link
43
mount - the Loop imagem.iso /mnt/
.iso in /mnt mounts an image
44
netconfig
Configurations of net

No comments: