QA
1.Find provider of a tool
2.Change hostname
3.How do I back up a user's mission plan?
4.Close unnecessary service.
5.After logging in to an account, what log files will the system record in the log file?
A: The user authentication process is recorded in /var/log/secure, and the login success information is recorded in /var/log/wtmp.
6.Use xargs and exec to achieve such a requirement, and change the permissions of all files with the .txt file in the current directory to 777.
7. Hard Link and Symbolic Link.
Symbolic link (Symlinks/Soft links) are links between files. It is nothing but a shortcut of a file(in windows terms).
Hard link is the exact replica of the actual file it is pointing to .Both the hard link and the linked file shares the same inode .
Hard links cannot span across filesystem.
Hard links can link only files,not directories.
8.Count the number of local user accounts
9.forbid ping 1, allow 0
Last updated