Questions tagged [automation]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
109 views

How do I create a script file for terminal commands that require sudo permissions

my system keeps killing my wifi connection and I am having to use the terminal to restart it using the following comand sudo systemctl restart NetworkManager how would i write a script for this that ...
0
votes
0answers
25 views

How to make ubuntu know a terminal command for the entire machine? [duplicate]

I have a lot of projects. And for each project, I have two files in them: setup and serve. Each developer follows these simple three steps to start coding: git clone ... ./setup ./serve The problem ...
0
votes
0answers
16 views

How to Auto screen video capture and record of each VNC/RDP session graphically on Ubuntu and save it automatically each session?

How to Auto screen video capture and record of each VNC/RDP session graphically and video only on Ubuntu and save it automatically each session for specific type of users?
0
votes
0answers
48 views

preseed/late_command or even ubiquity/success_command not working

I am trying to build a ubuntu 18.04 iso to auto install using the Preseed file. Somehow, neither the preseed/late_command nor the ubiquity/success_command seem to take effect. I am not able to get ...
0
votes
1answer
32 views

Jenkins sudo password

I have install jenkins in ubuntu OS. when i build a project and run some executable shell script then it doen't access the file. how to add sudo password in shell script.
0
votes
1answer
53 views

Automation tool for configuration, installation and editing tasks

I'm looking for a tool that you could write to automate tasks as you want, for example, installation of LAMP package: install package A install package B ... modify configure file of package B in line ...
0
votes
0answers
28 views

regularly back-up files

I have a set of files that I wish to back up to Google Drive on a daily basis. I have a continuity of practice arrangement with a friendly firm of accountants, to whom I have given access to this set ...
0
votes
0answers
11 views

Is there a cloud service to create screenshots of mobile apps?

Imagine you build an app using CI/CD and would be able to distribute the build to some hypothetical cloud based service which returns a pile of screenshots based on different devices, or their ...
0
votes
0answers
21 views

automating linux GUI app with touch events

I'm trying to automate performing some events in an application running under X11. To do so, I need to send touch (not mouse) events to specific locations in the window. For instance, I need to long ...
0
votes
0answers
25 views

Attempting a for loop, but I get error mv: cannot stat '' : No such file or directory

I have wrote this script: for filename in TYP_*; do echo mv \"filename\" \"${filename//TYP/standard.ec}\"; done The outcome is: mv: cannot stat '': No such file or directory mv &...
1
vote
0answers
26 views

Automatically click a dialog button when the dialog appears

Back in the day when I was still using Windows, there was a program that ran in the system tray that would watch for a dialog/window to open (by title or progid), the click a specific button (or send ...
0
votes
0answers
15 views

Docker or snap to revive old deb

I use telldus-core to send and receive signals for my home automation bits and bobs. But the software hasn't been updated in years and still relies on a really old version of Ubuntu and in particular ...
0
votes
1answer
315 views

How I do to the driver to install/upgrade automaticly? And manually?

I there am much time before, I thought the Ubuntu don't upgraded the driver (Nvidia) automatically, or at least, to upgraded, I thought to had to reboot the Ubuntu, I resolved to install on Nvidia ...
0
votes
0answers
15 views

Automating Plymouth Theme Instalation

So I was trying to automate the installation process for changing the Plymouth theme, but I can seem to fully automate this process. I need help! This is the code I used. #!/bin/bash password='...
0
votes
1answer
48 views

How to make ubuntu server auto shutdown after few hours

I want to make my server auto ON and OFF. I turn ON server by BIOS option everyday at 8:00am. How can I make, that system will shutdown auto everyday at 11:59pm?
0
votes
0answers
8 views

GUI for building/running data processing pipelines

I am looking for a GUI helper to build data processing pipelines, including: delete files create directories download URL(s) -- possibly via running external scripts execute external scripts/binaries ...
0
votes
1answer
54 views

Autoinstall - the password and authorized-keys options doesn't work

I am trying set password and authorized-keys using the configuration below. But they never worked. identity: hostname: hostname username: username password: $crypted_pass ssh: install-...
0
votes
1answer
95 views

Have the display manager start synergy server before login in ubuntu 18.04 LTS

I am using Ubuntu 18.04 LTS and Windows 10 PC with Synergy Version: 1.11.1rc2-4a90760e. On Windows client, it is automatically started before login and works fine. My ubuntu server doesn't have ...
1
vote
0answers
176 views

HELP : failed Ubuntu 20.04 LTS Desktop install not loading ks.cfg file

I search for an Ubuntu 20.04 LTS DESKTOP automatic installation ? i boot on a USB KEY with ubuntu 20.04 lts desktop iso on this , i wan't install on a ssd pc with a automatic script (not the live ...
0
votes
0answers
13 views

Get the notifications when file in the link change

How can i get a notifications, let's say on mail when link has changed? Let me explain. I'm on the software website and there is a download button for the new version of that software, let's say v3.5 ...
0
votes
0answers
18 views

Ubuntu 20.04 LTS Desktop install not loading ks.cfg file on an usb key [duplicate]

I search for an Ubuntu 20.04 LTS DESKTOP automatic installation ? i boot on a USB KEY with ubuntu 20.04 lts desktop iso on this , i wan't install on a ssd pc with a automatic script (not the live ...
0
votes
0answers
40 views

Can split up my big monolithic answerfile for subiquity and cloud-init automated installations?

Edit 2021-02-15: After substituting some variables with sed and looking at a horrible bash source approach from 2017 which accidentally(?) executes commented backticks I'm now looking at Jinja2. ...
1
vote
1answer
594 views

How to use NoCloud Cloud-init to install Ubuntu 20.04 Live Server from a USB stick?

I'm trying to automatically provision my own Ubuntu server (mobo is X570 AORUS PRO), in the end I'm hoping that I could just plug in a USB stick and restart the machine for installation to begin. I ...
0
votes
0answers
20 views

Apply audio tags from CSV file

I have an archive of audio files named like <title>.<ext> (e.g. Track title.ogg) and a CSV file with metadata for those files with the following structure: Album,Track number,Title,Author,...
1
vote
2answers
50 views

How to automatically print multiple images per page?

Using an Ubuntu linux, what is the best/easiest way to print multiple images per page? The global number of images and pages and the requested number of images per page should be dynamically chosen.
0
votes
1answer
182 views

How can I zip a large amount of data based on a condition upon the size of the zip files?

I have about 2 TB of image data which I want to group into .zip files. The sizes of individual files vary. I want to put all these files into ZIP archives. Any .zip file cannot exceed 2 GB (1.8 GB for ...
1
vote
1answer
98 views

Unique project path in bat file

I'm beginner in Linux environment. I moved my project with automated tests from Windows to Linux Ubuntu. In windows I have following bat file: set projectPath=D:\git\testproject cd %projectPath% mvn ...
0
votes
0answers
16 views

web based remote control - send keystrokes to X Window

I've switched from an apple TV to an HTPC with Linux - I love it except for lack of remote control. I don't want a bluetooth keyboard, I'd rather have a simple web page to send commands to my browser (...
0
votes
0answers
9 views

How to non-interactively install tzdata? [duplicate]

I am building a docker image based on Ubuntu 20.04 and one of the commands is: apt update && apt install -y python3-arrow python3-pip python3-paho-mqtt As the installation proceeds, I am at ...
-1
votes
1answer
41 views

Successive execution of two commands in different folders

I am really new to ubuntu and I have a small question. I have two different commands that have to be repeated 4 times each (so 8 overall executions) These CommandA.sh and CommandB.sh are always ...
9
votes
2answers
4k views

How can current Ubuntu versions be installed via PXE network boot and an automated installation?

Starting with Ubuntu 20.10 (Groovy Gorilla), Canonical does not provide the netboot.tar.gz package and the mini.iso image anymore. They could previously be used to boot a system via PXE and run Debian ...
2
votes
3answers
816 views

Fetch autoinstall based on MAC

Short: I am looking for a way to PXE boot Ubuntu 20.04, and use new autoinstall for a completely unattended installation. But I would like for user-data YAML to be modified server-side based on MAC of ...
0
votes
0answers
76 views

How to read the browser addressbar in ubuntu using python?

I'm looking for a library that can fetch me the content of the browser address bar in Ubuntu. I have used the UIAutomation library in windows that worked fine by getting me the content of the browser ...
0
votes
0answers
73 views

Installer that can deploy a raw disk image to a bare-metal server?

I would like to automate deployment of bare-metal servers based on disk images. These disk images are raw dumps, like you would get with dd. The problem is that I can't find an installer that can do ...
0
votes
1answer
43 views

How to automatically kill / terminate process as soon as it is launched?

Is there a way to automatically kill a certain (sub)process the very moment it is launched? I've read in this answer how to filter a process by its name and kill it: sudo ps aux | grep '<process ...
0
votes
0answers
264 views

autoinstall Ubuntu 20.04 mount with options nodev/noexec

Anyone knwo how to give mount option in the autoinstall config ? i tried different method without success. it's my user-data conf but the mount option is ignored during the install : #cloud-config ...
0
votes
0answers
58 views

User-Friendly Automated File Organization

I once used DropIt on Windows 10. Unfortunately, it's not compatible with Ubuntu. I've tried Dolphin as an alternative, but it can't do what I need. I need either a way to install DropIt to make it ...
1
vote
0answers
67 views

Need a script that: Any files or folders added to a specific folder are auto copied to another folder then deleted from the first folder

So basically, someone adds files or directories to Folder A, those files or folders are automatically copied or even moved to Folder B, and removed from Folder A. I'm new to Ubuntu and scripting in ...
0
votes
0answers
264 views

Ubuntu 20.04 auto install installation failure- LUKS

I am trying to setup my mass deployment of Ubuntu 20.04 ( using this methord https://ubuntu.com/server/docs/install/autoinstall ) I am trying to get the autoinstall to encrypt the disk, but i am ...
0
votes
0answers
330 views

How to run command on GUI boot

I have a raspberry pi 4 model b, it is running on Ubuntu 20.04.1 LTS. I want to start Firefox in kiosk mode on boot. I've tried: @reboot in crontab creating a service to call the script adding the ...
4
votes
1answer
2k views

Unattended/headless Ubuntu server with disk encryption - how to set it up?

I'm a long-time Linux user, but I'm not well-versed with the newer developments, esp. wrt Ubuntu and system(d) administration. I have a very old PC that I want to use for a file server, Mercurial repo,...
0
votes
0answers
377 views

How to automatically adjust desktop resolution to (changing) monitor resolution?

I use monitor with default resolution 3840x1600. It has Picture-by-picture mode (you can connect and display two sources at the same time) - monitor splits vertically and behaves like 2 separated ...
1
vote
1answer
86 views

incrontab is not triggering with end of cron sh invokes

I have this incrontab, which is monitoring the master Directory to check if the event occurs where a new file is placed here ... and run the php file. /var/www/html/docs/int/master IN_MOVE php /var/...
0
votes
0answers
77 views

Task automation tool?

I just need to screenshot an item, have a program see it, then click on it, and in some cases read what is in the dimensions and transcribe them to a string, OCR? I prefer Python, but willing to learn ...
0
votes
2answers
287 views

Move all Files of same extension to a Folder

I know I can use something like mv *zip zip/ but I want to auto-create each folder if not exists and move my all files to them. With the below code I have to hard code everything. Is there any way to ...
0
votes
0answers
169 views

Run PhantomBot on boot

I have a relatively basic understanding of Linux and Terminal stuff, just switched over from Mac so please bear with me! I'm running PhantomBot for my Twitch channel & Discord server which I need ...
0
votes
1answer
161 views

Custom FAI Ubuntu 20.04

I know the FAI tool that allows to create a fully automatic and customizable Debian installation image, and I love it. But at the moment it doesn't offer the tool for Ubuntu, which is sad. I would ...
2
votes
1answer
1k views

Ubuntu 20.04 autoinstallation LUKS

Since I'll have to deal with Ubuntu clients mass deployments in the future, I was searching for methods to achieve an unattended setup. My current idea is to use something like kickstart or https://...
1
vote
0answers
84 views

have an .sh push commands to a terminal

So I have a Minecraft server on my spare system. It runs 24/7 but as I plan to get more servers I and other system I want a way for when the UPS goes to battery mode it will trigger a script which if ...
1
vote
0answers
126 views

v4l2 : how can I enable software trigger?

I am working on jetson TX2, with a FSM-IMX304M camera and I use V4L2 API. I would like to use software trigger, but I don't know how to use it and haven't found anything by searching. I need to ...

1
2 3 4 5
9