View previous topic :: View next topic |
Author |
Message |
stefanonafets l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/419971626410bbd508e677.gif)
Joined: 10 Feb 2003 Posts: 644
|
Posted: Thu Mar 20, 2003 12:11 am Post subject: ls a colori... come??? |
|
|
Come da titolo, come faccio ad avere ls a colori (tipo la redhat o il livecd 1.4-3)
Tank _________________ registered Linux user number #411324
sed 's/ke/che/g'
<The Deployment Slave is initializing> |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
skler n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 18 Feb 2003 Posts: 14
|
Posted: Thu Mar 20, 2003 12:25 am Post subject: |
|
|
scrivi da shell
Code: | alias 'ls'='ls --color' |
ogni volta ke eseguirai il comando ls ti darà l'output a colori se vuoi ke venga fatto sempre e x tutte le shell mettilo in qualche file di init...
ti posso consigliare /etc/profile (non ho testato se funziona) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cerri Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/7000506493e7cdb5c136c3.jpg)
Joined: 05 Mar 2003 Posts: 2957 Location: # init S
|
Posted: Thu Mar 20, 2003 8:00 am Post subject: |
|
|
Funzica, funzica ![Very Happy :D](images/smiles/icon_biggrin.gif) _________________ Enjoy your freedom.
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you.
<----------------------->
Andrea Cerrito |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
teknux Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Southpark/avatar36.gif)
Joined: 19 Feb 2003 Posts: 517 Location: Rome, IT
|
Posted: Thu Mar 20, 2003 10:24 am Post subject: |
|
|
aggiungo una piccola opzione:
Code: | alias 'ls'='ls --color=auto' |
in questo modo, ls "capirà" quando dovrà usare i colori e quando non è il caso. ad esempio, dando un
ls /etc | less
senza l'opzione "auto" vicino al --color, vedresti l'output pieno di codici per i colori (qualcosa tipo "ESC1;30" ...).
buon utilizzo
teknux |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
sciack Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/828028884054e6b116ff2.jpg)
Joined: 19 Jun 2002 Posts: 120 Location: Genoa, Italy.
|
Posted: Sun May 18, 2003 9:44 pm Post subject: uhmm |
|
|
ciao,
io avevo travo un'altra soluzione per far vedere i colori a 'less'... però sono passati parecchi mesi, mi sembra fosse qualche opzione da passare a 'less'... non ricordo quali. mi informo, se trovo come facevo.
byez _________________ the sciack |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|