Tag: space

Double space a file using Ruby

Double space a file with Ruby using the command ruby -pe ‘puts’ < file.txt

Show Free RAM

This command shows the free RAM space in MB free -m

Show Space Usage of a Directory

Estimate space used by directory. du -sh dir

Double Space a File using Sed

Add a \n after every line in a file using the sed command… sed G

Python Function for Space Units

A Python function to return readable size using the given size(KB) # Returns a more readable format of the given…