[Info-vax] Long uptime cut short by Hurricane Sandy
AEF
spamsink2001 at yahoo.com
Sun Feb 3 00:38:26 EST 2013
On Feb 2, 7:43 pm, Stephen Hoffman <seaoh... at hoffmanlabs.invalid>
wrote:
> 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.
I tried to write a script once that changed directory. It didn't work.
Why? Because it forked itself to oblivion. I was told to try it with a
period and a space in front it. Fine, but something else broke. I
figured I should try it another time. And even if I write such a
thing, I have to copy it to hundreds of servers running various
versions of Solaris and Red Hat.
I've been using the ^R trick lately, so that helps. Still a far cry
from TO.COM.
>
> In aggregate, this isn't much different from having what TO.COM
> provides, though the details do differ.
It's far less.
AEF
>
> --
> Pure Personal Opinion | HoffmanLabs LLC
More information about the Info-vax
mailing list