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

learn more… | top users | synonyms

2
votes
1answer
55 views

How can I automatically copy the content of a usb (flash) drive to another directory?

I want to program my Ubuntu in such a way that it automatically copies the content of USB flash drive to a defined folder in my home directory. I would like this to be done automatically when any ...
1
vote
0answers
24 views

How to terminate server process?

I just created automation sending an email using a shell script, but it always running and send me an email every sec to my email. I'm using PID and that process name to terminate it, I'm writing ...
0
votes
0answers
28 views

How can I install Calabash-android for Ubuntu?

I am new to Calabash and recently switched from Windows 7 to Ubuntu. Can anyone give me detailed steps on how to install Calabash-android for Ubuntu 12.04 or 14.04? If more specific information is ...
0
votes
2answers
31 views

Installing graphite-carbon via apt unattended

I'm trying to create an automation script that install Graphite without user interaction (unattended). I try with the following command: sudo apt-get -q -y --force-yes install ...
0
votes
0answers
12 views

Applying an effect to camorama throught command line

My first question here : I'm doing some experiments here on my xubuntu 14.04 laptop with repositories' package of camorama. I would like to set up an automatism to launch automaticaly camorama when ...
0
votes
1answer
46 views

Make all new .sh file executable

One of my script is making new .sh files in /tmp/ folder how can I setup that all new files in /tmp/ folder will get chmod -x automaticaly because my script is failing when trying to run scripts in ...
0
votes
1answer
126 views

How can I save lines from terminal to a text file?

I made a simple bash script that pack a file and then upload it, if everything is fine I am getting some http:// links to my stuff as output I want to know how can I copy those links automaticaly to a ...
0
votes
1answer
48 views

Modern Ubuntu home media, security, and automation center [closed]

I'm looking to set up a large computer to act as a home media center, a security system, and possibly home automation. I'd like the following features 64 bit support Modern (based on a recent ...
0
votes
1answer
77 views

BTSync: Intall Bittorent Sync silently with no prompts on Ubuntu Server 14

Trying to install btsync in fully automatic mode - silent, without any prompts. I try to use assume yes feature of apt and also DEBIAN_FRONTEND env variable, but have no luck: export ...
1
vote
1answer
99 views

Running command at certain time or after that as soon as possible

I have folder for temporary folders and I would like it to be emptied automatically at 3am. I know crontab probably could do this but what if my laptop isn't on when it should run?
2
votes
3answers
92 views

How to make Ubuntu shutdown when power lost?

My project requires that the power source for the laptop be switched on and off. Is there a way to make Ubuntu shutdown properly when the external power is lost? It will run the shutdown on its ...
0
votes
0answers
21 views

Is there any way to get daily,weekly & monthly autobackups of mongodb running in ubuntu14.04?

Is there any way to get daily,weekly & monthly autobackups of mongodb running in ubuntu14.04 ?
1
vote
1answer
21 views

auto-save (and auto-delete) screen recorder video?

I set up my old phone as a security camera and downloaded SimpleScreenRecorder to record it. However I would like to find a program that would allow me to auto save say every hour and auto delete ...
1
vote
0answers
29 views

Build mount points from multiple files

I was wondering if anyone has seen a way of specifying mount points in multiple files? My scenario is as follows: I am trying to automate desktop provisioning and setup, using a combination of ...
1
vote
1answer
43 views

Prevent SSH from logging out after running initial commands

I'm using ssh to connect to a remote Linux machine like this: ssh -i .ssh/path/to/id_rsa -p 22 user@host 'cd /path/to/dir' I'd like some commands to be executed upfront (such as cd /path/to/dir) ...
0
votes
0answers
45 views

How do I program it so that when I press and hold the left mouse button it will auto click a set amount of clicks per second?

How do I program it so that when I press and hold the left mouse button it will auto click a set amount of clicks per second? I've been looking everywhere and all I can find is mouse automation tools ...
1
vote
2answers
580 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
45 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 ...
2
votes
2answers
148 views

Autostart program whenever a file is added to a 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
113 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
19 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
vote
0answers
46 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
55 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 ...
3
votes
1answer
922 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
32 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
38 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
67 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
36 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
2answers
281 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
60 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
61 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
971 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
52 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
128 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
351 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
218 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
348 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
65 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
134 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
172 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
169 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
22 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
1answer
432 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
76 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
80 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
114 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
299 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 ...