Tagged Questions
14
votes
1answer
237 views
Why use env in shebang?
What is the purpose of using #!/usr/bin/env <sh|bash|python> shebang compared to #!/bin/bash, #!/bin/sh or #!/usr/bin/python?
1
vote
1answer
92 views
how to remove environment variables set for QSTK?
I am new to Ubuntu, and I'm having trouble with the terminal application. Every time I open it this message appears:
"bash: /home/xxxxx/.bashrc: line 1: syntax error near unexpected token `('
bash: ...
6
votes
2answers
264 views
Is there a difference between “.” and “source” in bash, after all?
I was looking for the difference between the "." and "source" builtin commands and a few sources (e.g., in this discussion, and the bash manpage) suggest that these are just the same.
However, ...
1
vote
0answers
247 views
DISPLAY environment variable when switching users? [closed]
I'm working on porting Unity to Arch Linux and frequently switch between two users to do testing. Sometimes, sonthing goes wrong, and compiz crashes, leaving me with no desktop, no launcher, and no ...