> Hi!
>
> Ca'c ba.n cho ho?i:
>
> 1/
> Trong Redhat thi` ca'c bie^'n
>        HISTFILESIZE=
>        HISTSIZE=
> ddu+o+.c dda(. ta.i /etc/profile.
>
> Nhu+ng trong Debian (Sarge) gia? su+? add va`o /etc/profile
> HISTFILESIZE=0
> HISTSIZE=20
>
> thi` sau khi reboot, le^.nh history va^~n cho ra mo^.t output da`i
> tho`n.  Ca^`n add va`o dda^u dde^? pha't huy ta'c du.ng?
>
> m k h _ s g n
>

Trong Sarge (default bash shell), thi` cu~ng gio^'ng nhu+ Redhat tho^i. 
Ba'c muo^'n bie^'t variable HISTSIZE co' ddu'ng ko thi` bo? command "echo
$HISTSIZE" tru+o+'c va` sau HISTSIZE=20 thi` se~ ro~.  Thi' du.

......
......
echo $HISTSIZE
HISTSIZE=20
echo $HISTSIZE

Ba'c se~ tha^'y 2 gi'a tri. cua? HISTSIZE la` 500 (default) va` 20.  Ne^'u
ko thi` cha('c co' va^'n dde^` gi` ro^`i.  Ne^'u va^.y thi` post ca'i
profile file le^n ba` con xem.



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
VietLUG-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vietlug-users

Trả lời cho