environment variable

How do I auto Logout my shell user in Linux after certain minutes of inactivity?

{ 0 comments }

How do I display shell command history with date and time under UNIX or Linux operating systems?

{ 21 comments }

Question: I can use less or more pagers to view a file. How do I start an editor (such as vi or other text editor) to edit the current file without leaving the less or more pager?

{ 3 comments }

I’m behind a squid proxy server. How do I access internet via proxy server when I use wget, lynx and other utilities from a shell prompt?

{ 11 comments }

Q. I’d like to rebuild a Debian / Ubuntu package called foo with additional option. How do I recompile .deb packages?

{ 18 comments }

How To Read / Print $PATH Shell Variable

by Vivek Gite on January 13, 2008 · 0 comments

Q. I’m new to Unix / Linux and I’d like to print current values of $PATH variable. How do I read $PATH from a shell prompt?

{ 0 comments }

Linux logged out a user automatically

by Vivek Gite on November 6, 2007 · 4 comments

Q. We have a few users who frequently forget to log out and I’d like to force them or automatically log out a user in case of inactivity detected. How do I force user to be logged out automatically? A. BASH provides TMOUT variable. It is necessary for security reasons to have an inactive user [...]

{ 4 comments }