When working with filesystem in Linux, might be need to find and remove empty files and directories. This tutorial demonstrates how to do that in Linux.
Create few directories and...
When working with files processing in Linux, may be needed to get filename from given file path. This tutorial shows how to do that in Linux.
Linux has basename command...
The nano is a text editor that comes pre-installed in most Linux distributions. When working with text file, it's common to go to the end of a file. This tutorial...
Raspberry Pi Pico has onboard green LED which can be controlled via USB by sending commands from PC.
This tutorial shows example how to turn ON/OFF the onboard LED on...
Renaming a directory is one of the most basic operation that can be performed in the operating system. This tutorial demonstrates how to do that in Linux.
In Linux, directory...
Working with Linux as system administrator, there likely will be times that need to lock the user. It can be useful when limiting access to a system temporary. This tutorial...
SHA-256 is a cryptographic hash function that can be used for verifying file integrity. For example, to check that the file has not been altered during transfer over the network...
In Linux, file permissions can presented in human readable form (e.g. drwxr-xr-x) and in octal format (e.g. 755). This tutorial shows how to get file permissions in octal format in...
Linux is a multi-user operating system that allows multiple users to connect to the system at the same time and access system resources. Sometimes we may need to find currently...
In Linux, there are various commands to work with text files processing. Sometimes we may need to count number of occurrences of a word in a file in Linux. This...