[clug-talk] Thanks everyone
Michael Walters
waltersm at telusplanet.net
Sat Feb 5 18:52:17 PST 2005
Hello All those who helped me by suggesting piping through less.
Thank you very much. I have tried all of your suggestions and they all work.
I will tell you how I liked each one of the options for each purpose I want.
ls -m | less works but it is too messy for me.
ls -a | less works beautifully for scrolling through all the files and
directories both hidden and visible. When I want to look at all the hidden
files in a directory I will use that option.
ls -l | less works beautifully for scrolling through all the files that I
want to check the permissions on. There will be times I will use this option.
ls | less works well for page up and page down in the current user directory.
This works well for locating a file I just made and checking that I spelled
it the way I want to spell it.
If I find a file is there but I made a typographical error in its spelling, I
can use the move command.
e.g. I create a file called clasical_gas and want to make it classical_gas.txt
mv cla (tab completion) and get mv clasical_gas
Then I type classical_gas.txt .
That is the full command is mv clasical_gas classical_gas.txt.
Then I would do an "ls | less and use page down and page up to scroll to
classical_gas.txt to see that it is there and also to make sure that
clasical_gas is not there.
Thanks again, Szemir, Shawn, Aaron, and Mel.
Regards,
Michael
More information about the clug-talk
mailing list