Last active
September 19, 2017 15:51
-
-
Save fbchow/9be66c04fcda8998aeaaf070efcc19ec to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
how to get the size of everything in your file | |
du -sh * | |
how to see the first N lines of a file | |
cat -N file.txt | |
how to see the last N lines of a file | |
head -N file.txt | |
set the permissions such that you can only & admin can only access the file | |
chmod-orwx file.name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment