LinuxCommands
@Linux_Commands
Useful Linux commands.
Anda mungkin suka
"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 Tren
- 1. Good Monday 32.9K posts
- 2. #MondayMotivation 28.5K posts
- 3. #RomanEmpireByBangChan 20.2K posts
- 4. ROMAN EMPIRE OUT NOW 17.1K posts
- 5. IREN 10.9K posts
- 6. #MondayVibes 1,957 posts
- 7. Talus 23K posts
- 8. Victory Monday 1,161 posts
- 9. Jayden 43.3K posts
- 10. 60 Minutes 88.2K posts
- 11. Coppertone N/A
- 12. $KITE 4,954 posts
- 13. #STARDOM 5,759 posts
- 14. jungkook 564K posts
- 15. Dan Quinn 7,452 posts
- 16. Snopes 3,627 posts
- 17. Seahawks 39.8K posts
- 18. Sam Darnold 15.6K posts
- 19. Commanders 51.6K posts
- 20. Godzilla 50.2K posts
Something went wrong.
Something went wrong.