Difference between revisions of "Ubuntu"

From Hidden Wiki
Jump to navigation Jump to search
 
(5 intermediate revisions by 5 users not shown)
Line 1: Line 1:
[[Ubuntu]] is a [[distribution]] of [[Debian]] [[Linux]]. [[Ubuntu Linux]] is one of the most commonly used [[Linux]]es.
{{Template:Computer engineering}}
<div style="float: right; margin-left: 12px">__TOC__</div>


= Touchpad =
[[Ubuntu]] is a [[distribution]] of [[Debian]] Linux. [[Ubuntu Linux]] is one of the most commonly used [[Linux]]es.
 
 
== How to see Ubuntu's version ==
You can use one of three [[command]]s.
 
 
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 [[HDD]]s 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
Settings -> Devices -> Mouse & Touchpad


Line 15: Line 112:
I think the two-finger scrolling is better than the edge scrolling.
I think the two-finger scrolling is better than the edge scrolling.


= See also =
== File compression with a password ==
Just install "P7Zip - Desktop".
 
 
 
== See also ==
* [[Unix-like]]
:* [[Project Trident]]
:* [[macOS]]
* [[Linux]]
* [[Linux]]
* [[Unix-like]]
:* [[Linux Mint]]
* [[Project Trident]]
:* [[Kali Linux]]
:* [[Android]]
* [[Windows]]
 
 
* [[Python]]
:* [[Django]]
::* [[Django for Beginners]]
 
 
* [[Security]]
* [[Security]]
:* [[VeraCrypt]]
* [[Darknet]]
:* [[Tor]]
:* [[I2P]]
* [[Comic book]]
* [[Novel]]


[[Category:Debian]]
[[Category:Debian]]
[[Category:Linux]]
[[Category:Linux]]

Latest revision as of 18:50, 14 June 2021

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