Search For:
- Home
- Search For:
This article covers the different methods to check your battery health monthly to keep its charging cycle and usage optimized. For this purpose, you can use the "acpi" command.
The acpi command shows battery status and other ACPI information in your Linux distribution.
You might need to install acpi command in some Linux distributions.
On Arch Linux and its derivatives:
$ sudo pacman -S acpi
To install acpi on Debian, Ubuntu and its derivatives:
$ sudo apt-get install acpi
On RHEL, CentOS, Fedora:
$ sudo yum install acpi
Or,
$ sudo dnf install acpi
Once acpi installed, run the following command:
$ acpi -V
This article covers the whereis command which is useful for Locating the binaries and manual pages for various commands. Sometimes, while working on the command line, we just need to quickly find out the location of the binary file for a command.
Linux whereis command syntax
The whereis command lets users locate binary, source, and manual page files for a command. Following is its syntax:
$ whereis [options] [-BMS directory... -f] name...
This article covers the different methods of Installing Django on Ubuntu 20.04. With it, you can easily perform creation of Django applications, superuser creation, and removal of Django.
Django is a full-featured Python web framework for developing dynamic websites and applications. Using Django, you can quickly create Python web applications and rely on the framework to do a good deal of the heavy lifting.
How to install Django from Ubuntu repositories ?
1. First, update your local package index with apt:
$ sudo apt update
2. Next, check which version of Python you have installed. 18.04 ships with Python 3.6 by default, which you can verify by typing:
$ python3 -V
This article covers the different methods to install Emacs on Debian OS. Emacs is a widely used open-source text editor for Linux. It exists for many years now and can be used for basic word processing, code editing, and scripting, etc.
How to Install Emacs editor on Debian ?
1. To start the installation process, login with root and update the package repository with the following command.
$ apt-get update
2. Next, run the following command on the terminal and wait for the operation to complete. This can take several minutes. When you are asked for confirmation, press Y from your keyboard.
$ apt-get install emacs
This article covers how to install notepadqq on Ubuntu 20.04 Linux system. Notepad is a similar copy of the most popular editor notepad++. Basically, Notepadqq is a text editor that is designed by developers for the developers. It supports more than 100 languages and useful to note down daily tasks.
How to Install Notepadqq on Debian / Ubuntu?
1. Add Repository
$ sudo add-apt-repository ppa:notepadqq-team/notepadqq
2. Update Repository
$ sudo apt-get update
3. Install Notepadqq
$ sudo apt-get install notepadqq
4. After installation, we can access it either via terminal by typing notepadqq or by searching from the application manager. Run Notepadqq:
$ notepadqq
This article covers how you can create a simple playbook file and execute it. Basically, Ansible is an Infrastructure as Code tool that allows you to use a single central location (Ansible control node) to monitor and control a large number of remote servers (hosts).
Therefore, we can use Ansible to set up a number of tasks that the remote hosts can perform, including creating new files and directories.
Components of Ansible playbook file: