
LinuxCommands
@Linux_Commands
Useful Linux commands.
Potrebbero piacerti
"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 Tendenze
- 1. Wirtz 56.6K posts
- 2. Elander 3,345 posts
- 3. East Wing 145K posts
- 4. $TSLA 45.1K posts
- 5. Hamburger Helper 1,194 posts
- 6. Estevao 43.5K posts
- 7. Danny White 2,887 posts
- 8. SNAP 658K posts
- 9. Tony Vitello 12.5K posts
- 10. Ajax 77.6K posts
- 11. Juve 20.7K posts
- 12. Atalanta 16.7K posts
- 13. #YesOnProp50 8,245 posts
- 14. Vicario 3,120 posts
- 15. Frankfurt 54.5K posts
- 16. Tosin 8,421 posts
- 17. Ekitike 28.2K posts
- 18. Vini 22K posts
- 19. Without the 2nd N/A
- 20. Goodell 3,453 posts
Something went wrong.
Something went wrong.