LinuxCommands
@Linux_Commands
Useful Linux commands.
You might like
"sudo" - allows a permitted user to execute a command as the superuser or another user, as specified in the sudoers file.
Result: Linux MachineName 3.0.0-17-generic #30-Ubuntu SMP Thu Mar 8 20:45:39 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
$ "free -b" Display amount of free and used memory in bytes.
$ "free -k" Display amount of free and used memory in kilobytes.
$ "free -m" Display amount of free and used memory in megabytes.
$ "free -g" Display amount of free and used memory in gigabytes.
"free" - Display amount of free and used memory in the system.
"locate" - find files by name. Usage $ locate "fileName"
"touch" - creates new file if it doesn't exist or changes the timestamp of already existing file. $touch fileName
"cat" - combines and prints files to standard output. $ cat file //Prints the content of a file $ cat file1 file2 > file3 //Combines files
Probably one of most useful commands. $find -name '*.[ch]' | xargs grep -E 'search_term' Search 'search_term' in this directory recursively.
United States Trends
- 1. The Plasma 91.7K posts
- 2. Kyle Whittingham 2,709 posts
- 3. #AskCena N/A
- 4. hailee 5,238 posts
- 5. Smear 19.5K posts
- 6. Xmas Drop 1,536 posts
- 7. FINALLY DID IT 604K posts
- 8. Kirby Moore N/A
- 9. Bannon 47.1K posts
- 10. Donte 3,185 posts
- 11. Scalley N/A
- 12. Animal Farm 3,906 posts
- 13. Ebro 2,605 posts
- 14. Chelley 11.1K posts
- 15. #FursuitFriday 16K posts
- 16. Trunk 6,318 posts
- 17. Matt Walsh 6,018 posts
- 18. #GoUtes 1,270 posts
- 19. Warsh 1,308 posts
- 20. Miss Universe 3,479 posts
Something went wrong.
Something went wrong.