Tag Archives: unix

How to List Files & Directories With Size in Linux Command Line

The command du stands for Disk Uses. You can use this command to see how much disk space a file or directory is taking. In order to list size of all files and directory of the current directory. You can run: du -sh * Explanation: du: Disk Usage -s: Display a summary for each specified […]

Leave a comment Continue Reading →

How to Extract tar.gz file in Unix/Linux

When you are in a unix based system like Ubuntu, CentOS etc. You will need to know how you can extract a tar.gz file using command line interface (CLI) Take an example, we have a file myFile.tar.gz cd into the same directory as the file. Now run the command tar -xzf myFile.tar.gz This will create […]

Leave a comment Continue Reading →