≡ Menu

export command

How to undefine and unset a bash environment variable on Linux or Unix

I have set the shell variable. I no longer need the variable. How do I undefine or unset a variable in bash on a Linux or Unix-like desktop system?
[click to continue…]

Minify and Compress CSS & Javascript Files At a Linux/Unix Shell Prompt

How do I minify and compress CSS & JS files on Linux or Unix-like system using shell prompt on my server? How can I minify JavaScripts and stylesheets at shell promot so they can download faster over the Internet without using any online tools?
[click to continue…]

CentOS Install Java SDK using yum Command

How do I install JDK runtime environment on a CentOS Linux version 6.x using yum command?
[click to continue…]

Linux / Unix: Read a Man Page From Local Directory

I have a man page stored in my home directory called ~/foo.1. How do I read a $HOME/foo.1 man page file? How can I read the file called ~/foo.1 as a manpage with man command?
[click to continue…]

TCSH / CSH Shell Set PATH Variable

I am a new Unix / Linux / Apple OS X user. What is my path in CSH / TCSH shell? How do I set or modify path in c shell (CSH) on Unix like operating systems?
[click to continue…]

Linux / Unix: Bash Shell See All Exported Variables and Functions

How do I see a list of all exported variables and functions under Unix bash shell?
[click to continue…]

HowTo Run a Script In Linux

How do I run a Linux shell script? How can I run a script in Linux operating system using command line options?
[click to continue…]

Use export Command in Linux / Unix

How do I use export command under a Linux or Unix-like operating systems to set variables on a bash shell?
[click to continue…]

HowTo: Linux / UNIX Unset TMOUT ( AutoLogOut )

I‘ve set the the TMOUT in the ~/.profile of the user account as well as in /etc/profile file on my UNIX or Linux servers. How do I unset the TMOUT variable? How to unset TMOUT temporarily under UNIX like operating systems?
[click to continue…]

Bash Shell Script Function Examples

How do I create a shell script function using Bash under UNIX / Linux operating systems?
[click to continue…]