[Info-vax] Long uptime cut short by Hurricane Sandy

Stephen Hoffman seaohveh at hoffmanlabs.invalid
Sat Feb 2 19:43:28 EST 2013


On 2013-02-03 00:21:39 +0000, AEF said:

> My point was that it would be nice to run a simple command, like "man
> cd", or HELP CD, or CD /?, or similar, to find if there are any cool
> features.

man bash

Unlike HELP, the result is searchable, too.

It's feasible to search with VMS, you can extract the library and 
search that.  Which starts to look like the VMS version of the man | 
col | grep "fun"...

>  I think "cd -" is very cool. One of my biggest gripes about
> Unix is the large amount of typing it takes to move around the file
> system. Yes, I could copy and paste, but I don't like to use the mouse
> and it slows things down, and you might to scroll back a few pages,
> which slows things down even more. I wish there were something like
> TO.COM in Unix. With TO.COM you can not only easily go back <n>
> directories, but you have easy-to-remember easy-to-type aliases for
> the last <n> directories, where n is 9 by default.

pushd and popd, cd .., cd, cd /, cd ~/whatever, and write a script.   
If you have command completion enabled, use that.  I wrote a sethost 
script that shortens some of the ssh commands I'm occasionally working 
with.  Set up some links.  Or a combination of these.

In aggregate, this isn't much different from having what TO.COM 
provides, though the details do differ.


-- 
Pure Personal Opinion | HoffmanLabs LLC




More information about the Info-vax mailing list