"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 趨勢
- 1. Deport Harry Sisson 8,660 posts
- 2. Gabe Vincent 3,930 posts
- 3. DuPont 1,784 posts
- 4. #PokemonZA 1,613 posts
- 5. Angel Reese 52.3K posts
- 6. #PokemonLegendZA 1,482 posts
- 7. Deloitte 6,628 posts
- 8. Mavs 5,759 posts
- 9. tzuyu 246K posts
- 10. #Blackhawks 2,164 posts
- 11. #EliraGotCake2025 7,273 posts
- 12. Lakers 18.2K posts
- 13. Blues 21.1K posts
- 14. Tusky 2,396 posts
- 15. #AEWDynamite 18.7K posts
- 16. Everest 3,343 posts
- 17. Mad Max 3,748 posts
- 18. Birdman 5,376 posts
- 19. jihyo 192K posts
- 20. Nazar 6,885 posts
Something went wrong.
Something went wrong.