Skip to content

Latest commit

 

History

History
44 lines (26 loc) · 846 Bytes

ubuntu.md

File metadata and controls

44 lines (26 loc) · 846 Bytes

Java

MySQL

Root User

Show all ports

  • sudo lsof -nP -i

SSH Key

Environment Variables

Flatten Directory

  • find [DIRECTORY] -mindepth 2 -type f -exec mv -i '{}' [DIRECTORY] ';' (works in OSX)

Show Disk Usage

df -h --total

Disk Partition

https://help.ubuntu.com/community/InstallingANewHardDrive

sudo lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL