LinuxCommands
@Linux_Commands
Useful Linux commands.
Vous pourriez aimer
"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 Tendances
- 1. Austin Reaves 43K posts
- 2. Steelers 84.6K posts
- 3. Packers 66.2K posts
- 4. Tomlin 12.4K posts
- 5. Tucker Kraft 15.4K posts
- 6. Jordan Love 16.7K posts
- 7. #GoPackGo 10.7K posts
- 8. Derry 19.7K posts
- 9. #BaddiesAfricaReunion 9,447 posts
- 10. #LakeShow 3,723 posts
- 11. Pretty P 3,969 posts
- 12. Zayne 19.9K posts
- 13. Dolly 12.7K posts
- 14. #LaGranjaVIP 70.1K posts
- 15. Aaron Rodgers 19.9K posts
- 16. #breachlan2 2,739 posts
- 17. Teryl Austin 2,167 posts
- 18. Sabonis 2,474 posts
- 19. yixing 9,072 posts
- 20. yeonjun 50.7K posts
Something went wrong.
Something went wrong.