
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. Stanford 10.8K posts
- 2. Norvell 4,153 posts
- 3. Florida State 10.1K posts
- 4. #AEWWrestleDream 68.7K posts
- 5. sabrina 65.7K posts
- 6. SPENCER SMITH N/A
- 7. #byucpl N/A
- 8. Darby 11.4K posts
- 9. Hugh Freeze 3,045 posts
- 10. Utah 32.8K posts
- 11. Mizzou 6,273 posts
- 12. Bama 16.6K posts
- 13. Lincoln Riley 2,910 posts
- 14. Sperry N/A
- 15. Castellanos 3,749 posts
- 16. brendon 5,634 posts
- 17. Sting 14.8K posts
- 18. Kentucky 25.1K posts
- 19. Nobody's Son 3,313 posts
- 20. Arch 25.7K posts
Something went wrong.
Something went wrong.