Ubuntu

From Hidden Wiki
Jump to navigation Jump to search
Unix Assembly language Mathematics Web development I2P
GhostBSD Assembly Programming Tutorial Statistics Django for Beginners MuWire
GUI Artificial intelligence Artificial neural network Machine learning Messenger
Tkinter Artificial intelligence Artificial neural network Machine Learning Mastery with Python Session

Ubuntu is a distribution of Debian Linux. Ubuntu Linux is one of the most commonly used Linuxes.


How to see Ubuntu's version

You can use one of three commands.


Open a terminal. Choose and input one of the below three commands.

lsb_release -a
cat /etc/lsb-release
cat /etc/issue


How to upgrade Ubuntu

You can force check for a new stable Ubuntu release using this command:

sudo do-release-upgrade -c -d


To upgrade Ubuntu

sudo do-release-upgrade


To upgrade Ubuntu before release day run:

sudo do-release-upgrade -d


  • How to Upgrade to Ubuntu 20.04 Right Now

2020-04-23

https://www.omgubuntu.co.uk/2020/04/how-to-upgrade-to-ubuntu-20-04

Hot to mount an external H.D.D.

Maybe, you use an external H.D.D. with VeraCrypt.


Mostly, Linux can recognize external HDDs automatically so you don't need to do something. However, sometimes it doesn't work. When it comes to that, you need to connect it into Linux manually.


Open a terminal and type the below command.

ls /dev/ | grep sd


I could see only sda, sda1, sda2, sda3, and so on.


Next, connect your external HDD, and then type the below command.

sudo fdisk -l


Now, I could see sdb, sdb1, sdb2. It means that your external HDD is "sdb".


You can see your external HDD's information. "sdb2" is the biggest partition, so I can know it is the partition I should mount on my computer.


sudo mount -t ntfs-3g /dev/sdb2 /mnt

The above command means that your external HDD will be mount on your /mnt directory. You can mount it on another place. For instance, you can make "ext-hdd" folder on you home directory and mount "sdb2" on it like the beneath command.

sudo mount -t ntfs-3g /dev/sdb2 ~/ext-hdd

If you formatted your external HDD FAT instead of NTFS you should replace "ntfs-3g" with "vfat".


Unmount command:

sudo umount /mnt

or

sudo umount ~/ext-hdd


If the folder is being used, you'll see an error message "umount: /mnt: target is busy." and can't unmount it. Then exit File Manager and exit /mnt directory if you are in the directory on the command line terminal. And then the "umount" command may be going to work. If it doesn't work, kill the processes that use the directory.


  • Ubuntu doesn't “see” external USB Hard Disk

2013-07-11

https://askubuntu.com/questions/318987/ubuntu-doesnt-see-external-usb-hard-disk

Change a passphrase of LUKS

Type the below command on your terminal.

df -h


For example,

/dev/sda6 /boot/efi
/dev/sda7 /boot
/dev/mapper/sda8_crypt /

then your encrypted partition is sda8.


Change your LUKS passphrase with the below command.

sudo cryptsetup luksChangeKey /dev/sda8


Touchpad setting

Settings -> Devices -> Mouse & Touchpad


There are two options for a scrolling function of a touchpad.


  • Two-finger Scrolling: If you touch the touchpad with two fingers, you can scroll the page vertically or horizontally.
  • Edge Scrolling: You can scroll the page vertically or horizontally when you touch the right edge or bottom edge or the touchpad.


I think the two-finger scrolling is better than the edge scrolling.

File compression with a password

Just install "P7Zip - Desktop".


See also