How to Change SSH Port in Ubuntu 20.04
How to create an admin user on Ubuntu Server
How to Download single file from GitHub in Terminal?
- Click the file name in a GitHub
- Click Raw to display the file contents.
- You will see the file’s url link
In the command line, run
curl -OL https://raw.githubusercontent.com////path/to/file (this is the file’s url link)
O means that curl downloads the content
L means that curl follows the redirection
How to Quit VI editor without saving anything?
To quit the vi editor without saving any changes you’ve made:
- press Esc.
- Press : (colon).
- Enter the following:
q!
This will quit the editor, and all changes you have made to the document will be lost.
Wired Unmanaged – After Install Ubuntu desktop GUI on Ubuntu Server
With Ubuntu 18.04 Canonical introduced new network management called Netplan. In nutshell Netplan allows to directly configure network and/or switch between two network configuration daemons networkd and NetworkManager. By default networkd is configured for Ubuntu Server and NetworkManager for Ubuntu Desktop.
Go to /etc/netplan/01-netcfg.yaml configuration file and change it:
FROM:
TO: apply changes by executing:
$ sudo netplan apply