I occasionally need to connect to a Linux server via ssh. Since I use an ssh client which has a dark background, the default colors used by the ls command frequently makes directory listings difficult to read. Fortunately you can solve this one of two ways.
For a solution which will persist throughout the ssh session, you can issue the "unalias ls" command. That removes the alias which causes the odd coloration. It will reappear the next time you log into that server.
For a non-persistent solution you can preface the ls command with a backslash. Using "\ls" prevents any command alias from being used.
This blog is intended to give me a place to comment on things which strike my fancy, hence the title. Topics may include computer software or hardware, science, space, books, movies, television programs of a geeky nature, or almost anything else.
Subscribe to:
Post Comments (Atom)
-
A long time ago I was given a bit of advice that has served me well over the years. An engineer with much more experience than I had at the...
-
We lost our very special dog to an osteosarcoma a few days ago. He started limping a little over 4 months ago and it took a while to dia...
-
Most of the longtime Unix users like me love grep. Regular expressions make the silly wildcards available in Windows seem completely underw...
No comments:
Post a Comment