- Home
- Interview Questions
- Linux File Manipulation
21.
What is the difference between the commands ping and ping6?
The commands ending with 6 - ping6, traceroute6, tracepath6 have the same meaning, but are intended to use on ipv6 IP addresses.
22.
What does an open mail relay server mean?
An Open mail relay server, means that this is a server that everyone can send emails through it without the need to identify first or be a part of the domain group.
23.
How do you get additional information about a command - for example get information about mail?
If you want to learn about a command, you can use the commands man mail or info mail to learn more about mail.
24.
How can you add an "auto correction" that will automatically fix "cd /homr" to "cd /home"?
You can add the option cdspell to your shell options by typing "shopt -s cdspell".
25.
You want to find all of the ".tmp" files in /home/* and delete them, how can you do it in a command?
First you need to find the files using find, then delete them using rm - find /home/ -name '*.tmp' | xargs rm –rf.