
LinuxCommands
@Linux_Commands
Useful Linux commands.
คุณอาจชื่นชอบ
"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. #KonamiWorldSeriesSweepstakes 1,715 posts
- 2. Mitch McConnell 28.4K posts
- 3. Term 191K posts
- 4. #2025MAMAVOTE 1.62M posts
- 5. Andrade 10.4K posts
- 6. Tyla 31K posts
- 7. AJ Green N/A
- 8. Carter Hart 3,448 posts
- 9. Budapest 21.9K posts
- 10. Dairy Bird N/A
- 11. No Kings 154K posts
- 12. Big L 11.1K posts
- 13. Ace Frehley N/A
- 14. Somalia 32.5K posts
- 15. ACEATTORNEY 2,802 posts
- 16. Nissan 5,029 posts
- 17. Chanel 31K posts
- 18. Nick Khan N/A
- 19. Anya 16.7K posts
- 20. Jaden Ivey N/A
Something went wrong.
Something went wrong.