Showing posts with label Terminal. Show all posts
Showing posts with label Terminal. Show all posts

2020-12-02

Disable ask for password after suspend in Ubuntu

Run in the terminal:

gsettings set org.gnome.desktop.screensaver ubuntu-lock-on-suspend false

2019-12-02

Update Ubuntu to latest version from the Terminal

Open a terminal window and run:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade

Get Ubuntu version from the terminal

Open a terminal window and enter the following command:

lsb_release -a

2019-11-04

2019-02-01

Ubuntu: Install Java from terminal

Install Java 7:
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer

Download multiple files / splitted archive from one command

If you have a splitted archived like file.part001.rar to file.part008.rar you cand download all file with this command:

wget https://myserver.net/files/file.part00{1..8}.rar

Install Midnight Commander from the terminal

Open the terminal and run:
sudo add-apt-repository ppa:eugenesan/ppa
sudo apt-get update
sudo apt-get install mc

Ubuntu: Install Google Chrome from the terminal

Open the terminal and run the following commands:
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome-stable_current_amd64.deb