View Full Version : Run SET command in LXTerminal does NOT show environment variable settings
GCMartin
01-02-2011, 08:32 PM
Running Knoppix 6.4.3 LiveCd
Open LXTerminal
become Superuser - "su"
type "set"
I am getting a playout of a script. Shouldn't I be seeing environment variables? help.
Thanks
klaus2008
01-03-2011, 09:46 PM
Hi, GCMartin!
You do not see the environment variables because your LXTerminal does not have enough lines to scroll back. If you issue
su
set > set.log
wc -l set.log you will get the number of lines in the log file. I get 8454 lines. You can read the file set.log with an editor.
It is also possible to increase the number of saved lines in the LXTerminal's menu. I made the experience that I had to close my LXTerminal and open a new one after I had changed the number of lines to 10,000. Afterwards I could issue
su
set and scroll backwards to the first line.
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.