How To Rename A Directory In Linux?

How To Rename A Directory In Linux?

Directories or folders are used to store files and directories in Linux operating systems. The directory has also been named a folder. There are different ways to change a directory or folder name in Linux. Rename Directory with mv Command The mv command is the most popular command to move, rename files and directories. In … Read more

How To Rename File In Linux?

How To Rename File In Linux?

Renaming files is one of the most popular daily operations in Linux administration. Files can be renamed using different methods and tools like command-line interface, GUI, File Manager, etc. A renaming file changes a file name into a new one where the old file name becomes absolute after the file rename operation. In this tutorial, … Read more

Delete/Remove File In Linux

Delete/Remove File In Linux

Files can be removed or deleted by using different commands in Linux. The removal of the file deletes related file system information from the file system table. While deleting a file there are different ways like prompt deletion, display verbose output, etc. Delete/Remove File with rm Command The rm command is a defacto command to … Read more

List Directories In Linux

List Directories In Linux

Directories or folders are used to store different items like files, directories, folder data, etc. While working with these items we may need to list them especially directories. There are different commands those can be used to list directories. In this tutorial, we will learn how to list directories in Linux. List Directories with ls … Read more

How To Get Size of Directory/Folder In Linux?

How To Get Size of Directory/Folder In Linux?

Directory or folders can contain multiple files and directories. These multiple files and directories use some disk space and have a size. But when we list the files and directories we see that the directory size is listed as 4096 bytes or 4KB. This is the directories standard size which does not contain the files … Read more

Linux mkdir Command Tutorial with Examples

Linux mkdir Command Tutorial with Examples

The mkdir command is used to create directories and folders in Linux operating system. The mkdir name comes from the “make directory” which can be also expressed as “make dir” where the “dir” is generally used for directory and there is a command with the same name. Also, the mkdir command can be used to … Read more

Linux du Command Tutorial with Examples

Linux du Command Tutorial with Examples

The du command is used to get information about the disk usage in Linux. The du command provides a lot of useful information about disk usage like directory size, file size, free percentage, etc. Print File Sizes as Byte The du command is used to list given files and directories sizes in the byte unit. … Read more