Skip to content
Linux
  • Home
  • About
  • Contact Us
  • Privacy Policy

All About Linux.

Shell Script Variables: Assign and Use Them

At the prompt, a script may receive a value typed by the user or capture output from a command. A shell variable gives that value a name the script can use later. In this piece, I’ll show how to assign and use Bash variables, including passing a value to a child process. TL;DR In Bash,

Shell Script Variables: Assign and Use Them Read More »

How to Use the awk Command in Linux

Working with text records at the shell can mean finding the rows and fields that matter. awk reads text records and lets you select fields or calculate totals. I’ll show how to select fields and summarize matching records, then save the program in an awk file for reuse. TL;DR: Use awk to select and reshape

How to Use the awk Command in Linux Read More »

Who Command in Linux: Check Logged-In Users

To see which login sessions a Linux system has recorded, use the who command. It reads login records, usually from utmp, and lists the sessions they contain. I’ll explain its output fields and show how to select the session associated with standard input. TL;DR The who command lists login sessions recorded on a Linux system,

Who Command in Linux: Check Logged-In Users Read More »

Linux chmod Command: Change File Permissions

When a file or directory needs different access, the task is to change its permissions without opening it up more than intended. chmod changes the rules that control access to files and directories. I’ll show how to set permissions with a number such as 640 or a letter-based change such as u+x, then check the

Linux chmod Command: Change File Permissions Read More »

How to Use the Script Command in Linux

Terminal output can be useful to review alongside the commands that produced it. The Linux script command records an interactive terminal session in a file called a typescript, which contains entered commands and visible results. I’ll show you how to record and replay a session, and how to check its log for private input. TL;DR:

How to Use the Script Command in Linux Read More »

How to Use the at Command to Schedule Tasks in Linux

To schedule a Linux command for one future run, use at. The at utility queues a shell command as a job for the atd scheduler service to run once at a later time. I’ll explain what at does and show how to schedule a one-time job. TL;DR: Schedule a one-time Linux command The at command

How to Use the at Command to Schedule Tasks in Linux Read More »

How to Use the time Command in Linux

A command can finish without showing how long it took. The Linux time command reports a command’s elapsed duration and CPU time. I’ll show how to time a command and choose the right time implementation for its summary. TL;DR: Time a Linux Command Prefix a command with time to measure it, and use /usr/bin/time when

How to Use the time Command in Linux Read More »

Telnet Command in Linux: Usage and Examples

A Linux machine may need to reach a service on another host, and a port check can show whether a TCP connection gets through. The telnet command attempts that connection and lets you interact with the endpoint. I’ll explain how to run the check and how to interpret its response. TL;DR The telnet command opens

Telnet Command in Linux: Usage and Examples Read More »

Best Linux Desktop Environments: 10 Options

Choosing a Linux desktop means deciding how its menus, panels and controls should fit the way you work. A desktop environment provides those on-screen parts, including menus, panels and settings tools. This piece helps you choose a desktop that fits your workflow and check whether your distribution supports it. TL;DR: Which Linux desktop should you

Best Linux Desktop Environments: 10 Options Read More »

How to Set Environment Variables in Linux

A value you set in one terminal may be missing when you open another. Environment variables are name-value pairs that processes receive when they start. In this piece, I’ll show how Bash passes a value to child commands and how to choose a startup file for a later session. TL;DR Use export in Bash to

How to Set Environment Variables in Linux Read More »

1 2 … 129 Next →

Recent Posts

  • Shell Script Variables: Assign and Use Them
  • How to Use the awk Command in Linux
  • Who Command in Linux: Check Logged-In Users
  • Linux chmod Command: Change File Permissions
  • How to Use the Script Command in Linux

Favorite Sites

  • Python Tutorials
  • GoLang Tutorials
  • CodeForGeek
  • VM-Help
  • MySQL Tutorials
  • Excel Tutorials
Linuxlogo

Learn everything about Linux, under a single roof. LinuxForDevices covers Linux tutorials, Open Source news, and courses to help you grow.

Copyright © 2026 · LinuxForDevices · LinuxForDevices is part of Diyansh IT Services Private Limited
Linux® is a registered trademark of Linus Torvalds.