copy files from one linux server to another through shell
$ scp user@from_computer:dir/filename user@to_computer:dir/filename
open shell to another linux machine from one through shell
$ ssh user@to_computer
Prints the owner of every file or directory in the current directory. The AWK syntax is simply "print the 3rd field in every line of data"
ls -l | awk '{print $3}'
To get the owner of only one file (filename):
ls -l | grep filename | awk '{print $3}'
To compress a folder:
zip -r target.zip folder/
User creation
useradd username
Change user password
passwd username
Add user to a group
usermod..........................
READ FULL ARTICLE
This post is password protected. To view it please enter your password below:
Password:
..........................
READ FULL ARTICLE