Thiên Nhạc Tâm
New member
What is the use of man command in Linux?
Answer
man command in Linux is used to display the user manual of any command that we can run on the terminal. It provides a detailed view of the command which includes NAME, SYNOPSIS, DESCRIPTION, OPTIONS, EXIT STATUS, RETURN VALUES, ERRORS, FILES, VERSIONS, EXAMPLES, AUTHORS and SEE ALSO.
Photo in the article by “Wikimedia Commons”
How to Manually Set Your IP in Linux (including ip/netplan)
Answer
man command in Linux is used to display the user manual of any command that we can run on the terminal. It provides a detailed view of the command which includes NAME, SYNOPSIS, DESCRIPTION, OPTIONS, EXIT STATUS, RETURN VALUES, ERRORS, FILES, VERSIONS, EXAMPLES, AUTHORS and SEE ALSO.
Photo in the article by “Wikimedia Commons”
Code:
https://commons.wikimedia.org/wiki/File:Octave-4.0.0-rc1-Qt5.4-Linux.png
- Set Your IP Address. ifconfig eth0 192.168.1.5 netmask 255.255.255.0 up.
- Set Your Default Gateway. route add default gw 192.168.1.1.
- Set Your DNS Server. Yes, 1.1.1.1 is a real DNS resolver by CloudFlare. echo “nameserver 1.1.1.1” > /etc/resolv.conf.