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

learn more… | top users | synonyms (1)

3
votes
0answers
72 views

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

Is there an extension of some kind which ties Bash's history search (which you get with CTRL+R in a terminal) into the Ubuntu search suggestions generated when searching via the Windows key (in ...
3
votes
0answers
266 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
61 views

how to easily make an Alias command permanent

I search everywhere and almost everyone was suggesting to open the ~/.bashrc or ~/.bash_aliases , then put the alias command there, I created a function name palias as permanent alias function and put ...
2
votes
0answers
56 views

Can I set up a cron job on Ubuntu Phone

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 utils installed?
2
votes
0answers
68 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
687 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
810 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} ...
2
votes
0answers
565 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 ...
1
vote
0answers
30 views

How do I open an URL from a bash script?

I have a simple script to start a node.js webserver and open the URL in a browser. However the last part doesn't seem to work, it wont open the URL in a browser (or anywhere else). This is the code I ...
1
vote
0answers
53 views

How can I draw selection rectangle on screen for my script?

I am trying to make a simple screencasting bash script. I want to get screen selection coordinates by drawing a red rectangle with mouse. I can use xdotools to get coordinates but how can I draw ...
1
vote
0answers
71 views

Can you use gnome keyring in bash script, if yes then how?

I am developing a automated mounting script for Windows shares. I have finished the script and it works just fine, but is it possible to add Gnome Keyring to the bash so once user writes hes/hers ...
1
vote
0answers
45 views

On Trusty, what is CL program to create desktop configuration file?

On Precise, I used to create a desktop configuration file with my own GUI wrapper which called the gnome-desktop-item-edit command line program (part of the gnome-panel package) which had the ...
1
vote
0answers
71 views

Why is netcat remote shell not returning any output on ubuntu 12.04?

I'm connecting to a server I have on my laptop, both are on the same vmnet and both systems are Ubuntu 12.04 LTS. In order to connect I use reverse shell from the web sever. First I start listening ...
1
vote
0answers
70 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
51 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
174 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
53 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
59 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
175 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
46 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
344 views

“Normal” variables in Upstart

I haven't quite figured out, how to use "normal" bash variables in an Upstart script. Basically, I just want to do this. DAEMON="/usr/bin/redis-server" DAEMON_ARGS="/etc/redis/redis.conf" ...
1
vote
0answers
50 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
196 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
81 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
57 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.
0
votes
0answers
5 views

How to disable notifications sound while XBMC is runnig?

I would like to know if it's possible to disable notification using XBMC (mails, network etc). I'm using Kubuntu 14.04.1. I've found this command but the script doesn't work, the sound is re-enabled ...
0
votes
0answers
13 views

Slow bash tab completion

My bash shell's tab completion is very slow, usually taking 1-2 seconds per completion. This only seems to happen when I'm using my laptop from work. Tab completion is very speedy when using my laptop ...
0
votes
0answers
19 views

Terminal flashing between current and previous screen

I just upgraded from Ubuntu 12.04 to 14.04. After upgrading the terminal will sometimes, but not always, flash between the current screen and the previous screen. Here are some examples: The output ...
0
votes
0answers
25 views

Terminal closing itself after 14.04 upgrade

All was fine in 12.04, in this case I'm using virtualbox in Windows. The upgrading process ran ok, no errors, no warnings. After rebooting the errors started to happen. Just after booting up there ...
0
votes
0answers
15 views

no such package beginner tutorials

I'm using Hydro. I am new to this. I was reading the book "A Gentle Intro to ROS" by Jason M. O'Kane. I got up to the section "Creating a package". I was following the "create a workspace" and ...
0
votes
0answers
15 views

Backup function

I am attempting to make a function that you provide it a file name, it then make a back up of the file and slaps on a time stamp to mark the file. Once it time stamps the file it prints out all files ...
0
votes
0answers
12 views

when building u-boot /bin/bash: arm-none-linux-gnueabi-gcc: command not found

I am currently running Ubuntu 12.0.4 on a 64 bit machine. I have an AM335X development board. Along with the kit came the compressed kernel (linux 3,2), rootfs, u-boot, and ARM cross compiler ...
0
votes
0answers
17 views

disable all hotkeys with dconf-editor

I'm building a deb package that will create a kiosk user account. When you login to this account, the browser automatically starts and navigates to a pre-given website. Also all the hotkeys should be ...
0
votes
0answers
13 views

How do I send a notification into blue-envelope area from bash?

I want to send a notification that would be permanently visible, e.g. so I won't miss it. Ideally this would be a MacOS-like popping GUI icon in Dock, but as I understand, such a notification in ...
0
votes
0answers
10 views

Console Mode VIM 256 Color Support

This question is about using the console mode (i.e. ctrl+alt+f1) and not about using a terminal emulator. When running from a terminal emulator, my VIM uses 256 colors without a problem. I've tried a ...
0
votes
0answers
22 views

Permissions when running second level script

Evening Everyone, I have 1 bash script that starts the program Motion (some may be familiar with). Motion links to a script in the motion.conf upon picture save or file save to a perl script that ...
0
votes
0answers
21 views

msmtp - errors sending bash but not command line

This is in reference to a post on another forum but didn't get a single response so hoping that others here might know Here. I am trying to send a message with attachment using bash and msmtp. When ...
0
votes
0answers
22 views

Script runs program instead of just running script

I want to make a script to run the following command with a double click. My script is: cpufreq-selector -c 4 -g performance Manually running it in terminal is fine but if I use a .sh file it ...
0
votes
0answers
19 views

xmacro without running x server?

I need to record typing in terminal, and it works just great in x session inside of xterm with xmacro, but I need to do such macro recording without running x server, and I can't really find the ...
0
votes
0answers
48 views

unable to run script using “startup applications” option in ubuntu 14.04

I am trying to run following script to run my rails application on startup but unable to execute. run_my_app.sh #!/bin/bash cd /home/<user>/<my_rails_app> && rails server ...
0
votes
0answers
15 views

How do I sync Metadata?

Pryor to an update,I spent months editing and recovering album meta-data manually from the internet,making sure everything is the way it should be,sad to say after a kernel update I could not log in ...
0
votes
0answers
12 views

Setting & Saving bookmarks on a video timeline

I have used openshot or better still flowblade in order to trim my videos say to get rid of advertisements but perhaps back in Windows era I was too fond of Solveigmm Video Splitter that I found any ...
0
votes
0answers
51 views

Lost graphical login after automating script command

I'm running Ubuntu 12.04 LTS and I want to log all input/output from users. I've simply tried adding script -a -f /LOG_files/Log_file.txt to users ~/.profile. The logging works just fine, but ...
0
votes
0answers
50 views

Disable 'ESC' and 'Shift + Tab' history shortcuts in terminal

When in a bash terminal, if I hit ESC or Shift + Tab the command line goes to the history where I can move around to previous bash commands with vi-like bindings. I get messed up when in this mode ...
0
votes
0answers
51 views

How much Memory/RAM is really being used by this Ubuntu 14.04 system

How much RAM/memory is really being used by the Ubuntu 14.04 x64 system? From htop, the amount of memory used is 3 GB and swap usage (on SSD) is 5.7 GB. However it appears that the most memory hungry ...
0
votes
0answers
39 views

Why I obtain this compile error when I try to install a software?

I am not yet a Linux guy and I am going crazy trying to install a software compiling it on Ubuntu 14.04. This are the only provided instruction to install it: Debian First, make sure that ...
0
votes
0answers
41 views

arecord flac format

I am playing with scripts that use the google speech-to-text api. The api requires flac encoded files so the recording part of the script looks like this: arecord -q -t wav -d 0 -f S16_LE -r 16000 | ...
0
votes
0answers
36 views

Init.d script not updating git repository

I have the following init.d script running on my ubuntu machine: # /etc/init.d/do-updates cd /home/ubuntu/Fox;git pull sudo /home/ubuntu/Fox/batch_update_process.py 1>> ...
0
votes
0answers
87 views

After exporting $PATH, commands don't work anymore

Trying installing Java, I tried to add it to the executable path with the line: export PATH=/usr/lib/jvm/jdk1.7.0_60/bin:$PATH in the system-wide /etc/bash.bashrc file. For some reason this ...
0
votes
0answers
36 views

Alias's in .bash* not working

I am trying to create an alias and it does not seem to be working. I have tried it with both .bashrc and .bash_aliases. If I open my terminal and perform source .bashrc, then they work OK. What am I ...