Milton

touch Command in Ubuntu 22.04

touch Command in Ubuntu 22.04

The touch command in Ubuntu 22..04 is used to create a file, multiple files, changing or modifying the date and timestamp of file creation.

How to Delete Lines in Vim

How to Delete Lines in Vim?

The lines can be deleted in Vim using the shortcut keys like to delete a single line (dd), for three lines (3dd), and use “:g/^$/d” to delete empty lines.

How to Count Lines in a Linux File

How to Count Lines in a Linux File?

To count the lines in a Linux file, different methods are used, like, wc (word count), grep, sed, awk, nl (number of lines), and perl commands.

-bashrc in Linux Explained

.bashrc in Linux | Explained

In Linux, the .bashrc configuration file is executed when the user logs in. It can be used to create custom functions for various commands or operations.

Linux Server Monitoring Commands

Linux Server Monitoring Commands

Several commands are used as server monitoring tools, like; top, ps, vmstat, lsof, free, tcpdump, and netstat, which help us to monitor system performance.

How to Run a Program in Linux

How to Run a Program in Linux?

In Linux, a program can be run using different methods, including GUI, terminal, Run command, and custom shortcut keys, as discussed in this article.

How Many Threads Per Core

How Many Threads Per Core?

Threads provide an execution path within the process that can be found using the “lscpu” command in the terminal. Read this article for more details.

Fix syntax error unexpected end of file

syntax error: unexpected end of file

The error “syntax error: unexpected end of file” occurs due to the syntax error like the closing bracket missing or the loop is started but not closed.

Chown Command in Linux

Chown Command in Linux | Explained

The Linux “chown” command changes the ownership of files, directories, or groups. The file ownership is changed using the “sudo chown owner filename” command.

How to check if a file exists in bash

How to Check if a File Exists in Bash?

Three different methods are used to check if a file exists in bash, which are executed using the “test EXPRESSION”, [EXPRESSION], and [[EXPRESSION]] commands.

add user to docker group

How to Add User to Docker Group?

A docker is an open-source application managing platform where users can be added to the docker group using the “sudo usermod -aG docker user-name” command.

How to List Users in Linux

How to List Users in Linux?

To list users in Linux, run the “cat /etc/passwd” command. Use “cat /etc/passwd | cut -d: -f1”, and “awk -F: ‘{ print $1}’ /etc/passwd” commands for user names.

How to Undo and Redo in Vim

How to Undo and Redo in Vim?

To undo in Vim, the “u”, “:u”, or “:undo” commands and to redo the “:r” or “ctrl + r” commands are used in “Normal” mode.

Replacing String in Bash

Replacing String in Bash

Two methods are used to replace a string in bash/shell script that is using the “sed” command or the “native substring {EXPRESSION}” in Linux

How to Search in Vim Vi

How to Search in Vim / Vi?

To search a word or pattern in Vim/Vi, use the “/” for forward search and “?” syntax for backward search in the document.

How to Create Groups in Linux?

How to Create Groups in Linux?

To create a normal group in Linux, use the “sudo groupadd ” command, and for creating a system group, use the “sudo -r groupadd ” command

How to Use nohup Command in Linux

How to Use nohup Command in Linux?

In Linux, the nohup (no hang up) command runs the processes in the foreground and background even after the user is logged out of the shell or terminal

How to record screen on Ubuntu 22.04

How to Record Screen on Ubuntu 22.04?

The best methods to record the screen in Ubuntu 22.04 is the default GNOME shell tools, the Kazam, OBS, and simplescreenrecorder, as discussed in this article

wc Command in Linux Explained

wc Command in Linux | Explained

In Linux/UNIX, the wc command counts the words, number of lines, Characters, maximum characters in a line, and size in bytes for the files.

How to Use sync Command in Linux

How to Use the sync Command in Linux?

The sync command syncs a user’s cache data and file systems to the permanent memory etc. This post offers the detailed usage of the sync command in Linux

How to Use htop Command in Linux

How to Use htop Command in Linux?

The htop command is used to manage the system processes like CPU & memory consumption, running tasks, and details of each system process

Linux Time Command Explained

Linux time Command | Explained

Linux time command is used to get the execution time, including real-time consumed by the system, user mode time, and system mode time.

How to List Groups in Linux

How to List Groups in Linux?

To list the groups in Linux, use the “groups”, “/etc/group”, “id”, and “getent” commands. This guide serves extensive approaches to list groups in Linux.

How to Show Hidden Files in Ubuntu

How to Show Hidden Files in Ubuntu Linux

To show the hidden files in Ubuntu Linux, use the “ls -a” command or check the “Show Hidden Files” option from the toolbar menu or the “CTRL + H” shortcut key.

How to Open Terminal in Ubuntu 22.04

How to Open Terminal in Ubuntu 22.04?

To open a terminal, use the “CTRL + ALT+ T” shortcut keys, or search “gnome-terminal” in the command prompt or search “terminal” in the window search bar.

What is sudo rm -rf in Ubuntu 22.04

What is sudo rm -rf in Ubuntu 22.04?

The “sudo rm -rf” command in Ubuntu 22.04 is used to delete directories recursively and forcefully, and “sudo rm -rf /*” deletes the “root user” from the system.

How to Use RAR files in Ubuntu Linux [Quick Tip]

How to Use RAR files in Ubuntu Linux?

The RAR are compressed files. We use the “RAR” package in Linux to convert a simple file to a RAR file and the “UNRAR” package to extract a RAR file.

What is shutdown command in Linux?

Linux Shutdown Command | Explained

Linux shutdown command is used to shut down, reboot, and halt the system. Different commands have been executed in this article regarding this.