Tag Info

New answers tagged

3

I think your problem is due the space in the environment variable's contents. Looking at the examples from the systemd docs, an assignment should be a single string: Example: Environment="ONE=one" 'TWO=two two' ExecStart=/bin/echo $ONE $TWO ${TWO} This will execute /bin/echo with four arguments: one, two, two, and two two. Example: ...


1

Perform the following steps in the current shell (tested with zsh and bash), not in dash: Open your .profile: nano ~/.profile Add this line ENV=$HOME/.dashrc; export ENV Open .dashrc nano ~/.dashrc Add this line: export MYVAR=/path/to/whatever Finally reload .profile . ~/.profile or logout and login. Now start dash with: sh or dash and ...


0

Just ran into this issue locally after running updates. Looks like the root issue is Drush doesn't know where to find a legit copy of php that includes pdo. Fortunately it supports stashing this path in an environment variable, so I did this on the commandline: export DRUSH_PHP="/Applications/MAMP/bin/php/php5.4.39/bin/php" That fixed the issue so I ...


0

As far as I can see Your Proxy server require Autentification: 407 Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy filter is denied. ) E: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/universe/h/htop/htop_1.0.3-1_amd64.deb 407 Proxy Authentication Required ( The ISA Server ...


5

From man bash: PS2 The value of this parameter is expanded as with PS1 and used as the secondary prompt string. The default is ``> ''. The "secondary prompt string" is what is shown when you have multi-line input. For example: $ echo 'foo >bar' The > shown above is PS2. If I were to change that, I would see it as soon as I ...


2

I think you mean this: spd-say "$(date)"


1

To just change the home dir for the user USER to /some/other/dir use sudo usermod --home /some/other/dir USER You need to make sure /some/other/dir actually exists and has proper permissions. No files will be copied. If you want to move the contents of the old home dir to the new one you can use. sudo usermod --move-home --home /some/other/dir USER ...


2

HOME is usually derived from the user's entry in /etc/passwd. You can use usermod to change this entry, but only if your user is not logged in. Therefore, you need to either: Set a root password and login as root from a TTY, or Boot to recovery mode (see How do I reset a lost administrative password? for an example guide) In either case, once you have a ...


0

It isn't PPAs that are unsafe, it is the stuff inside that can make them unsafe (more here). I use the PPA you linked to run Oracle Java myself, rather than install it every new update, and it is a reputable source for many people. If you want the easy, and in this case, safe way, feel free to follow the guide you linked to add the PPA, otherwise follow the ...


1

I have been using that webupd8 PPA for a long time, and it has always worked fine for me. Look at this similar question/answer For your general question about PPAs... Using PPAs is a fact of life for many 3rd party software apps in Ubuntu. There is nothing inheritely wrong/bad with it at all. Of course, it's always best to stick with the supported ...


0

Your assignment name_on_scratch= "basename" "$PWD" is improperly formed: basename is a command, so you need command substitution using either backticks or $(...) syntax. Also it can't have space around the = operator: name_on_scratch="$(basename "$PWD")"


0

You should ensure that $jobid has a value which can be used as a directory name.


0

I realize this is a somewhat old question, but I spent a day+ trying to nail this problem down, and I found what I think is a solid best practices type of solution -- use the rvm wrappers. /usr/bin/env ruby gives you the capability to use the Ruby version of your choice so you don't have to edit the executable shell scripts (in /bin) with a hard coded ...



Top 50 recent answers are included