Linux Command nohup to Keep Processes Running
nohup command in Linux allows processes to continue running even after the user logs out or the terminal session ends. It does this by redirecting standard output and error to a specified file (defaulting to “nohup.out”) or to the null device (if not specified). This prevents the process from being terminated when the session ends, […]
pwd Command in Linux
The pwd command in Linux stands for print working directory and is used to display the full absolute path of the current directory you are working in. It works by querying the system for your current location within the directory hierarchy and returns the path starting from the root (/). Mastering pwd command in Linux is […]
How to Install Memcached on Ubuntu and CentOS
Memcached is a high-performance, distributed memory object caching system designed to speed up dynamic web applications by reducing database load. It stores frequently accessed data in memory, allowing for faster retrieval. Installing and using Memcached on Linux, whether on Ubuntu or CentOS, helps enhance website and application performance by caching data, reducing server strain, and […]
locate Command in Linux
The locate command in Linux is a file-searching command-line tool used to quickly find files and directories based on their names by searching updated databases. To use the locate command run the following syntax in the terminal and find the location of the files in your Linux system simply and quickly: locate [filename or part […]
Linux dd Command to Copy Files
The dd command in Linux is a powerful tool for low-level disk operations, often used for tasks like cloning disks, creating images, recovering data, and copying files. Linux dd command is particularly useful when you need precise control over the data transfer process, such as: Specifying block sizes. Limiting the number of blocks to be […]
Windows CMD Commands
The Command Prompt is a powerful tool in the Windows operating system. It provides a text-based interface for interacting with the computer. By understanding and utilizing various CMD commands, you can automate tasks, troubleshoot issues, and perform advanced system administration. This tutorial covers 40 Windows CMD Commands to let you get familiar with the basic […]
How to Install Hadoop on Ubuntu?
Hadoop is a distributed computing framework for processing and storing massive datasets. It runs on Ubuntu and offers scalable data storage and parallel processing capabilities. Installing Hadoop enables you to efficiently handle big data challenges and extract valuable insights from your data. To Install Hadoop on Ubuntu, the below steps are required: Install Java. Create […]
How to Use Linux source Command
The Linux source command is used to execute commands from a specified file within the current shell environment. This is equivalent to running the commands directly in the terminal. It’s often used to load configuration files, environment variables, or aliases into the current shell session. Here is the basic syntax of source command in Linux […]
Install tmux on Ubuntu & CentOS
tmux is a terminal multiplexer that allows you to manage multiple terminal sessions within a single window. This is particularly useful for tasks like running long-running processes, managing multiple servers, or working on multiple projects simultaneously. On Ubuntu and CentOS, tmux is widely used for its ability to create and organize multiple terminal environments, enhancing […]
wc Command in Linux
The wc command in Linux is a powerful utility used to count the number of lines, words, and characters in one or more text files. It’s an indispensable tool for tasks like analyzing document length, counting code lines, or assessing file size. By following the wc command options examples of this tutorial, you will provide […]
10 Ways to Check Kernel Version in Linux
The Linux kernel is the core component of the Linux operating system, responsible for managing hardware resources, processes, and memory. Checking the kernel version is essential for ensuring compatibility with software and hardware, maintaining system security and stability, troubleshooting issues, and accessing relevant support resources. Here are the most used methods to Check Kernel Version […]
Linux journalctl Command to Check System Logs
The journalctl command is a powerful tool for inspecting system logs in Linux. It provides a unified interface to query and filter systemd journal entries, which include logs from various system components and applications. Linux journalctl Command Basix Syntax: journalctl [options] Command Options: Prerequisites to Use Linux journalctl Command To start using journalctl command in […]