TCSH / CSH Shell Set PATH Variable

To set the PATH environment variable in the TCSH/CSH shell, you can use the following syntax:   set path = (dir1 dir2 dir3 …) Replace dir1, dir2, dir3, etc., with the directories you want to include in the PATH. For example, to add the /usr/local/bin directory to the PATH, you can use the following command: … Read more

Unix Create a File Command

To create a file in Unix, you can use the touch command. The touch command allows you to create an empty file with a specified name. Here’s the basic syntax:   touch file_name Replace file_name with the desired name for the new file. For example, to create a file named example.txt, you can use the … Read more

Linux List All Environment Variables Command

You can use the following command to list all environment variables in Linux:   printenv This will display a list of all the environment variables and their values. To view a specific environment variable, you can use the following syntax:   echo $VARIABLE_NAME Replace VARIABLE_NAME with the name of the environment variable you want to … Read more

Ubuntu / Debian Linux Install Keychain SSH Key Manager For OpenSSH

To install Keychain on Ubuntu/Debian Linux, you can follow these steps: Update the package list:   sudo apt-get update Install Keychain:   sudo apt-get install keychain Add the following lines to your shell profile file (e.g., ~/.bashrc, ~/.bash_profile, or ~/.zshrc) to set up Keychain:   # Keychain eval “$(keychain –eval –agents ssh id_rsa)” Restart your … Read more