Linked Questions

4 votes
2 answers
19k views

How to automatically set PulseAudio default sink to remote server at boot - Ubuntu 9.04

I use the Pulseaudio Device Chooser to set the default sink (on a laptop) to a remote server. This works fine. When i reboot my laptop, the default sink reverts back to "default" (the laptop sound ...
Dave M's user avatar
  • 71
3 votes
2 answers
12k views

Understanding .bashrc and .bash_profile [duplicate]

Possible Duplicate: When should I put configurations into .bashrc vs into. .bash_profile? I am a n00b when it comes to working in Linux env and would like to know the purpose of .bashrc and ....
name_masked's user avatar
3 votes
2 answers
23k views

Command shortcut to ./startup.sh Tomcat

Every time I need to start or stop Tomcat, I am navigating to: /Tomcat_Dir/bin and once I am in the folder I enter: ./Startup.sh And to stop the server, I navigate to the same directory and enter:...
sc_ray's user avatar
  • 145
3 votes
2 answers
864 views

Confused about setting environment variables

I've been trying to set some environment variables for hours and it does not work grml Here the setting: I use Debian 6 and there the terminal from the desktop. In this window, I type "su" to login ...
strauberry's user avatar
1 vote
2 answers
2k views

Ubuntu color text in terminal not showing up unless I run

I am using a droplet (vps) from digital ocean, and when I first got it and logged in the text was colorized automatically, I must have changed something to make it not colorized, now I have to either ...
nooby's user avatar
  • 13
1 vote
2 answers
888 views

Directories appearing twice in $PATH

Following advice from a course, I added the following line to my .bashrc: export PATH=/home/dodgycoder/kafka_2.12-2.3.1/bin:$PATH Now, when I open a terminal window I get this directory shown twice: ...
DodgyCodeException's user avatar
14 votes
1 answer
18k views

~/.profile is not sourced on startup

I've recently installed virtualenv + virtualenvwrapper on Linux Mint 10 LXDE. For convenience I've added the standard WORKON_HOME settings to my ~/.profile export WORKON_HOME=$HOME/Envs source /usr/...
Botond Béres's user avatar
5 votes
1 answer
6k views

export PATH= not holding in Bash OS X

This is somewhat of a noob question but I'm having problems adding to my path and can't remember how I got changes working the last time I did it. So I'm using the command "export PATH=$PATH:/Users/...
evanmcdonnal's user avatar
  • 3,158
5 votes
1 answer
5k views

Where do I initialize my environment when the shell loads?

I am using bash shell and have content in my .bashrc. When Terminal app opens (on my mac), this file however is not initialized. I am always able to manually . ./.bashrc, however i'd rather not have ...
JAM's user avatar
  • 479
5 votes
1 answer
1k views

Bash shell: how to reconcile portable configuration files and GUI terminal start-up types (login or interactive)?

In an attempt to "properly" implement a standard configuration of my preferred shell, bash, for use across multiple platforms, I've come across some confusion when dealing with terminals that are ...
jmlane's user avatar
  • 227
3 votes
1 answer
9k views

shell environment setup for virtualenv/virtualenvwrapper

The question is about shell setup for virtualenvwrapper, an extension to virtualenv (python guide). Similar questions had been asked many times but with a lot with different answers: Environment ...
hute37's user avatar
  • 101
2 votes
1 answer
979 views

Why is there a .bash_profile and .bashrc, they seem to do the same thing? [duplicate]

Possible Duplicates: When does mac/ubuntu use .bash_profile and/or .bashrc? Difference between .bashrc and .bash_profile I loaded up ubuntu on a vm on my windows computer, and my .bash_profile ...
user27449's user avatar
  • 6,920
1 vote
1 answer
759 views

When does mac/ubuntu use .bash_profile and/or .bashrc? [duplicate]

Possible Duplicate: Difference between .bashrc and .bash_profile Are they both the same type of file in terms of setting the bash terminal settings, and if no .bash_profile exists then it uses ....
user27449's user avatar
  • 6,920
0 votes
1 answer
3k views

how do I run a sudo command and load the environment variables of current logged on user?

I need to run an ssh sudo command. command is as follows: ssh -i keyfile [email protected] 'sh -v /opt/dir/script' the script contains the following: sudo -E node some.js the reason I use the -E ...
reza's user avatar
  • 365
0 votes
1 answer
1k views

Changed "path" variable in Ubuntu Linux and basic commands have stopped working

I'm using Ubuntu 14.04 (as a virtual machine). I installed TeX Live system over the internet. Once the installation of TeX live finished, it said Most importantly, add /usr/local/texlive/2015/bin/...
Prasanna's user avatar
  • 4,074

15 30 50 per page