0
votes
0answers
22 views

Openmpi mca parameters does not work

I am trying to setup some of the mca parameters for an mpi execution, The command I am trying to run is: mpirun --mca btl_base_verbose 30 --mca btl_tcp_if_include eth1 -nolocal -pernode -machinefile ...
0
votes
1answer
479 views

How to replace strings in file without regex?

I need to replace some strings in files (from command line) but I don't want to use sed -i because my string contains lots of funny characters which need to be correctly escaped. Is there a way to ...
0
votes
1answer
1k views

why is source command not being run in .bashrc

I have a source command which i have to manually run every time I open a new terminal. source /opt/ros/groovy/setup.bash Thus I added the command into the .bashrc file. However the does not seem to ...
1
vote
2answers
3k views

Library missing for executable file

There's an executable I downloaded onto my Ubuntu 10.04 and I can't run because it's missing a library. I have also tried compiling the source with CMake. This is my Terminal output: ...
3
votes
0answers
427 views

Problem with using wmctrl to arrange windows in compiz [closed]

I'm trying to write a bash script to control the arrangement of open windows on a particular viewport and have run up against a problem which is basically I can't find a way to reposition the windows ...
6
votes
6answers
19k views

How do I change my PYTHONPATH to make 3,2 my default Python instead of 2.7.2?

I have python3.2 located in /usr/lib/python3.2. I am not sure if that means it's installed but I assume it is for now. Some facts about my system: $ which python /usr/local/bin/python When I type ...
3
votes
3answers
254 views

After double-clicking a script on the desktop, show output in a terminal

I am trying to make a demo Virtual Machine. On the desktop, I have a script foo.sh and it outputs stdout to foo.log (e.g. with some command > foo.log) When I double click on the script, it ...
2
votes
2answers
2k views

sudo -i only allows one argument

Is this normal? > sudo -u misc -i "ls" note test tmp > sudo -u misc -i "ls ~" -bash: ls ~: command not found > sudo -u misc -i "ls ~" -bash: ls ~: command not found > sudo -u misc -i ...
3
votes
2answers
6k views

How can I install a specific older version of Firefox and keep it from automatically updating?

I wrote a bash script to configure a suite of tools for continuous integration on top of Ubuntu 10.04.2. The script recently stopped working and I tracked the problem down to the newer version of ...
9
votes
2answers
9k views

How do I add a directory to MANPATH or INFOPATH?

I think I understand the instructions given in How to add a directory to my path? about adding directories to $PATH. But I don't understand how to add directories to $MANPATH or $INFOPATH. Also -- in ...
2
votes
3answers
281 views

Teminal non-responsive on load, can't enter anything until CTRL+C

I have an issue with terminal in Ubuntu 10.04. When I launch it, it hangs, like this: I cannot do anything until I press Ctrl + C: I cannot remember when this started. What can be wrong? Looks ...
2
votes
2answers
1k views

Tab completion COMP_WORDS bad array subscript

I have upgraded my Ubuntu to 10.04 and I am facing this problem of COMP_WORDS bad array subscript when I press TAB for certain completion. I thought, it is a bug with bash-completion package and I ...
6
votes
2answers
4k views

What is the default character encoding?

I don't myself know how deep this question actually goes (for example, for all I know there could be several, depending on my task). Particularly, I am interested in what kinds of strings are used to ...