Ubuntu: info > man

A place where newbies can post without (much) fear of reprisal. All mission posts should still go in the applicable forum.
Forum rules
Older HTS users: Be nice to the new people.

NEW USERS: This is NOT the place to post about missions! Refer to "Missions" category.

Ubuntu: info > man

Post by Misanthropydotexe on Sun Jun 29, 2014 3:16 am
([msg=81867]see Ubuntu: info > man[/msg])

My fellow nooblings that have Ubuntu, I want to share with you something that was just shared with me.

I was informed, when I first got Ubuntu, that I could learn more about the terminal functions by typing "man" before the commands. Such as "man sudo". Unfortunately, this does not produce anything that is even slightly comprehensible, at least not to me.

A buddy of mine just found that you can do the same thing with "info" ("info sudo"). What comes out is written in English!

Just wanted to share. Have a wonderful day, fellow nooblings.

To the non-nooblings, any input? Is there another, even superior command? Is there information in "man" that is valuable that is missing from "info"?
My armor is Contempt. My shield is Disgust. My sword is Hatred.
Respect not pity or weakness, for they are a disease which makes sick the strong
User avatar
Misanthropydotexe
Experienced User
Experienced User
 
Posts: 97
Joined: Tue Jun 03, 2014 10:54 pm
Blog: View Blog (0)


Re: Ubuntu: info > man

Post by pretentious on Sun Jun 29, 2014 7:50 am
([msg=81870]see Re: Ubuntu: info > man[/msg])

To the non-nooblings, any input? Is there another, even superior command?

google? lol I didn't actually know about info. I always figured the man page as kinda like a quick reference.
like I know what ping does but I might forget the arg name for number of pings sent(it's happened.) and man will refresh my memory.
I dont have my laptop with me but you could maybe try info info :P and assuming it gives a more verbose output might give you some leads.
Goatboy wrote:Oh, that's simple. All you need to do is dedicate many years of your life to studying security.

IF you feel like exchanging ASCII arrays, let me know ;)
pretentious wrote:Welcome to bat country
User avatar
pretentious
Contributor
Contributor
 
Posts: 577
Joined: Wed Mar 03, 2010 12:48 am
Blog: View Blog (0)


Re: Ubuntu: info > man

Post by Misanthropydotexe on Sun Jun 29, 2014 1:17 pm
([msg=81876]see Re: Ubuntu: info > man[/msg])

When you get your hands on your laptop you should try it. I love the "info" command. I'm going to be using a lot of it to explore my terminal, when I get a little free time. It's great!

I did "info info," as well as "man info." They actually came out the same. But still super useful information. Googling only gave me a lot of "man" results. Maybe I haven't found just the right phrase to search for. "Man" certainly seems more popular.
My armor is Contempt. My shield is Disgust. My sword is Hatred.
Respect not pity or weakness, for they are a disease which makes sick the strong
User avatar
Misanthropydotexe
Experienced User
Experienced User
 
Posts: 97
Joined: Tue Jun 03, 2014 10:54 pm
Blog: View Blog (0)


Re: Ubuntu: info > man

Post by cyberdrain on Sun Jun 29, 2014 3:03 pm
([msg=81882]see Re: Ubuntu: info > man[/msg])

If I recall correctly 'info' was meant as a replacement of 'man' and in most cases when used by a program it will have more information than 'man' does. In cases where the program doesn't include a separate 'info' document, the one from 'man' is used. The only thing I hate about it, is that when used incorrectly it will display 'undocumented' features instead of outright telling you the 'man' or 'info' pages don't exist.
Free your mind / Think clearly
User avatar
cyberdrain
Contributor
Contributor
 
Posts: 701
Joined: Sun Nov 27, 2011 1:58 pm
Blog: View Blog (0)


Re: Ubuntu: info > man

Post by Misanthropydotexe on Sun Jun 29, 2014 11:07 pm
([msg=81892]see Re: Ubuntu: info > man[/msg])

When used incorrectly? How can it be used incorrectly?
What undocumented features?
If they're undocumented, how can it display them?
Isn't showing special features that aren't documented a good thing?
My armor is Contempt. My shield is Disgust. My sword is Hatred.
Respect not pity or weakness, for they are a disease which makes sick the strong
User avatar
Misanthropydotexe
Experienced User
Experienced User
 
Posts: 97
Joined: Tue Jun 03, 2014 10:54 pm
Blog: View Blog (0)


Re: Ubuntu: info > man

Post by cyberdrain on Mon Jun 30, 2014 5:20 pm
([msg=81901]see Re: Ubuntu: info > man[/msg])

By incorrect use I mostly meant spelling mistakes. The program is used the normal way, that's true, but because it won't find any documentation, it will just display the same thing it does when the command is invoked without argument(s). I'd like to get a message showing I did something wrong instead of the program showing me (in this case) useless information.

I was wrong about the undocumented strings. I confused the page man shows when a program is installed, but doesn't have a manual page with it. It will display all commands that don't include normal documentation in the hopes that the displayed documentation will do something right. And yes, this is a good thing, unless the command isn't listed AND doesn't have documentation anywhere, in which case it's annoying. Neither the programmer nor the code is to blame in this case though.
Free your mind / Think clearly
User avatar
cyberdrain
Contributor
Contributor
 
Posts: 701
Joined: Sun Nov 27, 2011 1:58 pm
Blog: View Blog (0)


Re: Ubuntu: info > man

Post by Misanthropydotexe on Wed Jul 02, 2014 10:26 am
([msg=81928]see Re: Ubuntu: info > man[/msg])

Ah, gotcha. Thanks for the extra information.
My armor is Contempt. My shield is Disgust. My sword is Hatred.
Respect not pity or weakness, for they are a disease which makes sick the strong
User avatar
Misanthropydotexe
Experienced User
Experienced User
 
Posts: 97
Joined: Tue Jun 03, 2014 10:54 pm
Blog: View Blog (0)


Re: Ubuntu: info > man

Post by cyberdrain on Wed Jul 02, 2014 4:11 pm
([msg=81931]see Re: Ubuntu: info > man[/msg])

No problem.
Free your mind / Think clearly
User avatar
cyberdrain
Contributor
Contributor
 
Posts: 701
Joined: Sun Nov 27, 2011 1:58 pm
Blog: View Blog (0)



Return to NZone

Who is online

Users browsing this forum: No registered users and 0 guests

cron