This is my last article about basic command in linux (maybe) ^^ hkhkhk
shutdown
This command to shut down the system, such as the halt command. On some systems you can stop the computer with the command shutdown-h now and restart the system with the command shutdown-r now or with the key combination Ctr-Alt-Del.
su
To log in as another user while. When the user ID is not included then the computer assumes you want to login as a super user or root. If you are not root and other user that has no password then you must enter the password correctly. But if you are root then you can log in as another user without knowing the user's password.
tail
Display the last 10 lines of a file. The default is 10 rows displayed but you can decide for yourself how many rows you want to display:
$ Tail <numbers of row> <file file....>
talk
To hold a conversation through the terminal. Input from the terminal you will be copied on other user terminals, and vice versa.
tar
Store and extract files from media such as tape drives or hard disk. The archive files are often referred to as a tar file. Syntax is as follows:
$ Tar <action> <option> <file or directory>
umount
Is the reverse of the mount command, which is to unmount the filesystem of the mount-point. After this command is executed directory into mount-point is no longer valid.
# Umount <filesystem>
unalias
The opposite of the alias command, this command will cancel an alias. So to cancel the alias dir, use the command:
$ Unalias dir
unzip
Used to extract or decipher files compressed with zip. Simpler syntax and will extract the files you specify:
$ Unzip <FileName>
See also commands gzip and unzip.
wall
Sending the message and display it on each user terminal is being logged. This command is useful for the superuser or root to give a warning to all users, for example, notice that the server will be shut down shortly.
# Who Dear, everyone ..... immediately save your work, I turn off the server will be 10 minutes longer
who
To show you who is currently logged on. This command will display information about login name, terminal type, login time and remote hostname for each user who is currently logged on. for example:
$ who
ttyp0 root May 22 11:44
flory ttyp2 May 22 11:59
pooh ttyp3 May 22 12:08
xhost +
This command is used to grant access or remove access (xhost -) host or user to a server X.
xset
This command is to set some options in the X Window like the sound of the bell, mouse speed, font, screen saver parameters and so on. For example, the sound of the bell and the speed of the mouse you can set using this command:
$ Xset b <volume> <frequency> <duration in milliseconds>
$ Xset m <acceleration> <threshold>
zip
This command will create and add files into a zip archive file. See also commands gzip and unzip.
0 comments:
Post a Comment