Skip to content

Instantly share code, notes, and snippets.

@VictorTpo
Last active January 20, 2016 08:36
Show Gist options
  • Save VictorTpo/245d482747f03e15c0e9 to your computer and use it in GitHub Desktop.
Save VictorTpo/245d482747f03e15c0e9 to your computer and use it in GitHub Desktop.
> top
# see all process
> ps -fp p_id
> df -k
# free space of disks
> du- h
# files/directories size. 
# the last number is te total of the current directory
> cp -p
# copy file
# -p : copy owner/group and some attr of file (such as created_at)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment