linux folder – POFTUT

How To Remove or Delete A Directory In Linux?

How To Remove or Delete A Directory In Linux?

Linux provides different commands in order to remove or delete directories and files. But in some cases, this may not work as expected and we can get a message like rmdir: ‘dir’ Directory no empty which simply means when we try to delete a directory with rmdir command it is not completed. In this tutorial, … Read more

How To Get The Size Of Directory In Linux From Command Line?

While working with Linux we may need to get the size of the specific directory. In GUI there are file managers like Dolphin, Gnome, Nautilus etc. But what if we need to get the size in command line. In this tutorial we will look how to get single or multiple directories sizes and sort them. … Read more

How To Change Group Ownership Of Files and Directories with chgroup in Linux?

Linux provides different tools for the similar or same functionality. chgrp  is the shortcuts for change group where used to change files group ownership. In this tutorial we will look different uses cases for chgrp  and examples. chgrp provides similar functionality to chown Syntax Syntax is simple where we provide options , group name and files … Read more

Linux mv Command Tutorial

Linux mv Command Tutorial

Linux mv command is used to move or rename files. We generally provide the source and destination files and directories to mv command. mv Command Syntax The Linux mv command has the following simple syntax where SOURCE and DESTINATION are a must. SOURCE is the source file or directory which will be moved to the DESTINATION DESTINATION … Read more