Details

Today on HakTip I will be checking out some Linux Terminal like type, which, and apropos.

Download HD Download MP4

We have recently covered how to get around in the Linux Terminal filename specifications, how to view history, and file shortcuts.

Today we will be looking at how to find out what kind of command are in the linux terminal by using "type". For instance "type ls" shows me ls is an aliased command. The "which" command will show us where these commands exist on the system, but the which command does not work on built in system commands.

You can find out more info about it with the help command, by inputting a "--help"

There's a program called 'man' that will show you a manual or a 'man page'. You can also search in the man page by looking in specific section by using man command with a section option then term you are looking to find. I am linking to a site that has a good list of the man page organization in the shownotes here. http://www.dataexpedition.com/~sbnoble/Tips/1man.html

It is all so possible to search the man pages with the command apropos; Typing "apropos floppy" to get a search of everything that has the word floppy in it.

For a quick look at what a command does, you can type "whatis 'command'". If I type "whatis ls" it'll give me a short and sweet description of ls.

How did you learn the terminal? Got a favorite book, website, or did you learn it all on your own? Tell me about it in the comments or email me at tips@hak5.org. And be sure to check out our sister show, Hak5 for more great stuff just like this. I'll be there, reminding you to trust your technolust.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

2 Comments

  • Dustin 1 year ago

    I have no idea how to pronunce a number of the tools that I use, but when it’s an actual word…

    ap·ro·pos
    /?apr??p?/
    adjective: very appropriate to a particular situation

    ! /?-pr?-p?s/

  • Welcome to our coach online store,80% Discount waiting for youCoach Outlet Factory
    Coach Factory Outlet

  • Thanks for the marvelous posting! I quite enjoyed reading it, you
    might be a great author. I will ensure that I bookmark your blog and will
    eventually come back very soon. I want to encourage you
    to definitely continue your great work, have a nice weekend!

  • Hey there! Would you mind if I share your blog with my
    zynga group? There’s a lot of folks that I think would really enjoy your content.
    Please let me know. Cheers

  • Cheap Authentic Sports Jerseys ?Cheap Authentic
    Sports Jerseys, ?t Wholesale ?rices. AJFL.
    Cheap Authentic Sports Jerseys

  • Awesome! Its actually awesome article, I have got much clear idea
    on the topic of from this article.

  • cheap golden ?tate warriors jerseys ?wholesale cheap golden ?tate warriors jerseys
    f?om china free shipping cheap golden ?tate warriors jerseys

  • china wholesale jerseys Variety lines & style of wholesale nba jerseys ??t th? ?est wholesale nba
    jersey