Working Environment


Table of Contents

Get Linux System info 
Linux distro 
Get Linux info via cmd:gcc 
cmd:uname 
Usage 
Help 
CLI verus GUI, philosophy difference between *niX and Window$ 
niX power tools 
The Unix Philosophy 
The Unix Philosophy 
/opt verus /usr/local 
/opt verus /usr/local 
/usr and /usr/local 
dir protection 
`whoami` equivalent env variable 
`whoami` equivalent env variable 
`whoami` equivalent env variable 
`whoami` equivalent env variable 
which echo understand \n 
cmd:man 
man sections 
man command options 
How man determine MANPATH in Linux 
config the default MANPATH 
cmd:info quick reference 
Search 
cmd:apropos 
cmd:catman 
Usage 
Help 
tty 
To self 
To others 
Xterm escape sequences 
Xterm escape sequences 
escape sequence 
escape sequence 
escape sequence 
unknown terminal type 
Can't find a valid termcap 
Can't find a valid termcap 
restore normal pts settings 
restore normal pts settings 
restore normal pts settings 
Corrupted fonts after viewing binary file 
Corrupted fonts after viewing binary file 
Corrupted fonts after viewing binary file 
No carriage return 
Symptom 
Solution 
Reason 
Backspacing 
'stty sane' in insane 
'stty sane' in insane 
Tab Settings 
Tab Settings 
Tab Settings 
Tab problem 
Alt-b problem, please help 
how to avoid ESC sequence 
how to avoid ESC sequence 
how to avoid ESC sequence 
script and ESC sequence characters 
Symptom 
Reason 
Solution 
cmd:ldconfig 
Conf file 
Usage 
Help 
How do I check for a prior instance of a script 
invoking a script (not in a subshell) 
convert a dos path to unix path 
kill xterm == kill application 
how to setup $PATH for ALL users ?? 
how to setup $PATH for ALL users ?? 
how to setup $PATH for ALL users ?? 
env PATH contains duplicate paths 
env PATH contains duplicate paths 
Unix path 
Value 
Set 
Use 
Amend 
Broadcast to myself 
Usage 
Trying History 
Problem 
root can't login — no shell!!! 
root can't login — no shell!!! 

Get Linux System info 

Linux distro 

$ cat /proc/version
Linux version 2.4.7-10 (bhcompile@stripples.devel.redhat.com) (gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-98)) #1 Thu Sep 6 17:27:27 EDT 2001

Get Linux info via cmd:gcc 

$ gcc -dumpmachine
i386-redhat-linux