Documente Academic
Documente Profesional
Documente Cultură
Download Your Free eBooks NOW - 10 Free Linux eBooks for Administrators | 4 Free Shell Scripting
eBooks
Thanks for all the likes, good words and support you gave
us in the first two part of this article. In the first article we
discussed commands for those users who have
just switched to Linux and needed the necessary
knowledge to start with.
https://www.tecmint.com/20-advanced-commands-for-linux-experts/ 1/19
7/18/2018 20 Advanced Commands for Linux Experts
Disable an Interface
Enable an Interface
https://www.tecmint.com/20-advanced-commands-for-linux-experts/ 3/19
7/18/2018 20 Advanced Commands for Linux Experts
https://www.tecmint.com/20-advanced-commands-for-linux-experts/ 4/19
7/18/2018 20 Advanced Commands for Linux Experts
Tcp:
94533 active connections openings
23 passive connection openings
5870 failed connection attempts
7194 connection resets received
....
OK! For some reason if you want not to resolve host, port
and user name as a output of netstat.
https://www.tecmint.com/20-advanced-commands-for-linux-experts/ 6/19
7/18/2018 20 Advanced Commands for Linux Experts
Non-authoritative answer:
tecmint.com mail exchanger = 0 smtp.securese
tecmint.com mail exchanger = 10 mailstore1.s
Authoritative answers can be found from:
https://www.tecmint.com/20-advanced-commands-for-linux-experts/ 7/19
7/18/2018 20 Advanced Commands for Linux Experts
retry = 7200
expire = 3600000
minimum = 86400
Authoritative answers can be found from:
https://www.tecmint.com/20-advanced-commands-for-linux-experts/ 8/19
7/18/2018 20 Advanced Commands for Linux Experts
https://www.tecmint.com/20-advanced-commands-for-linux-experts/ 9/19
7/18/2018 20 Advanced Commands for Linux Experts
mesg [n|y]
n - prevents the message from others popping up
y – Allows messages to appear on your screen.
50. Command: w
what command ‘w’ seems you funny? But actually it is not.
t’s a command, even if it’s just one letter long! The
command “w” is a combination
of uptime and who commands given one immediately after
the other, in that order.
https://www.tecmint.com/20-advanced-commands-for-linux-experts/ 11/19
7/18/2018 20 Advanced Commands for Linux Experts
[avishek@tecmint ~]$ w
15:05:42 up 4:49, 3 users, load average: 0.02
USER TTY FROM LOGIN@ IDL
server tty7 :0 14:06 4:43
server pts/0 :0.0 14:18 0.00
server pts/1 :0.0 14:47 4:43
rename a1 a0 a?
rename a1 a0 a??
https://www.tecmint.com/20-advanced-commands-for-linux-experts/ 12/19
7/18/2018 20 Advanced Commands for Linux Experts
https://www.tecmint.com/20-advanced-commands-for-linux-experts/ 13/19
7/18/2018 20 Advanced Commands for Linux Experts
vi-editor
nano editor
Click ‘y’ to yes and enter file name, and you are done.
https://www.tecmint.com/20-advanced-commands-for-linux-experts/ 14/19
7/18/2018 20 Advanced Commands for Linux Experts
Now try to copy a large file in terminal and see the output
with remaining items, similar to a progress bar.
https://www.tecmint.com/20-advanced-commands-for-linux-experts/ 15/19
7/18/2018 20 Advanced Commands for Linux Experts
https://www.tecmint.com/20-advanced-commands-for-linux-experts/ 17/19
7/18/2018 20 Advanced Commands for Linux Experts
1
2
3
and file2 was:
a
b
c
d
the resulting file3 would be:
1 a
2 b
3 c
d
60.Command: lsof
lsof stands for “list open files” and displays all the files that
your system has currently opened. It’s very useful to figure
out which processes uses a certain file, or to display all the
files for a single process. Some useful 10 lsof
Command examples, you might be interested in reading.
https://www.tecmint.com/20-advanced-commands-for-linux-experts/ 18/19
7/18/2018 20 Advanced Commands for Linux Experts
https://www.tecmint.com/20-advanced-commands-for-linux-experts/ 19/19