The use of control systems to reduce the need for human work. Related to automatic systems.

learn more… | top users | synonyms

1
vote
1answer
43 views

How to perform unattended installations of Ubuntu Desktop?

I know that there is a lot of information about headless and unattended installation of Ubuntu servers. But I need to install the desktop version of Trusty on a lot of machines and I would like to ...
1
vote
1answer
17 views

Is there a way to pass arguments to be parsed when dpkg --configure <package> requests user input? [duplicate]

I'd like to run dpkg --configure virtualbox-guest-x11 from within a shell script so it can answer N to the following question. $ dpkg --configure virtualbox-guest-x11 Setting up virtualbox-guest-x11 ...
0
votes
2answers
99 views

Autostart program whenever a file is added to the Downloads folder

I have Lubuntu 14.04 LTS on my laptop for a few weeks now. I have been working on customizing the OS and such quite a bit, as well as installing everything that I need for daily usage. One thing I did ...
0
votes
1answer
43 views

Writing a bash script to execute/automate install of drivers

i'm trying to write a script to automate the install of TV card drivers (for some reason i have to re-install after each ubuntu update). Would this work? I've tried it but it doesn't look like it's ...
0
votes
0answers
10 views

How to Automate Custom Ubuntu 14.04 Build And Test That All Services Are Running

I have been trying to figure out, and was hoping you may be able to share some tips, for how to automate the creation of and setup (e.g. answer the questions during installation) of a Virtual Machine ...
-1
votes
0answers
26 views

automate ssh commands and read output

I am working on my assignment where I have to enter a certain key on ssh terminal to open next problem. There are several candidate keys which I have shortlisted and i need to enter them via ssh, ...
1
vote
0answers
14 views

Batch export torrent files from KTorrent

To export single torrent file: Right mouse click -> Advanced -> Export Torrent To export n torrent files: ???
0
votes
0answers
18 views

I wish to automate VM installation in KVM how do I?

I wish to automate VM installation in KVM how do I? My setup is as follows: Host server: Ubuntu 12.04 64 bit RAM: 48 GB HDD: 800 GB CPU: 24 I wish to install Virtual machines using automation (one ...
2
votes
1answer
50 views

How to run a cron job as a specific user?

I have a couple of commands I want executed after the machine boots up. A user shouldn't have to log in or anything for them to run. I found this great answer suggesting crontab with the @reboot ...
0
votes
1answer
28 views

Can I automate filesystem cleanup?

I have a multi-user system and recently started receiving messages saying low disk space in filesystem /root and the same for /boot. /boot was at 100% capacity, so I ran: sudo apt-get ...
0
votes
1answer
27 views

Create a clickable install script for software

I want to create a simple script that a user can download, click on, and it will: request their root password through some sort of pop-up interface then sudo apt-get install a package to their ...
3
votes
1answer
35 views

Connect to a VPN with a password from the commandline

I can trigger the start of connection to my VPN by saying nmcli con up id WORKVPN But I have an RSA SecurID that is part of the authentication, which means I can't store a password. Without a ...
0
votes
0answers
24 views

Where are the settings modified by “unity-tweak-tool” stored? [duplicate]

Where are the settings as modified by "unity-tweak-tool" stored? Can they be edited with a text editor? Is there documentation, manual or help on the available options? Are there options not ...
1
vote
1answer
53 views

Unison - Automatically Sync Computers

Is there a way two sync multiple computers (i.e. particular directories in the home folder) automatically using Unison? If not, is there an alternative that can do this? I'm not completely against ...
0
votes
1answer
45 views

Deployment and configuration of a small lab

tl;dr How can I: Install Ubuntu on lots of PCs without burning lots of DVDs and installing manually Have a set of preconfigured options applied to all these PCs during (or right after) install ...
0
votes
2answers
40 views

How do I add a shortcut to refresh current page in firefox and keep the focus on current window?

I'm doing web development and for that reason I need to refresh some page in firefox frequently (it's on another display, so I see both IDE and browser at the same time). At the moment I manually use ...
1
vote
3answers
276 views

How to Automatically save terminal command output to file [duplicate]

Is there a way that I can save the terminal command output to a file, without having to write the command ' | tee /abc.txt' every-time around?
0
votes
0answers
39 views

Automate backups of multiple Postgresql _CLUSTERS_

I'm looking for a way to automate backing up multiple PostgreSQL clusters. Any thoughts/hints before I do the following? I've already found the autopostgresqlbackup package. Which is a functional ...
0
votes
1answer
82 views

Advice for troubleshooting a (url) preseed file?

I'm working on my first preseed file, and to avoid having to re-burn a DVD every time I make a change, I'm hosting it on a webserver and loading it with preseed/url=... To load the preseed, I'm ...
0
votes
1answer
155 views

rsync two existing directories copying everything

I have two file servers in two locations. Currently both have the same data, which generally is unmodified (used for read only access).When the second server was set up (the one I'm sshing to) the ...
0
votes
0answers
190 views

Automatic installation of Ubuntu 12.04 with kickstart in web

I am going to install Ubuntu 12.04 in virtualbox with ubuntu alternate iso file and ks.cfg file hosted in local server. I am supplying ks=192.168.1.4:8080/ks.cfg as kernel paramter but still the ...
1
vote
0answers
11 views

How can I install ubuntu-restricted-extras without having to confirm the ttf-mscorefonts-installer licenses manually? [duplicate]

Whenever I do a fresh install of Ubuntu, I have a whole lot of programs I install and remove by using a few big apt-get commands. I use the --assume-yes flag so I don't have to confirm the ...
2
votes
1answer
227 views

How to reboot automatically and run terminal command(s) on startup?

So I run a Minecraft server on Ubuntu Desktop 12.04. It runs very well except every so often the computer does need a reboot, as it should considering it runs 24/7. I'm relatively new to Ubuntu ...
1
vote
1answer
50 views

Automatic synchronization or backup to External HDD at every plugin

I used to backup one partition to an external drive using grsync but now i have to backup different different folders to corresponding folders in External HDD. It would be helpful if they can be ...
0
votes
1answer
24 views

How can I install a security updates before a given date?

How can I install just security updates from the command line? The above question does a good job of describing how to do security updates only. Is there a way to install all security updates that ...
0
votes
0answers
103 views

Configuring PXE in Ubuntu to install Windows XP

I am using Ubuntu server with Windows XP clients connected over LAN. I want to configure PXE so that I can install Windows through PXE boot itself. I am a beginner in Linux field. So explain the ...
1
vote
2answers
163 views

Script that will reboot PC on specific GPU temp

Recently I've started mining litecoins. My miner consists of 3 Radeon R9 290x GPUs. From time to time one of them (not a specific one, it happens randomly) stops mining. Usually restarting cgminer ...
0
votes
1answer
123 views

Running Commands for Wifi at Startup

I have just found a way to get my wifi to work using these commands: sudo rmmod iwldvm sudo rmmod iwlwifi sudo modprobe iwlwifi bt_coex_active=0 I would rather not type these in every time I log ...
0
votes
0answers
21 views

Script for moving the most frequently used tabs in Unity launcher?

I find myself moving the last used icon in the Unity launcher to the top for easier access to the programs that I'm using. I use different programs on a daily basis depending on what I'm trying to ...
0
votes
0answers
160 views

iOS application testing tool for Ubuntu 12.04 LTS

Have an iOS application for iPhone5 and later versions ( Developed by another team), Need a automation testing tool, through that I can test my iOS application. I tried MonkeyTalk that requires ...
0
votes
1answer
288 views

Restart then shutdown using bash scripting?

I want to restart and then shutdown from terminal. Means that we want to startup terminal after restart and then shutdown automatically. What I am doing with explanation: Manually start my pc Run ...
2
votes
2answers
62 views

Exit command with any key

Here's what I have: A script that records sound and exits when pushing ctrl+c arecord -D plughw:0,0 -f cd -t wav -d 0 -q -r 16000 > file This will record and record until I push ctrl+c I want ...
1
vote
2answers
73 views

How to automate my startup?

I am not sure how I am supposed to automate such delicate tasks on my daily routine. Let me describe it: open Sublime Text in first desktop open Chrome in second open two terminal windows in third, ...
12
votes
0answers
691 views

How can I make apt-get wait for another instance to finish? [duplicate]

Is there any way I can make apt-get wait for the other apt-get (or another package manager) process to finish? I know that, generally, apt-get can only run one instance at a time and if we try to run ...
2
votes
1answer
92 views

Writing (“injecting”) text into existing Ubuntu terminal

Given the name of an already running terminal (gnome-terminal maybe?), is there a way to write text into it from another program? I am basically looking for a way to start compilation from a text ...
3
votes
1answer
241 views

How to configure grub to boot an OS based on key press?

I'm total new to Linux / Grub but not new to changing configurations. I play much with configs and i like to try out many things and what is possible. So I will try now Linux. I have now different ...
2
votes
2answers
107 views

How to create scripts that create another scripts

I am writing an script that needs to generate another script that will be used to shutdown an appserver... This is how my code looks like: echo "STEP 8: CREATE STOP SCRIPT" stopScriptContent="echo ...
0
votes
0answers
199 views

Converting all .sub to .srt with framerate

I wan't to convert all .sub (microdvd and subrip) to .srt (subviewer) format that my player uses. I made this little bash script that searches for the filenames starting with given keyword and uses ...
2
votes
1answer
215 views

How to run command on connect to network

How can I automatically run a command whenever my computer connects to a network? I want it to run in these situations: On power on and login to Unity On waking up from suspend or hibernate When it ...
0
votes
1answer
77 views

Use grabc in python script

I want to work with the return value of grabc. If it returns #000000 then I want to take it to a=#000000. But this outputs the value in terminal. So How can I do this? [N.B: grabc is a tool for ...
2
votes
1answer
125 views

OS upgrade `on-the-fly`

I wonder if there is a way how to install newer version of OS, let's say 14.04 (when it comes) on the second partition of my server disk from within running OS (e.g. Ubuntu 12.04), then change grub ...
7
votes
1answer
838 views

How can I combine multiple images into a single GIMP file with the command line?

How can I combine multiple JPEGs into a single, layered XCF via the command line? Using GIMP's graphical interface I can choose File ▸ Open as Layers..., but I don't see an analogous command-line ...
0
votes
1answer
106 views

Quick-Search the web with query string

The Mac app alfred.app has some pretty neat features. One of them called "Quick-Search the web" (see more here) allows to search the web by typing a keyword (i.e twitter) and getting a web page ...
0
votes
1answer
74 views

Unrar: Resulting files vanishing

Ok, so I have a directory which contains a whole load of folders containing RAR files, which I'd like to use a script to recursively unrar. The script I have seems to work (extracting the resulting ...
4
votes
2answers
194 views

Is there a tool like Juju or Chef that I can use to automate the set up of my computer?

There are a lot of tools (chef, puppet, juju) out there to automate server deployments and set ups. How can these be used for automating my laptop set up? I want to be able to do nothing but run a ...
1
vote
2answers
1k views

Grub 1.99 Boot Screen Help

I am just recently installed Linux on my Oplitex Gx280. Every time T log on I am met by the Grub 1.99 screen and select (Ubuntu, with Linux 3.5.0-34-generic). I need my computer to boot up ...
1
vote
1answer
331 views

Is there something like Tasker (Android) for Ubuntu

Is there something like Tasker (android app for automating things) for Ubuntu 13.04 (cuttlefish ruled out)?
1
vote
1answer
803 views

Ubuntu Preseed set Norwegian Keyboard?

It's been a couple of days now that I am trying to make a fully automated unattended installation. I managed to make it work with Ubuntu/Cobbler and a preseed file, but I cannot set the correct ...
3
votes
1answer
315 views

How can I configure nano to save every 10 seconds?

I need to have my nano editor autosave every 10 seconds or some specific time period. How can I achieve this ?
7
votes
2answers
2k views

Autorun a script after I plugged or unplugged a USB device

What can I do to run automatically a script after I mount/plugin or unmount/unplug a USB device?