Minichan

Topic: WGMG: People who change directory even when not building or symlinking.

Anonymous A started this discussion 11 years ago #40,933

People who change directory even when not building a project or symlinking a file are annoying, aren't they? Some people even change directory just to list the contents of that directory!

If I hop onto a server, I often try my luck with a ctrl-r <filename> to avoid typing or remembering the full path, and find that some chump has changed directory before opening the same file.

Similarly, when receiving instructions on something server related, you will receive an instruction to "go to the <whatever> directory". This is so tiresome in that you are expected to execute a counterproductive command before finding out what operation needs to be executed. Unfortunately this is usually the most efficient thing to do.

Trying to encourage people to change their ways is usually fruitless, if you have ever explained when receiving an instruction that you "don't tend to change directories", their response rarely hints at sincerity.

Please people, from now on can we only change directory when building a project/RPM, creating a symlink, using curl -O/wget, or perhaps when extracting an archive but you can't remember the flags to set the target directory.

All other usages are inefficient and get in the way of history interaction.

thanks,
Thank You.

(Edited 2 minutes later.)

Anonymous B joined in and replied with this 11 years ago, 1 minute later[^] [v] #544,347

But some files need specific names to be recognized. Thanks.

Anonymous C joined in and replied with this 11 years ago, 29 seconds later, 1 minute after the original post[^] [v] #544,349

Nerds.

Anonymous A (OP) replied with this 11 years ago, 2 minutes later, 4 minutes after the original post[^] [v] #544,351

> Please people, from now on can we only change directory when building a project/RPM, creating a symlink, using curl -O/wget, or perhaps when extracting an archive but you can't remember the flags to set the target directory.

@544,347 (B)
If you have another valid usage please describe it. Similarly if you disagree with one of these usages, please describe how to avoid it.

(Edited 1 minute later.)

Anonymous D joined in and replied with this 11 years ago, 2 minutes later, 7 minutes after the original post[^] [v] #544,352

I'll change directories when I have to do multiple operations on that directory, or if I am doing "exploring" and not sure where the file I want is. My boss will however do something like this:

cd /
ls
cd etc
ls #oops this output is massive
cd tomcat7
ls #oops i didnt want to be here
cd /
ls
cd var
ls
cd lib
cd tomcat7
ls


I feel your pain.

(Edited 20 seconds later.)

Anonymous A (OP) replied with this 11 years ago, 1 hour later, 1 hour after the original post[^] [v] #544,355

Maybe part of the problem is not knowing how to use readline efficiently.

See the above link -- my favourite keys in order of utility are:


Also, be sure you have set the following in .bashrc

export HISTSIZE=999999
export SAVEHIST=999999
shopt -s histappend


Any more tips?

(Edited 53 seconds later.)

Anonymous E joined in and replied with this 11 years ago, 1 hour later, 2 hours after the original post[^] [v] #544,363

@544,349 (C)

> Nerds.

Anonymous F joined in and replied with this 11 years ago, 2 minutes later, 2 hours after the original post[^] [v] #544,364

@previous (E)

> > Nerds.

DasSheeple joined in and replied with this 11 years ago, 4 minutes later, 2 hours after the original post[^] [v] #544,365

Are all linux users this autistic?

Killer Lettuce !!iNo3FkiZx replied with this 11 years ago, 3 hours later, 6 hours after the original post[^] [v] #544,452

@previous (DasSheeple)
I'm afraid so, :-/

Anonymous H joined in and replied with this 11 years ago, 1 hour later, 7 hours after the original post[^] [v] #544,505

Lol Op has never gotten laid, Lol.

Anonymous D replied with this 11 years ago, 42 minutes later, 8 hours after the original post[^] [v] #544,518

@544,355 (A)
Hmm, I've never been much of an avid readline user. I should change that. Especially
Ctrl-r
seems nice. I'm puzzled at the order of your list, though.
Ctrl-c/z
is at the bottom of your list. Maybe it's just an oversight but I simply cannot see how you'd function without those.
:

Please familiarise yourself with the rules and markup syntax before posting.