- Home
- Interview Questions
- Linux System Administrator
The Linux tool shuf allows you to create permutations of file and shuffle the lines, which will allow you to create new distinctive files - shuf myfile > mynewfile.
You can use the md5sum tool on both sides (both servers) on the file and match the result, if it is the same, the file has not been corrupted.
You need to use the scp tool (secure copy over sftp) which allows copying in one line scp root@10.1.1.1:/root/file.txt ./
You need to use the chown command on the directory - chown user2:user2 /home/user1 –R.
The uptime command can show you the current time, how long the system has been running since the last restart, how many users are currently logged on to the system, and the system load averages in the resolution of the last 1, 5, and 15 minutes.