
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. Yamamoto 45.2K posts
- 2. #DWTS 42.5K posts
- 3. Brewers 41.5K posts
- 4. Ohtani 13.9K posts
- 5. #TexasHockey 3,255 posts
- 6. Jared Butler N/A
- 7. halsey 7,851 posts
- 8. Young Republicans 70.5K posts
- 9. #FlyTogether 2,375 posts
- 10. Kreider 1,051 posts
- 11. #Dodgers 16.2K posts
- 12. #MakeOffer 10.2K posts
- 13. Domain For Sale 10.7K posts
- 14. Robert 107K posts
- 15. Haji Wright 1,166 posts
- 16. Roldan 2,663 posts
- 17. Jarry N/A
- 18. Will Richard 2,691 posts
- 19. Carrie Ann 4,929 posts
- 20. Ayton 2,355 posts
Вам может понравиться
Something went wrong.
Something went wrong.