Showing posts with label terminal. Show all posts
Showing posts with label terminal. 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.

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.


This tutorial explains how to use ProtonVPN with Ubuntu using both Terminal command line and GUI Network Manager (on GNOME, Ubuntu 18.04). ProtonVPN is a privacy-oriented VPN service hosted in Switzerland and is under the same organization with ProtonMail.

 
I use the free (no cost) service as example here so you can apply the same steps if you have purchased ProtonVPN paid service. Happy connecting!

Subscribe to UbuntuBuzz Telegram Channel to get article updates directly.


Continuing Part 4, if this fifth part you need to be able to read user manuals installed on your own Ubuntu system. Actually, a GNU/Linux system like Ubuntu is like a library, it stores "books" (user manuals) of many command lines and programs installed. In other words, you don't need internet access to learn, just read manuals already available on your system if you don't know about commands like cp, ls, apt, systemctl, and so on in your system. What you need to have is the ability to read and find manuals using man and apropos command. So let's try the ten exercises below. Happy exercising!

Subscribe to UbuntuBuzz Telegram Channel to get article updates directly.


Continuing Part 3, in this fourth part you will learn about text file editing with nano text editor in the Terminal. It's crucial because among the basics is you must have ability to edit system configurations. Below you will find 10 exercises and followed by a summary. Happy exercising!


Continuing the second part, in this part you will learn how to combine two commands in one (called pipelining) and also to store data from memory into text file (called redirection). These two techniques are the basic of all Unix-like systems and applicable on all GNU/Linux distros. Go ahead and practice them all!

Subscribe to UbuntuBuzz Telegram Channel to get article updates directly.


Know how to operate your terminal. In Kubuntu, it's called Konsole. It's a way to control your computer by typing commands for doing certain jobs. Unfortunately, you cannot avoid using terminal completely, but on the other hand, you will find it truly useful if you know how to use it. This sixth part of the series want to make you know how to use terminal by listing common, mostly used commands in Kubuntu. Enjoy!

Subscribe to UbuntuBuzz Telegram Channel to get article updates directly.


This episode begins to emphasize some basic regex and POSIX character classes examples. We give a simple table of POSIX character classes here so you will practice them easier for this episode. Both of them will make every GNU sed job much more easier. This is the sixth episode, so if you don't want to miss anything, we recommend you to read the first until the fifth episodes. Happy practicing!



This is the fifth episode of our GNU sed command examples series. This episode contains another 10 command examples covering things such as deleting source code's comments, converting image files (along with ImageMagick tool), and inserting a single or multiple lines to a file. For you just started, we recommend you to read the first until the fourth episode before this one.


Previously we have written the first 10 GNU sed command examples. But surely, sed is very large, we may find more new commands soon. This article covers another 10 GNU sed commands around replacing (‘s’ command) and deleting (‘d’ command). So, this article is a continuation of our previous GNU sed commands article. If you are just starting with sed, we suggest you to read the previous article first.


GNU sed (stream editor) is a clone of UNIX sed command line program from GNU operating system. GNU sed is almost always included in every GNU/Linux distribution (e.g. Ubuntu). While the most of computer users edit a text file only with a real time text editor like Notepad, UNIX family users can edit a text file by a stream editor like sed. This article gives you the examples of stream editing for text file(s) with GNU sed. Because of it is GNU sed it is universal, so if you don't use Ubuntu (but at least you use any GNU/Linux distro), you can practice all of these command lines correctly. If you use another family of sed (e.g. UNIX or BSD one), probably you will need to adapt some commands because they have some differences.

If you have no notification, you must watch your Terminal every doing long progress command such as apt-get update. But if there is notification, you can leave your Terminal, do another task, and let the system notifies if your command has been finished. There is a program to do it is undistract-me.

Before, we introduced you Redshift GUI to reduce your screen brightness. Reducing screen brightness may save your eyes and may prolong your laptop battery duration. But you need to install something if you want to do that. What if you want to reduce brightness without installing any program? Use built-in xrandr command.

Reducing into Half


xrandr --output LVDS1 --brightness 0.5


Reduce into Very Low


xrandr --output LVDS1 --brightness 0.1

Back To Normal


xrandr --output LVDS1 --brightness 1 

 

Double Normal


xrandr --output LVDS1 --brightness 2 
CAUTION: number above one is too bright. It may hurt your eyes.

Knowing Your Output



If the command above fails, probably your output screen LVDS1 is incorrect. LVDS1 is used in laptop. You should know your output screen whether it is LVDS1 or else. Use this command
xrandr -q


See the output. Look for the connected line. Ignore the disconnected lines. In this example, my correct output is LVDS1. In other hand, DP1, HDMI1, VGA1, and VIRTUAL1 are not my output. See picture above.

We know that our Terminal (more precisely, our bash) saves commands history in .bash_history file. But we also know that our Terminal doesn't save the output of every command. How if we want to do that and save output as a text file? For example, we want to analyze every command output or learn how apt-get works (like me). We can do it with a program named script from util-linux package from Linux Kernel Archive. The program is pre-installed in Ubuntu. I will show you how to use it and how to run it every time Terminal starts.

I have a written about the latest XFCE Terminal which adds drop down Terminal functionality like Guake or Yakuake. If you don't read it, please click here to read and install the latest version of XFCE Terminal so you can follow this tutorial. As far as I know, Thunar file manager comes with "Open Terminal Here" context menu. You can see it by right clicking on any folder from Thunar File Manager.

If you are one of many Linux users who likes working with Terminal, especially long-running commands for example compiling software, downloading large files, converting files, and so on, you probably need Undistract Me. It notifies you when any command finishes that took longer than ten seconds to finish.

XFCE4 Terminal 0.6.1 has been released, now XFCE users can enjoy the dropdown Terminal like Guake or Yakuake on XFCE desktop. But, by default, the XFCE4 Terminal doesn't show the drop down preference, you need to run the terminal with "xfce4-terminal --drop-down" to reveal the drop down preferences.

If you are a "geek" who often do many tasks with command line interface, you should try this simple application, Archey! It displays system information and distribution logo directly as an ASCII art directly on Terminal.



If you are a person who often perform daily tasks via command line interface, you might have ever performed multiple commands at once (usually by adding "&&" between them). But, you might be confused when analyzing the output of every command and when the command is finished. So today, I'd like to show you how to add a handy separator line between commands on Linux Terminal.