Showing posts with label command lines. Show all posts
Showing posts with label command lines. Show all posts

This tutorial is inspired by errors and fixes we encountered when testing openSUSE Leap 16 yesterday. The problem is a kernel panic at boot time, so we cannot run it the same way we usually run other GNU/Linux operating systems up to today. After looking up and re-reading our old articles, we found out a solution. We hope you can run Leap 16 on a virtual machine quickly and easily with this. Now let's start reading and practicing!

 

 

 (A QEMU virtual machine showing openSUSE bootloader with Install Leap 16.0 as an option highlighted in light green)

 

Subscribe to UbuntuBuzz Telegram Channel to get article updates.

Do you want to upgrade Ubuntu Noble Numbat from 24.04 to 24.04.1 or later? If so, then that means you are looking for how to upgrade Ubuntu system to a point release. The term "Point Release" to Ubuntu users is more or less similar to "Service Pack" known to Microsoft Windows users which is a whole system upgrade (bug fixes and improvements) within current release major version. That means, in this concept, to us Ubuntu 24.04.3 (Point Three) is more or less similar to Windows XP SP3. This tutorial will explain the procedures with an example of upgrading Ubuntu Noble from fresh install to Point Three.

 


Subscribe to UbuntuBuzz Telegram Channel to get article updates.

This tutorial will help you to connect, control, show and mirror your Android Phone on Ubuntu 24.04 computer using Screen Copy technology. With this, on Ubuntu you can control Android phone with mouse clicks, with computer keyboard, while the phone display fully shown on desktop. This article is a continuation to our tutorial two years ago Ubuntu Controls Android Screen. We hope this benefits you the best. Now let's start trying it out!

(Ubuntu 24.04 "Noble Numbat" showing controllable Android "Lollypop" screen)


Subscribe to UbuntuBuzz Telegram Channel to get article updates.

This tutorial will give you simple but complete practical exercises to learn Terminal command lines of Ubuntu 24.04 "Noble Numbat" enough for daily computing life and as a starting point to learn further. We entitled this tutorial Jewel and Pearl to make it easier to you to remember (please try to spell it!) and to match with current Ubuntu theme that is crown and jewellery. We wish you the best.


 

Subscribe to UbuntuBuzz Telegram Channel to get article updates.

Do you want to change Ubuntu's GNU GRUB menu at startup time? Either it is disabling it completely or just editing the text to suit your needs, you can do it all. Here's the tutorial for you made simple.

Subscribe to UbuntuBuzz Telegram Channel to get article updates.

This tutorial explains how you can enable your Deepin GNU/Linux version 20 upwards on your computer (codenamed Apricot) to install more software. This done by setting up the repository (central of software on the internet) so the user has the correct configuration. The result is you can later search, download, and run software you wish on your Deepin computer. You are required to be able to edit text in administrator mode to practice this. For experienced persons, you may want to go to Sources.list section right away.

Subscribe to UbuntuBuzz Telegram Channel to get article updates.

Here's simple command line guide for you computer user who find Ubuntu GNU/Linux for the first time. These commands are all built-in, you do not need to add anything to use them. They are useful to you, for instance, to read your complete computer information and of course to know about basic commands. Why learn commands? Because commands are fast as you will learn below. You will also see further references to learn more at the end of this article. Have fun learning!

Subscribe to UbuntuBuzz Telegram Channel to get article updates.

This tutorial explains how I successfully upgraded my Ubuntu Desktop operating system from 18.04 LTS to 20.04 LTS. This goes through four clear & easy steps using command lines with a restart and includes preparations information. I wish you also upgraded Ubuntu successfully. Welcome to Ubuntu!

(Ubuntu upgraded from Bionic to Focal Fossa)
Subscribe to UbuntuBuzz Telegram Channel to get article updates.

Reload is the process refreshing the information of download sources in an Ubuntu system. If you observe, you will find that actually Ubuntu downloads several dozen megabytes of data when reloading and in fact you can reduce up to half size. This article supplies you information to tinker with that with sources.list configuration and APT command. You will see best of this in an experiment-dedicated system if you have. Lastly, I practiced this on Ubuntu 20.04 Focal Fossa and you can practice this also on other versions. Enjoy tinkering!


Subscribe to UbuntuBuzz Telegram Channel to get article updates directly.

This article is not a tutorial but only a little talk about my experiment. However, I hope beginner user can benefit from this as we will see how APT command lines and how Ubuntu repositories being used in real life. We can also adapt this experiment into other distro such as Debian or PureOS. As usual, I prepare screenshots to make explanations clearer. Enjoy learning!

(Process of installing a package from eoan (newer) into disco (older) Ubuntu system)
Subscribe to UbuntuBuzz Telegram Channel to get article updates directly.


There are not many clear tutorials available in taking picture of the login screen of latest Ubuntu, Mint, and elementary OS. Their login screen technology is called LightDM. You cannot simply press Printscreen key in the login screen to create its screenshot. Instead, you need a complicated way with superuser access to do so. This might give you frustration if you do not know the way especially if you are a writer like me. Fortunately, it is easy and everybody can do it like my explanations below. You can do this both in LiveCD session and in an installed system. I write this tutorial by testing it first on elementary OS 5.1 Hera that released recently at the end of 2019. After a long time, I am happy to finally figure out this method. Enjoy!


Subscribe to UbuntuBuzz Telegram Channel to get article updates directly.


Actually, it is to empty your package storage folder. That means helping to save your free disk space. The storage is located at /var/cache/apt/archives/ as it is the place to store all DEB packages downloaded by APT command. When you use GNU/Linux system for a long time, you must have installed many, many software packages; and you will finally find you are running out of disk space because of those packages. Don't worry, deleting those DEB packages does not remove the actual software installed. This article gives you an explanation with pictures.

 
(apt-get clean works by deleting DEB packages that are unnecessary anymore)
Subscribe to UbuntuBuzz Telegram Channel to get article updates directly.


Do you know that Ubuntu silently downloads updates in the background? It may transfer around 100-200MB in random period of time and happen almost everyday. This will hurt users with limited internet access who do not want updates or prefer to upgrade manually. And do you know that you can disable that? Disabling them helps saving your internet bandwidth really a lot. This tutorial explains how to do it. By disabling here we will disable permanently certain services so that it will not active anymore unless we deliberately enable them manually. Okay, so let's go!

Subscribe to UbuntuBuzz Telegram Channel to get article updates directly.

(I use Rsync command to sell USB sticks with GNU/Linux)

Recently, I distribute GNU/Linux USB sticks with a bunch of video tutorials inside and I use Rsync command to copy the files with best reliability. I like Rsync because it is clear with progress and verbose messages, and in my cases it's often faster, more stable. I then use the same Rsync command to copy the ISO image files to USB as --you may know-- I am currently experimenting with GLIM and Aguslr's Multiboot USB tools. This works very well. Tutorial below shows you the command lines and examples.

Subscribe to UbuntuBuzz Telegram Channel to get article updates directly.

Straight to the point, the final command line is this:

$ sudo umount -v /dev/sdb?* && udisksctl power-off -b /dev/sdb

Fortunately, you can make shortcut to that long command to be, for example:
$ magic

Explanation goes below. 

There are only 3 steps.

On KDE, more precisely on Dolphin File Manager, press F4 key so you see Konsole appears on its bottom:

 
(Without leaving your file manager, you can do command lines; that's Dolphin)

To understand the command, we learn first where is the location of our partitions:
$ lsblk
 
(From this, we know that they are in /dev/sdb drive denoted as /dev/sdb1 to /dev/sdb10)

Second, we unmount all attached partitions of external hard disk:
$ sudo umount -v /dev/sdb?*


(Unmounting process with detailed progress info)


Third, we safely remove the disk drive:
$ udisksctl power-off --block-device /dev/sdb

(Safely remove the disk drive)

The final result should present you all partitions disappeared and lsblk shows /dev/sdb no more.

 (The lsblk shows only the internal /dev/sda means the external drive /dev/sdb has been removed)

Example above given by considering /dev/sdb as the external disk drive we want to unmount. If lsblk output shows you it's not /dev/sdb but /dev/sdc instead, then use /dev/sdc. And so on.

See? Nothing hard.

Important notes explained below.
  • 1) GNU/Linux OS reads every disk drive attached in special identifier, like, /dev/sdb or /dev/sdc. To know them, use lsblk command. 
  • 2) The OS reads every partition with number following its disk drive identifier, like, /dev/sdb1 or /dev/sdb2, which is a partition inside /dev/sdb disk drive.
  • 3)  
  • 4) The umount and udisksctl commands work with special identifier of partitions and disk drives, respectively.
  • 5) The -v option of umount command means verbose that is to show the process currently being done. 
  • 6) The && sign means making a combination of two commands.

Making short version described below.

To make such long command short, you simply need to create an equation, that is in the .bashrc file of yours. Please be aware that this example is limited to /dev/sdb only, so this is not perfect, and you are free to learn more about this.

1) Edit it with editor:
$ nano ~/.bashrc

2) Scroll down.

3) Write this as new line at bottom:
alias magic="sudo umount -v /dev/sdb?* && udisksctl power-off -b /dev/sdb"

4) Save:
Ctrl+O

5) Exit:
Ctrl+X

6) Try it out:
$ magic

Enjoy!


This article is licensed under CC BY-SA 3.0.


This tutorial explains easy procedures to update GRUB Bootloader of GNU/Linux system after you install it to USB so it recognizes all other operating systems installed on the same computer if it didn't. For this, I practiced it on my previous Debian 10 on USB stick. You can also practice this on Deepin 15.10 or Ubuntu 19.04 or other OSes. You do not need to install additional program as we will use only command line here. Enjoy!

Subscribe to UbuntuBuzz Telegram Channel to get article updates directly.

(Ubuntu 19.04 after upgrade from 18.04 LTS)

This is tutorial to upgrade your Ubuntu from 18.04 LTS to 19.04 using 'do-release-upgrade' command lines. The upgrade process is divided to two steps, first to upgrade to 18.10, and second to upgrade to 19.04. In other words, we will upgrade from Bionic Beaver to Cosmic Cuttlefish to Disco Dingo. The whole process takes approximately 3 hours and 30 minutes on broadband internet connection and Solid State Disk (SSD) storage. Go ahead and have a safe upgrade. Finally, happy working!

Subscribe to UbuntuBuzz Telegram Channel to get article updates directly.


This is an introduction and tutorial to use Canonical Snap for beginners on Ubuntu and other GNU/Linux distros. With Snap, now you can install latest software on your computer, server, and device safely in one common way without worrying about dependencies and broken system. Snaps also run on LiveCD sessions! Today, you can install over 4000 applications in Snap way including the popular GIMP, Telegram, VLC, and Nextcloud. You will find here what's Snap and what's the benefits of it for you, list of popular software already available for you in Snap way, and list of command lines with examples and explanations in using it. Enjoy your new journey!
Subscribe to UbuntuBuzz Telegram Channel to get article updates directly.

As many of you know, KDE neon is a special distro to bring the really latest KDE version from The KDE Project itself. KDE neon is a stable operating system as it's the official OS of Slimbook Laptop and actually I used it daily. But, KDE neon is available in User and Developer, Git-Stable and Git-Unstable editions. Previously, it even has a User LTS Edition. This may hinder us to download as we're not sure the version of packages inside it. How to know the differences between them before downloading? This short tutorial shows you the examples.

Subscribe to UbuntuBuzz Telegram Channel to get article updates directly.


After Basic Software Installation, this seventh tutorial talks about adding PPA and installing software from it. A PPA is actually a repository. People use PPAs mostly for installing software versions that are not available in Ubuntu normal repository. You will learn what PPAs available and how to determine a PPA suitable to your version of Ubuntu or not. You will also learn how to remove a PPA and the package installed from it. Happy learning!

Subscribe to UbuntuBuzz Telegram Channel to get article updates directly.