×


Category: Docker


Methods to List All Available Commands and Aliases in Linux

This article covers how to list all the available commands and aliases that we can run on Linux. In fact, The compgen is bash built-in command and it will show all available commands, aliases, and functions for you. This command works under Linux, macOS, *BSD and Unix-like system when Bash shell is installed. 


w Command in Linux - Explained with Examples

This article covers all you need to know about the w command in Linux. In fact, The w command is a built-in tool that allows administrators to view information about users that are currently logged in. This includes their username, where they are logged in from, and what they are currently doing.


w Command in Linux Syntax

The Linux w command is a system utility that displays information about currently logged-in users. It uses the following syntax:

$ w [options] [username]

Where:

  • [options]: Options that change the way the command behaves.
  • [username]: Entering the name of a specific user only shows information about that particular user in the output.


The w command uses the following options:

  • -h, --no-header Print output without the header.
  • -u, --no-current Ignores username when calculating current process times and load.
  • -s, --short Print output in the short format.
  • -f, --from Toggle printing the FROM (remote hostname) field.
  • --help Display help text.
  • -i, --ip-addr Replace the hostname in the FROM field with the IP address.
  • -V, --version Display current command version.
  • -o, --old-style Print old-style output (blank space for idle times shorter than 1 minute).


Generating Random Numbers via Linux Terminal

This article covers how to generate random numbers with a small command on the terminal or by creating the script.


Copy Multiple Files Using cp command in Linux - Complete guide ?

This article covers how to copy multiple files using the cp command in Linux. In fact, cp is the command entered in a Unix and Linux shell to copy a file from one place to another, possibly on a different filesystem. The original file remains unchanged, and the new file may have the same or a different name.


Configure a Custom SSH Banner - Step by step guide ?

This article covers How to Set a Custom SSH Warning Banner and MOTD in Linux. In fact, SSH banner warnings are necessary when companies or organizations want to display a stern warning to discourage unauthorized parties from accessing a server.


How to Configure Linux Mint 20 Automatic Updates Through GUI ?

This article covers the process of configuring the automatic updates of a Linux Mint 20 system.