Bash is the shell used in Ubuntu's command-line interface.

learn more… | top users | synonyms (1)

5
votes
0answers
80 views

Pressing enter produces ^M instead of a newline

For example, if I am tail -fing a file or reading user input, <Enter> will produce ^M in the terminal instead of ending the read or adding a newline to stdout. ^J works fine. I'm sshing into ...
3
votes
0answers
41 views

Bash History Search (CTRL+R) in Ubuntu Suggestions?

Is there an extension of some kind which ties Bash's history search (via CTRL+R) into the Ubuntu search suggestions generated when searching via the Windows key (in GNOME3)? Something that would just ...
3
votes
0answers
227 views

msmtp not working?

I was trying to send mail from bash, but it doesn't work and I can't find the reason... So my .msmtprc file is account default host smtp.gmail.com port 587 from account@gmail.com tls on tls_starttls ...
2
votes
0answers
146 views

How can I add gollum to startup application?

I've installed gollum(https://github.com/gollum/gollum) as personal wiki, I have to launch this program in terminal manually. So I want to add it in my startup application. Here is the question. I ...
2
votes
0answers
44 views

Can I set up a cron job on Ubuntu Phone

This is the first question I have asked on askubuntu. I've been looking around, and can't find if Ubuntu Touch can run cron. So my question is: Can it? Also does it have a standard set of bash ...
2
votes
0answers
52 views

Upstart and process substitution

So I want to use the following in my script stanza: forever -l >(tee $QW_LOG_DIR/webserver.log | logger -p user.info -t '[QW]') start webserver.js However, that won't work because: That's bash ...
2
votes
0answers
382 views

How can I create an X server that has a backing store?

So I am completely new to Ubuntu (I am running 12.04 on a Toshiba Satellite). I am trying to remotely access my work computer but I keep getting an error reading: "xevas: requires a X server that ...
2
votes
0answers
485 views

Generating a single LaTeX file by merging different LaTeX files

I have a main LaTeX file which inputs many other LaTeX files i.e. for example \documentclass{article} \begin{document} \input{input1.tex} \input{./Input_folder_1/input2.tex} \input{input3.tex} ...
1
vote
0answers
29 views

How To Set FQDN From Bash Script

Is it possible to set the fully qualified domain name from a bash script? I am using Ubuntu 12.04 LTS. I have an autoscaling group on Amazon and I am using Puppet for configuration. For example, I ...
1
vote
0answers
41 views

Can I open a new terminal with a new binary executing in it?

I tried to write a script that opens a new xterminal with some binary file(not command) running in it.The whole script looks like this: #!/bin/bash XTERM="/usr/bin/xterm -bg WHITE -e ...
1
vote
0answers
28 views

getting problem while executing ./bootstrap

bootstrap file content : !/usr/bin/env bash # The contents of this file are subject to the MonetDB Public License # Version 1.1 (the "License"); you may not use this file except in # compliance with ...
1
vote
0answers
68 views

Problem with characters encoding in bash in 12.04 new install?

I just installed Ubuntu 12.04.4 64 bits, all seemed to be ok, when I started to work on console I noticed: that I couldn't get some accented characters typed in to the console, for example, if I ...
1
vote
0answers
34 views

Matlab compilation returning an error when run

After putting in numerous hours, I felt ready to run my code on my friend's high end computer. I compiled my application (named Zeta). However, when I entered: sh '/home/nicbit/Desktop/run_Zeta.sh' ...
1
vote
0answers
45 views

Login errors in .bashrc in 13.04

I just upgraded to 13.04, and suddenly I get xsession errors in my .bashrc on login. There is nothing wrong with the .bashrc file--I can source it from a terminal login, and after I get into the ...
1
vote
0answers
155 views

How to use debcondf Show results with debconf-set-selections?

I'd like to know in common how to use the results of debconf-show with debconf set selections to precvonfigure deb packages with teh command line or within a shell script For example If I use sudo ...
1
vote
0answers
33 views

Mutiple music player play pause toggle problem

In my setup I use xfce. xfce does not have any method to control the playing and pausing of music players, so I wrote my own script to control the play\pause, next, and previous commands. The problem ...
1
vote
0answers
40 views

enable and disable VPN from bash

I have a number of VPN hosts which I need to access periodically. They are configured and connections work fine off the network manager. I'd like to be able to enable and disable them as needed from ...
1
vote
0answers
162 views

javac cannot found, even after adding non-standart path to it in $PATH

Ubuntu 12.10, 32bit Problem too damn simple: I have a NTFS partition and unpacked from .tar.gz jdk on it. All I need from bash, is to see javac compiler, that is located in directory ...
1
vote
0answers
70 views

How to change bash title in a python virtual environment

I would like to know how to change the bash title modifying the configuration files. I often program in Python and use virtualenv to keep my development environment separated from the system-wide ...
1
vote
0answers
55 views

editing youtube video description, titles through terminal

Is there a way to edit youtube video description and title/tags through terminal? If so, then how to do it? unfortunately, googlecl does not have such function yet.
1
vote
0answers
460 views

Why doesn't duply work when set as a cron job?

I have a problem with a cron job which starts but doesn't complete. Running the command manually works fine. I already read the page about cron issues and solutions here on AskUbuntu, tried the ...
0
votes
0answers
5 views

Startup script xrandr missing LSB tags and overrides please help

hello i have a simple script that looks like this xrandr -s 1680x1050 When i run it standalone it works! when i put the script into /etc/init.d/xrandr.sh I get the error "missing LSB tags and ...
0
votes
0answers
30 views

How to enable lock screen button in Unity after installing xscreensaver?

I need this because I replaced gnome-screensaver with xscreensaver, so the lock screen button does not work. The alias path - may be the XY problem AFAIK alias is usually used to make 'shortcut' for ...
0
votes
0answers
25 views

Absolute basic MQ wanted - command line driven

I am looking to install a very basic command line accessible MQ product. It will be run on Ubuntu 12.04 lts, and should be able to support multiple readers. Any products I should be looking at?
0
votes
0answers
9 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
0answers
32 views

Cursor positioning using mouse in bash possible?

In Vim I can actually position the cursor in insert-mode using the mouse. So I assume this should (technically) also be enable-able for the bash. Is it possible? This would be quite useful at times ...
0
votes
0answers
55 views

How to fix this rsync script?

rsync directory always starts in the home directory, but I want to sync files into a directory inside of a .kde directory. I tried this: rsync -avc -e ssh root@xxx.xx.x.xx:/var/www/.../backup/docdata ...
0
votes
0answers
31 views

Create a pre-commit git hook to fetch and place in appropriate folders

I'm trying to create pre-commit git hook that uses the Transifex Client or custom bash script to fetch all of the language files on Transifex and place them in appropriate folders...could be written ...
0
votes
0answers
49 views

Run multiple screen sessions in a bash script

I know this has been asked for many times. But my script just would not work. I would like to write a simple script running on EC2 in the beginning, which creates two screen sessions and execute some ...
0
votes
0answers
49 views

How can I get Subliminal to work and then integrate it with a file manager?

I have downloaded Subliminal which is a program that downloads movie subtitles.But there are several problems: (1) when I test it at the console with a movie that I know has an English subtitle, I ...
0
votes
0answers
43 views

Terminal and Bash Meta/Alt key combinations

It seems to be impossible to use the Alt key as the Meta modifier for some Bash line navigation commands such as M-f and M-b. This is because Meta = Alt, and Alt-<letter> opens any menu that ...
0
votes
0answers
27 views

Terminator - Bash character encoding - problem visualizing content of some files

I'm using Terminator to manage several bash shells. If I print the content of some files, some characters are bad displayed. Even if the character encoding is setted to UTF-8. Below there is the ...
0
votes
0answers
26 views

A script which can be run from a flash drive and modify startup applications

So I have created a script I would like to run on computers at startup on the network I manage. Each is unique, so merging settings accross the network would be problematic. I could change each ...
0
votes
0answers
167 views

How to install windows 8/8.1 themes on ubuntu?

I found this link and this one that shows that win 8 theme could be implemented ! I could it even make it faster and 100% compatible to ambiance. My question is the following: We all know that ...
0
votes
0answers
46 views

Problem with apt-get

Whenever I run apt-get in terminal I always get the same error apt-get: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.17' not found (required by /usr/lib/x86_64-linux-gnu/libstdc++.so.6) I ...
0
votes
0answers
41 views

Kubuntu: open application on specific monitor using bash script

I use two monitors and i want to write a bash script which opens applications on my second monitor (thunderbird for example). I use conky which is also on my second monitor. I want to define the size ...
0
votes
0answers
93 views

Cronjob for MySQL Backup Bash Script Not Running

I am trying to backup many MySQL Databases on a daily basis into a Single ZIP. The bash script works fine by itself (ran in normal environment), but when the Cronjob takes over it does not run. Infact ...
0
votes
0answers
30 views

Good option for a command line SIP client?

I am looking for a simple command line based SIP client that can do the following: Can Register to a Elastix PBX Auto answer calls Play a ring sound Dial a extension when a key is pressed OR be ...
0
votes
0answers
29 views

How to check scripts/jobs in batch mode with atq

Is it possible to know which script is related to any job listed with atq? Read info on man at but couldn't find the option. I would like to add a column to the following list with script name. atq ...
0
votes
0answers
15 views

how to pass uubaa{qv} arguments to gdbus?

I found the way to pass a {sv}, that is working well, (thanks to aport), but my arguments are more complex. uubaa{qv} I tried to pass it like that: "1 1 0 [[{160: <46.52>},{161: ...
0
votes
0answers
42 views

Option for GREP only non-default processes and services?

is there any option for grep only non default processes and services? I know how show all of this and export to file, but manual reading and deleting line by line is not ideal. :-) Thanks for your ...
0
votes
0answers
199 views

Auto mount webdav folder

I want to auto mount webdav folder with bash script. My server resources very pool so I have a memory problem about webdav. Therefore, I have to umount webdav folder for clear cache and memory. But, I ...
0
votes
0answers
294 views

Ubuntu 13.10 - how to have a remote desktop initialized via command line?

I have few users remotely who using Ubuntu 13.10 and they have lot of issues cause they are new and learning Ubuntu 60+ age. As a result for free teaching i need to have remote access instantly in ...
0
votes
0answers
54 views

hostapd run as service/startup

I have installed and configured hostapd in ubuntu and everything works as expected. However, I would like to start the associated config/scripts files automatically. I have created one script file ...
0
votes
0answers
161 views

crontab doesnt upload file via ftp script

I Write script that make a zip file with /var/www Directory And mysqldump db And upload it via ftp And change mode to executable file And put It in cron tab but file doesn't upload !!! #!/bin/bash ...
0
votes
0answers
56 views

iHeartRadio - Looping for changed Auth Code

I have a bash script I'm running that plays a station from iHeartRadio in the CLI. I also use it to record a show in the early morning on my RaspPI so I can listen later in the day. The script works ...
0
votes
0answers
52 views

Ubuntu startup and shutdown

I have an Ubuntu machine with IBM Websphere and SoapUI I use SoapUI to run a MockService and Websphere to load some web applications and services. I want my machine to shutdown at 23:59 and to power ...
0
votes
0answers
38 views

Various search path settings in gnome terminal missing default folders

I'm running Ubuntu 12.04 LTS. When I open a gnome terminal ( Ctrl+Alt+T ) the path settings for things like LIBRARY_PATH, C_INCLUDE_PATH, etc. are all set to just :/usr/local/lib or the like. The ...
0
votes
0answers
55 views

How to auto-run a script each time a Global Keyboard Shortcut is used in Ubuntu?

I don't want to reassign the Global Keyboard Shortcut keys. They should be doing their what they were meant to do. But in addition to that, I would like a bash script to run every time the particular ...
0
votes
0answers
37 views

inotifywait does not shut down my computer

I've put this script at startup in /etc/init.d, when some user changes password, this script updates it on another file data.txt, It is working fine, but when i shut down my computer it was not doing ...