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. Rob Reiner 343K posts
- 2. Good Monday 45.1K posts
- 3. #MondayMotivation 8,742 posts
- 4. All in the Family 32.2K posts
- 5. Victory Monday 1,226 posts
- 6. Meathead 10.1K posts
- 7. #MondayVibes 3,194 posts
- 8. Stand By Me 28.9K posts
- 9. The Princess Bride 23.6K posts
- 10. When Harry Met Sally 28.8K posts
- 11. #MondayMood 1,020 posts
- 12. Ella Cook 37K posts
- 13. Chile 853K posts
- 14. Spinal Tap 22.1K posts
- 15. Shaq 6,320 posts
- 16. Brentwood 23.7K posts
- 17. Derry 87.1K posts
- 18. iRobot 12.7K posts
- 19. Simone 11.6K posts
- 20. James Woods 13.9K posts
Something went wrong.
Something went wrong.