Navigate linux ‘info’ command

The command ‘info’ can provide additional information that isn’t present in the man pages. Unfortunately it isn’t easy to navigate.

A trick is learned is to add the following to your ~/.bashrc file


function infos () {
info --vi-keys --subnodes -o - "$@" | less;
}

Now you can call infos (with an s), to be able to navigate the info page.

Example

$ infos ls

Thanks to Evan Teitelman for pointing this out on unix.stackexchange
http://unix.stackexchange.com/questions/82357/what-do-the-symbols-displayed-by-ls-f-mean

Advertisements

About spuder
spuder is a "super computer" support engineer by day, and tinkerer / hobbyist by night.

One Response to Navigate linux ‘info’ command

  1. Pingback: Manage .bashrc across cluster | Spencer's Technical Diaries

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: