export command

How do I create a shell script function using Bash under UNIX / Linux operating systems?

{ 6 comments }

How do I add a new path to $PATH variable under Linux and UNIX like operating system? What is my path, and how do I set or modify it using csh/tcsh or bash/ksh/sh shell?

{ 15 comments }

I just need a help to show me how to setup java path on Linux. How can I set JAVA_HOME and PATH variables for every user under my Linux system?

{ 75 comments }

Q. How do I install and run MySQL version 5 database Server under OpenBSD UNIX operating system? A. OpenBSD has pkg_add command. It is used to install packages created with the pkg_create command. Selected packages containing pre-compiled applications from the /usr/ports tree can be found on the OpenBSD FTP site or on the official OpenBSD […]

{ 8 comments }

Q. How do I print current path settings under BASH shell? I’m using Debian Linux. A. In UNIX / Linux file systems, the human-readable address of a resource is defined by PATH. On Unix / Linux like operating systems, (as well as on DOS / Windows and its descendants), PATH is an environment variable listing […]

{ 5 comments }

Q. I find vi hard to use. How do I change my default text editor from vim / vi to Pico under Debian Linux? A. To use and change an editor to edit your text message, set the variable EDITOR to the pathname of the vi / vim binary file. You need to use export […]

{ 15 comments }