Reload .profile in bash shell script (in unix)??

I'm new to bash shell scripting, and have come across a challenge. I know I can reload my ".profile" file by just do...

Reload .profile in bash shell script (in unix)??

I'm new to bash shell scripting, and have come across a challenge. I know I can reload my ".profile" file by just do...

~/.profile is not loaded when using SSH (Ubuntu)?

Edited to reflect the problem I really wanted to solve: I need to set up my ruby environment so I can deploy via Ca...

Command to search programs in Linux?

Do you have any easy idea to define some alias in .bashrc for finding some command that you want to search (when you...

Mac OSX Lion Terminal ~/.bash_profile Permission Denied?

I am an extreme beginner at Terminal. I was trying to root my Android phone. I altered something after typing in ~/....

Edit .bash_profile in OS X?

How do I edit the bash_profile? I've tried using the command chflags but it shows the error [Error writing. Bash...

Can't export variable in .bash_profile ubuntu 18.04?

I tried to export some variable. I create file .bash_profile and put inside export SPRING_PROFILES_ACTIVE=local Af...

How to reset Bash on Mac OSX, .bash_profile corrupted and bash no longer works?

I am on a MacBook Pro, running the latest version of Mountain Lion. I really need some help, I have managed some ho...

`ssh <host>` is a login shell, but `ssh <host> <command>` is not??

I've noticed that when I run a command directly on an SSH host using the ssh &lt;host&gt; &lt;command&gt; syntax, I ...

Where to find the .bashrc file on Mac OS X Snow Leopard and Lion??

I want to install rvm on my Snow Leopard machine. It says I need to add a line to my .bashrc file (I'm using bash) ...

How do I modify my Git Bash profile in Windows??

I'm using Git Bash on Windows 7 and would like to set up Bash profile aliases such as alias gs='git status' to make ...

How can I fix a Broken Pipe error??

I recently reinstalled RVM (following the instructions at http://rvm.io) after a fresh install of Ubuntu 12.10 when ...

What is the right way to set $PATH variable in zshrc?

When I first install zsh(oh-my-zsh), the ~/.zshrc file has the following lines by default - # If you come from bash...

How do I create a terminal shortcut to this path??

So I'm having a problem creating a shortcut to a deep folder. None of the examples I've seen on Superuser have helpe...