On Tue, Jun 26, 2018 at 12:38:11PM -0700, Stan Gorodenski stanlep@commspeed.net [LINUX_Newbies] wrote:
> Thanks Joan, Bruce, Scott, and Ken. ls --color and ls -a --color works,
> but I have to enter --color all the time. I guess some kind of change I
> did not want occurred in a file. I will probably have to find it and set
> it back to what it was using nano.
You can make your own .bashrc do the alias
In $HOME you should have a file .bashrc with a dot in front of it, That
means it's a hidden file.
In it put
alias ls='ls --color'
Then type
source .bashrc
>
> I assume pipe works in other commands, such as cl, besides ls. I had run
> a cl command and it came up with more than a page full of messages and I
> wanted to see the beginning.
Piping works with any command.
You can also usually redirect something to a file to look at later. For
example ls > list.txt
--
Scott Robbins
PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6
Posted by: Scott <scottro@nyc.rr.com>
Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (6) |
No comments:
Post a Comment