Showing headlines posted by linuxtldr
( 1 2 3 4 5 6 ... 15 ) Next »Linux Vipw and Vigr Commands Explained
In this article, you will learn about the vipw and vigr commands that let you safely edit the configuration files related to users or groups in your favorite text editor.
3 Ways to Change User's Login Shell in Linux
In this article, you will learn three ways to change a user's login shell in a Linux system using the usermod, chsh, and vim or nano commands.
Listing All the Available Shells in Your Linux System
In this article, you will learn different ways to list all the available shells in your Linux system, including shells associated with specific users, your own default login shell, and many more.
Beginners Guide for Read Command in Linux
The read command is a built-in Linux utility that allows shell script writers to take single line input from the keyboard or from the file descriptor and store it in a variable.
How to Use Here Document (HereDoc) in Linux Shell Script
In Bash and also for other implementations of the shell, like zsh and fish, you can use the HereDoc to redirect a multi-line or block of lines from the script as an input to interactive commands.
Beginners Guide for Unset Command in Linux
The unset command is a built-in Linux command used for flushing the value of variables or functions during program execution.
Beginners Guide for Set Command in Linux
The set command is a built-in Linux command that can display or modify the value of shell attributes and positional parameters inside the current shell environment.
Beginners Guide for Export Command in Linux
The export command is used to create environment variables or update variable values in the current shell session by newly forked child processes without starting a new shell session.
How to Add a Directory to the $PATH Variable in Linux
To avoid jumping into the directory to execute your local program or script, you can add their paths to the $PATH variable to access them from anywhere.
Beginners Guide for Source Command in Linux
The source is a built-in command-line tool that reads and executes the commands from the specified file as its argument in the current shell.
How to Set and List Environment Variables in Linux
The environment variables are a set of key-value pairs that define the current environment and can affect the behavior of the ongoing programs that are executed in the environment.
35+ Advance Examples of the Find Command in Linux
The find command is an advanced tool for searching files or directories rigorously in your file system, taking a little longer time than its alternative tools like the locate command.
Beginners Guide for Which Command in Linux
The which command locates the executable command or file location in the user’s environmental path. It will give you the complete path an executable command or file is pointing towards in your file system.
Beginners Guide for Groups Command in Linux
The groups command is used to list all the groups to which the specified user belongs. This will make it easier for you to manage users and groups in your system.
Beginners Guide for PWD Command in Linux
The PWD (a.k.a. "present working directory") will print the path of the directory you are currently working in, starting from the root directory to the current directory.
Beginners Guide for Echo Command in Linux
The echo command takes the text or file as an argument and prints the output on the screen. It is mostly used in shell scripts to instruct the user or give any piece of information.
What is /dev/null in Linux?
The “/dev/null” file is a special file that can be found in all Linux systems. They are also referred to as “null device files,” “void,” and sometimes “a black hole of Linux”.
Understanding Stdin, Stdout, and Stderr Streams in Linux
In Linux, stdin, stdout, and stderr streams are already part of your Linux system and attached to your terminal device to inspect the data.
How to Display the List of All Users in Linux (Ultimate Guide)
It is important for a Linux administrator to find out all the users in their current system so that they can adjust the rules and privileges for each one.
What is Symbolic Links (or Symlinks) in the Linux
Symbolic links, sometimes also referred to as "symlinks," are used to create file pointers pointing towards files and directories in the Linux system.
