Tagged: directory


How To Find and List Large Files and Directories In Linux?

One of the important job for System Administrators is finding and deleting large and unneeded files from Linux operating system. In this tutorial we will look how to find, sort and delete large and trash files from Linux distributions like Ubuntu, Debian, Mint, Fedora, CentOS and RHEL etc. Large Files...


How To Check If File Exists In Linux Bash?

Linux bash have different file and directory related functions to create, delete, change and check existence. In this tutorial we will look how to check a file or directory if it exists. Check File Existence We will use bash test mechanism. Bash test mechanism have two formats where we can...


How To Copy Entire Directory In Linux?

Linux provides different tools to copy directories entirely. The most popular and well known tool is cp . In this tutorial we will look how to copy Linux directories entirely or specific contents. Copy Only Directory In this first example we will copy only directory. We can just provide the...


How To Delete Empty, Nonempty Directory In Linux

Linux file system consist of directories. A system administrator generally work with directories and related operations. In this tutorial we will look how to delete empty or nonempty linux directories. Delete or Remove Empty Directory We can remove or delete empty directories with rmdir command. In this example we will remove...


Windows Ren Command Tutorial with Examples To Rename Files and Folders

Windows ren command is used to rename files and folder. ren command provides command line renaming in MS DOS or cmd.exe. Rename File The most simple usage of ren command is renaming one file. In this example we will provide the source or original file name and destination or new file name. Original...


Linux touch Command Tutorial with

Linux touch command is used to create files and change files date time related attributes like access time etc. Creating empty files is most popular use case by the way. In this tutorial we will look how to use different features of touch command. Create Empty File The most popular usage of...


Linux Bash Directories and Changing Current Working Path

A simple shell command echo pof tut consist of command itself followed by arguments, separated by spaces. Also more complex command can be created. Generally simple commands are used and after execution exit status is provided by wait pid.

Directories and Paths While working with bash we use paths, file...


How To Make Directory in Python?

Python provides different functions and libraries for operating system related operations. Creating new directory or directories is very popular thing amongst developers. In this tutorial we will look how to create and make directory in PYthon. Using OS Library with Mkdirs Function Python provides os library which is mainly used for...


Windows Copy Operation With Xcopy Command Tutorial With Examples

Windows have different tools and commands to copy file, folders and subfolders. Xcopy is one of the most popular copying command. Xcopy comes builtin with all Windows operating systems. In this tutorial we will look different usage types and examples of Windows xcopy command. Help Help about xcopy command can be...

Enjoy this blog? Please spread the word :)