Henry

Where are the Postfix Log Files

Where to find Postfix Log Files?

Postfix is the mail transfer agent in Ubuntu that stores all records of the emails in the log file located under the directory “/var/log/mail.log”.

What is RANDOM With Seed in Bash

What is RANDOM With Seed in Bash?

In the bash script, the seed value is defined in the “RANDOM” variable either manually or by the user input to generate the same number of sequences.

What DNS Servers Am I Using in Linux

What DNS Servers Am I Using in Linux?

To check the currently used DNS server, consider the “resolv.conf” file or built-in tools such as ”dig”, and “nslookup” or use the “Network” settings (GUI).

how Does find -name work

How Does find -name Work?

The “find -name” locates the files/directories by different parameters name, extensions, or searching and deleting the particular file/directory.

How to Check RAM Size

How to Check RAM Size Using CLI?

To check the RAM size in the Linux, utilize the “/proc/meminfo file”, “free”, “top”, “vmstat”, “dmidecode”, “lshw”, or “hwinfo” utilities

What should I do when Ubuntu freezes

What should I do when Ubuntu freezes?

Multiple freezing states of Ubuntu are faced, such as freeze at boot time, the specific program, or the mouse stopping working. See the guide for solutions.

Bash for Loop With Range (#..#}

Bash for Loop With Range {#..#}

To define the set of ranges in the for loop of the bash script, the “{#..#}” syntax is followed by the starting and the ending range.

sar Command Examples in Linux

sar Command Examples in Linux

In Linux, the sar is the command that is utilized for retrieving the report of the various system activities such as CPU utilization, memory utilization, etc.

How to chown Recursively on Linux

How Do We Make chown Recursive?

To make the chown recursive, use the syntax “chown -R [Mode] [Directory/Path]” for changing the ownership, or “chown -R :[Gorup] [Directory/Path]” for the group.

How do I Install Fonts on Ubuntu

How do I Install Fonts on Ubuntu?

To install fonts on Ubuntu, use the “Font-Manager” application, add the font to the default font directory, or, manually create the font directory.

Is Linux Unix

Is Linux Unix?

Linux is a Unix-like operating system because it works on the same design and principle as Unix, but it is not the exact implementation of Unix.

How Can I Use Docker Without sudo

How Can I Use Docker Without sudo?

Create the docker group (if it does not exist), add the particular user to the docker group, and then restart your computer to apply the changes.

TTy Definition and its uses

TTY: The Definition and Its Uses

The TTY is a character-based device used as a medium for entering data, still a crucial part of the operating systems but in software form.

How to Cut and Crop a Video With ffmpeg

How to Cut and Crop a Video With ffmpeg?

To cut the video with the “ffmpeg” tool, use the “ss” flag for the starting point and the “t” flag for specifying the ending point. For cropping, see the guide.

How to rsync a directory

How to rsync a directory?

To rsync a directory in Linux, use the “rsync” utility with the various options which depend upon the user’s requirements.

How to Get Hardware Info on Linux

How to Get Hardware Info on Linux?

To get the hardware information in Linux, use the “hwinfo”, “lscpu”, “uname”, “free”, “top”, “lsblk”, lspci “lsscsi”, “inxi”, “lsusb” commands.

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”.