Skip to content

Instantly share code, notes, and snippets.

@FlintSable
Last active July 2, 2019 16:54
Show Gist options
  • Select an option

  • Save FlintSable/0673869c75e0eebd9bd39f1865a056ff to your computer and use it in GitHub Desktop.

Select an option

Save FlintSable/0673869c75e0eebd9bd39f1865a056ff to your computer and use it in GitHub Desktop.
# list the files and file sizes in current directory
du -h --max-depth=1
# list the files and file sizes in a specific directory
du -h --max-depth=1 /usr
# swap space
swapon -s
# Listing all the partitions on the hard disk and their mount points by using the mount command.
mount
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment