Henry

Linux who, w and whoami Command

Linux who, w, and whoami Commands

The “who”, “w”, and “whoami” are the utilities for displaying the last boot, activities or average load, and currently logged-in user.

How to List USB Devices in Linux

How to List USB Devices in Linux?

In Linux, to list down the USB devices, use the “lsusb”, “dmesg”, “usb-devices”, “lsblk”, “df”, or “fdisk” utility in the terminal.

How Do I Close a Screen Session

How Do I Close a Screen Session?

To remove the screen sessions, run the screen utility using the “r” flag with its session ID and then type exit or use the shortcut key “Ctrl+A+D”.

How to Mount USB Drive on Linux

How to Mount USB Drive on Linux?

In Linux, there are two methods to mount the USB drive. Use the terminal and run the mount command or manually mount the USB using disks.

How to generate PGP keys with GPG

How to Generate PGP keys with GPG?

To generate the PGP keys with the GPG command in Linux, there are 3 ways. Use “–gen-key”, “–full–generate-key” or “–quick-gen-key” with the “gpg” utility.

How to Make Fractions in Google Docs

How to Make Fractions in Google Docs?

In Google Docs, the “Special characters” and “Equation” options are used to make fractions. These options come from the “Insert” tab of the menu bar.

How to Write a Letter in Google Docs

How to Write a Letter in Google Docs?

In Google Docs, users can write a letter by typing and formatting the text and built-in templates. These templates come from the “From template gallery” option.

top Command in Linux Explained

top Command in Linux | Explained

The top is the built-in utility of the Linux operating system for displaying the processes of the processor activities and the Kernel tasks.

How to Use Linux Chage Command

How do I Use Linux chage Command

In Linux, the “chage” is a built-in utility used to manage the user’s accounts, such as setting the password expiry, password inactive, warnings, etc.

How to Change the SFTP Port

How to Change the SFTP Port?

To change the SFTP port in Linux, use the given command for setting the rules, change the port in the “ssh_config” file and restart the ssh service.

How to Find Hostname From IP Linux

How to Find Hostname From IP Linux?

In Linux, to find the hostname for IP, there are three methods available. Use the “hostname”, “dig”, or “nslookup” utility with the IP address of your system.

How to Check Open Files in Linux?

How to Check Open Files in Linux?

To check the open files in Linux, the “lsof” (List Open Files ) utility is used, which depends upon various options that can be considered while running.

umask Command in Linux Explained

umask Command in Linux | Explained

In Linux, the umask command is a utility to change the privileges of the files and directories. Users can change the umask value to change the permission.

How to Change the SSH Port in Linux

How to Change the SSH Port in Linux

In Linux, to change the ssh port, update the firewall setting, change the port number in the “ssh_config” file, and restart the ssh service.

Apache Commands You Should Know

Apache Commands You Should Know

In Linux, various commands are used for apache services, such as starting, restarting, stopping, testing configuration, virtual host, etc.

How to Schedule a Task in Linux

How to Schedule a Task in Linux?

To schedule a job in Linux, there are two methods: a cron job or the “at” utility. Both are built-in into Linux. Both methods are explained in this post.

Fix bash docker command not found

[Fixed] bash: docker command not found

To fix this error, install Docker using the given guide, create the symbolic link if Docker is located in another directory, or properly install the Docker.

How to Fix a Big var/log/journal

How to Fix a Big /var/log/journal?

To fix the error /var/log/journal in Linux, reduce the size of the journal file using the vacuum-size, –vacuum-time, and –vacuum-files options with the command.

Linux head Command

Linux head Command | Explained

In Linux, the head command displays the first ten lines from the file’s content. The output of the head command depends upon the various options described here.

Dmesg Command in Linux Explained

dmesg Command in Linux | Explained

In Linux, the dmesg command is a utility to display the Kernel messages related to the Kernel operations, which can be used with different options.

~/.bash_profile | Explained

In Linux, “.bash_profile” is the hidden file created in the home directory. This file is used to customize the user configuration environment.

rename Command in Linux Explained

rename Command in Linux | Explained

In Linux, rename command is a utility that replaces any file name with your desired file name. For this command, there are various options available.

Free Checklist Templates In Google Docs

Google Docs | Free Checklist Templates

In Google Docs, checklist templates can be made from the “Checklist” icon or key “Ctrl+shift+9”. Also, free built-in templates can be used from websites.

Free Agenda Templates In Google Docs

Google Docs | Free Agenda Templates

In Google Docs, free agenda templates are added using the “From Template gallery” option from the “File” tab or the “Third-party” source.

How to Find Linux Files With Extensions

How to Find Linux Files With Extensions?

To find any Linux file with an extension in Linux, “find”, “locate”, and “grep” commands are used, which search the files from the PWD or the specified location.

Fix bash make command not found

Fix: bash make command not found

To fix this error, install the make or build-essential package using the given command. Users can also reinstall the make command to fix this error.

awk replace string in a file

awk | Replace String in a File

In any file of Linux, String can be replaced using the awk command with “$” variables or the global substitutions (gsub).

Fix: No LSB modules are available

To fix No LSB modules are available, install the “lsb-core” package or if already installed, then try to remove it and then reinstall it.