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

learn more… | top users | synonyms

0
votes
0answers
4 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
32 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
26 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
25 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
0answers
28 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 ...
0
votes
0answers
20 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
39 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
36 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
173 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
36 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
71 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
133 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
171 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
202 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
46 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
23 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
102 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
161 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
112 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
151 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
256 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
60 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
70 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
91 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
228 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
106 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
197 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
197 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
72 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
124 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
774 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
73 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
189 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
312 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
759 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 ...
2
votes
1answer
293 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?
0
votes
1answer
120 views

add entries to Startup Applications using a post-install script

I'm gathering commands to build a post-installation script, and I want to have the script automagically add certain apps to the Startup Applications list as if I had added them manually, such as the ...
5
votes
1answer
5k views

How can I enable/disable Dash online results programmatically?

How can I change this setting from a Bash script? My plan is to enable it only on certain network connections.
1
vote
0answers
316 views

How to select English (US) keyboard layout when preseeding with Ubiquity

I am attempting to automate an install of the Ubuntu 12.10 LiveCD (on a USB). The Installer will do everything except automatically pick a keyboard layout. Below is the portion of my preseed3.cfg that ...
2
votes
1answer
98 views

How to run a cron entry periodically?

I have a line of script that works through terminal and works through cron to run one time: it downloads a file from the internet and saves it in a specific place named as the date it was found: cd ...
2
votes
2answers
265 views

What is the best way to trigger scripts or actions when the computer is disconnected from the network?

I am running 12.04 LTS. There are a number of shared resources that I use that are housed remotely on a local server. When disconnected from the network (on say a network, or router failure), I would ...
0
votes
1answer
135 views

installation under vmware gets into installation loop

I'm instlling Ubuntu 12.04 LTS on VMware servers. I use preseed to automate the installation. The problem I have is that once the CD-ROM image is attached to the virtual machine, and the BIOS is ...
2
votes
1answer
107 views

How to change screen brightness based on screen colors?

I would like to know if there is any way to change the screen brightness based on the screen predominant color. For example if I am browsing a web page with a lot of white color decrease the ...