Skip to content

Instantly share code, notes, and snippets.

@Aravinth-Earth
Last active July 23, 2022 06:15
Show Gist options
  • Save Aravinth-Earth/08a3ba45f9466c2f019869ac237d75c1 to your computer and use it in GitHub Desktop.
Save Aravinth-Earth/08a3ba45f9466c2f019869ac237d75c1 to your computer and use it in GitHub Desktop.
Ubunut(Linux) user commands

Caution / Note / Disclaimer:

The below table contains commands which i learn from many linux related sources i follow, Use it at your own risk

description syntaxt / sample command output
add any terminal command output in a temporary web page/note (like paste bin) as a shareable web page link Name date \| curl --data-binary @- https://paste.rs https://paste.rs/Br9
e4defrag - online defragmenter for ext4 filesystem
sudo e4defrag #location# Deframent the given location
sudo e4defrag Deframent the given device
sudo -v e4defrag / To defragment your entire system
file - determine file type $ file [option] [filename]
          $ file -b filename.py
          $ file -b file.img
          $ file -b file.txt
          $ file -b file.pdf 
        
Deframent the given location
sudo e4defrag Deframent the given device
sudo -v e4defrag / To defragment your entire system
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment