![]() ![]() If you don’t already know about grep (and lets be honest, thats at least possible, if you’re new to the Linux command line), get familiar with it. It was eye-opening to see just how important these commands really are to the community and to sysadmins as a whole. For instance, if you wanted to cat all of the files listed by ls, you could use something like this: $ lsĬheck out an in-depth look at xargs from HowtoGeekĪwk/sed/(e)grep-This trio was named more times than any other command(s) by our community. A super basic example of this can be seen when pairing with the ls command. xargs allows you to run additional commands against the output of a given command. ![]() ![]() Ls+xargs-This pairing was new to me however, it was really interesting to learn and has some potentially game-changing applications. You can find more information about the command here. For example, if you wanted to find directories that matched a specific name, you could use something like this: find path/ -type d -iname '*dir_name*' So without any further delay, let's jump into these.įind-This command is a part of findutils and allows for custom search commands. After processing the results, 17 of the commands emerged as being essential or at least hugely beneficial to the Linux sysadmin job. A few months ago, I asked the Enable Sysadmin contributor community to help me make a list of their most essential commands. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |