One. Chown command
The "chown" command changes the owner of the file and the user group. Each file belongs to one user group and one user. In your directory, use "Ls-l" and you will see something like this.
[Email protected]:~# ls-l
Drwxr-xr-x 3 server root 4096 11:14 Binary
Drwxr-xr-x 2 Server server 4096 may 09:42 Desktop
Here, the directory binary belongs to the user "server", and the user group "root", and the Directory "Desktop" belongs to the user "server" and the user group "server"
The "chown" command is used to change the ownership of a file, so only the user and user groups that administer and provide the files are authorized.
[Email protected]:~# chown server:server Binary
Drwxr-xr-x 3 Server server 4096 may 11:14 Binary
Drwxr-xr-x 2 Server server 4096 may 09:42 Desktop
Note: The files given by "Chown" change the ownership of users and groups to new owners or existing users or groups of users.
Apt command
The Debian series is based on the "apt" command and "Apt" represents the advanced package Tool. APT is an advanced Package manager developed for the Debian series system (Ubuntu,kubuntu, etc.), and on the gnu/linux system it
will automatically, intelligently search, install, upgrade and resolve dependencies for the package.
[Email protected]:~# apt-get Install MPlayer
Tar command
The "tar" command is a tape archive (Tape Archive), which is useful for archiving and extracting files that are created.
[Email protected]:~# tar-zxvf abc.tar.gz (remember ' Z ' stands for. tar.gz)
[Email protected]:~# tar-jxvf abc.tar.bz2 (Remember ' j ' stands for. tar.bz2)
[Email protected]:~# tar-cvf archieve.tar.gz (. bz2)/PATH/TO/FOLDER/ABC
Note: "tar.gz" represents the use of gzip archive, "bar.bz2" is compressed using bzip, it compresses better but also slower.
The. Cal Command
Cal (Calender), which is used to display the month in the current month or in the future or any year in the past.
Cal 09 1986
The. Date command
The "date" command prints the current date and time using standard output, or it can be set in depth.
[Email protected]:~# Date
Fri 14:13:29 IST 2013
[Email protected]:~# date--set= ' 2013 13:57 '
Mon May 13:57:00 IST 2013
Note: This command is useful in scripting and is more perfect for time-and date-based scripting. and change the date and time in the terminal to make you more professional!!! (Of course, you need root privileges to operate this, because it is the whole system
Body changes)
Linux Shell Command Series (3)