User Tools

Site Tools


helpful_ubuntu_commands

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
helpful_ubuntu_commands [2026/07/07 18:04] mikehelpful_ubuntu_commands [2026/08/08 20:15] (current) mike
Line 1: Line 1:
 ====== Helpful Ubuntu/Linux Commands and Procedures ====== ====== Helpful Ubuntu/Linux Commands and Procedures ======
 +==== Miscellaneous/General Commands ====
  
 === Disable Ubuntu Pro "Ads", Etc. === === Disable Ubuntu Pro "Ads", Etc. ===
Line 41: Line 42:
 === Determine the date the system was installed (not 100% reliable) === === Determine the date the system was installed (not 100% reliable) ===
   tune2fs -l /dev/vda2 | grep ‘Filesystem created:’ (replace vda2 with device where root filesystem is located)   tune2fs -l /dev/vda2 | grep ‘Filesystem created:’ (replace vda2 with device where root filesystem is located)
-  + 
 +=== Copy an existing partition to a new partition === 
 +  sudo rsync -aAXv --info=progress2 --exclude='/lost+found' /disk2/ /newdisk/ 
 === Finding largest files/directories === === Finding largest files/directories ===
   du -a /dir/ | sort -n -r | head -n 20 (replace 20 with the # of lines you wish to have returned)   du -a /dir/ | sort -n -r | head -n 20 (replace 20 with the # of lines you wish to have returned)
helpful_ubuntu_commands.txt · Last modified: by mike

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki