Last active
April 11, 2019 14:08
-
-
Save markomilivojevic/23935f70d71a473187908ccac0f0954d to your computer and use it in GitHub Desktop.
Common Linux Commands
This file contains 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
ls | |
ls *{pattern}* "list files like *pattern*" | |
ls -la | |
ll | |
tail -f {filename} | |
tail {filename} | |
head {filename} | |
cat {filename} | |
grep {what} {filename} "occurence in file" | |
grep {what} {filename} -A 20 -B 20 "-A lines after, -B lines before" | |
du -sh "file size" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment