Questions tagged [shell-scripting]

Shell scripts range from very short to highly complex pieces of textual code, often to automate system administration. They can be either POSIX (portable), or most commonly written in Bash, less often in other shells.

Filter by
Sorted by
Tagged with
1 vote
1 answer
145 views

Query HTML tags from the command line (like jq does for JSON)

With jq one can query data in JSON files from the command line, what is useful for example when writing bash scripts, which just need one entry from a JSON file, like this jq '.[0] | {message: .commit....
user avatar
  • 151
1 vote
1 answer
34 views

Deduplication script that runs with both bash and zsh for Linux, macOS, etc?

I have a scenario where we frequently pull in duplicated files that take up a lot of space. There's no reasonable way to stop the intake of these duplicated files due to their irregularity and the ...
user avatar
2 votes
1 answer
483 views

How to bulk borrow and download borrowable-only books programmatically from the Internet Archive?

How to bulk borrow and download those borrowable-only books programmatically from the internet archive? And how can this be done? Is there an archive.org API for borrowing books?
user avatar
3 votes
0 answers
30 views

Viewer for multiple batch scripts

I have 12 batch (.bat) scripts which have to automatically start when Windows boots. Most of them are endless-running. To accomplish that, I added a bat file in shell:startup, which looks like this ...
user avatar
0 votes
1 answer
29 views

Frequently installed macOS software that can be updated via the command line

What software / package managers are frequently installed on macOS that can be updated via the command line? The software / package managers could either be included with macOS, or they could be ...
user avatar
  • 101
2 votes
0 answers
55 views

Alternative to ccache for non-compiler commands

I am using ccache to cache output files. But one of my other tools in my build pipeline is not a compiler, and gets an input and an output. And I was wondering, if there are alternative tools, which ...
user avatar
1 vote
0 answers
14 views

open source software which converts english statements to shell script

I am looking for open source software that will auto convert english statements to shell scripts ex: english statement get current processes running on linux system It should automatically give ...
user avatar
0 votes
0 answers
16 views

Linphone: scripted events?

I use Linphone to make direct videocalls to a Raspberry Pi 3B+ without any input on the Pi's side necessary. Out of the box Linphone does this good enough aside from a few hickups: the local (on the ...
user avatar
  • 1
1 vote
1 answer
59 views

Sending Message from C# tool to android emulator in android Studio

I am currently working in android studio. I came across a problem where my application inside android emulator needs to get some information(like string msg, or integer etc) through an external tool(...
user avatar
3 votes
1 answer
61 views

Would like a good bash/sh debugger tool, in command line or a gui tool

I would like bash/sh debugger tool, in CLI or GUI that: shows variables in use. show line of the code in execution allow breakpoints For unix systems Some options I tried without success: /bin/bash ...
user avatar
  • 133
0 votes
0 answers
15 views

Software or script to retrieve a list of jpeg files in a remote folder

I need to extract each week a list of files in a remote folder on my internet site. I need to retrieve the url to use those jpeg in an offline application, to load the images random. Also maybe useful ...
user avatar
1 vote
2 answers
249 views

Scrolling through pictures via Terminal Linux

I've been looking for a tool that either works or can be customized for the following task. My end goal is to use the terminal to open, and navigate through some folder containing pictures. The ...
user avatar
19 votes
9 answers
5k views

What cross-platform GUI text editor for Linux shell scripting?

As the title says, I seek high quality text editor for POSIX shell scripting. Requirements: Most important to me is syntax highlighting: I admire the fast start-up of Sublime Text, but it does not ...
user avatar
1 vote
1 answer
617 views

Language detection at shell command

I need to detect the language of a huge amount of files, and I was wondering if there is some tool which I could use in a way similar to this, in linux command shell: langdetector filetodetect > ...
user avatar
2 votes
3 answers
2k views

Need a Browser Based SSH Terminal Client -- WordPress Plugin?

I have a network of about 150 users who need to reserve instruments daily using our custom Perl script on a Solaris signup computer that is accessed using an SSH client like Putty. This is a pain ...
user avatar
1 vote
1 answer
361 views

Alternative adobe pdf command line print

I need a software like Adobe DC Reader to print pdf file via command line. Actually I use this command: "C:\Program Files (x86)\Adobe\Acrobat Reader DC\Reader\AcroRd32.exe " /N /S /T /A /O /H "...
user avatar
  • 11
1 vote
1 answer
166 views

Windows Alternative to Thunar/Nautilus Custom Actions?

In the Linux file managers Thunar and Nautilus you can create custom actions. When right-clicking on a file bash scripts tailored for particular files can be run. Is there a file manager or program in ...
user avatar
0 votes
3 answers
65 views

Set Operations in the Unix Shell

Set operations in the unix shell are possible: http://www.catonmat.net/blog/set-operations-in-unix-shell/ And the solutions from this site are very user-friendly. With "user" being a sub set of all ...
user avatar
  • 59
1 vote
0 answers
23 views

string literals escaping tool for multiple languages

I am looking for a single utility to escape strings constants/literals for multiple languages: C, C++, Java Javascript Python XML, HTML shellscript awk, sed The tool should be open source and linux-...
user avatar
  • 374
0 votes
1 answer
35 views

Recursive search and replace with PCRE

Recursive search and replace with PCRE Features open source command line tool recursive search and replace in text files. supports PCRE like Python does. Installable via RPM/DPKG Ubuntu 14.04 ...
user avatar
  • 59
1 vote
1 answer
21 views

Is there a tool to open a new page in Firefox in an already opened profile?

As far as I could determine, there is no native way to open a page in a Firefox multiple profiles environment when the profile is already open. On the Linux shell I am trying something like: firefox -...
user avatar
0 votes
5 answers
459 views

Loop over N git repos

I search a tool to loop over N git repos and do git commands (most of the time git diff). Wanted features: open source command line based
user avatar
  • 59
0 votes
1 answer
62 views

Logrotate - leave file with some it's content

I'm looking for a tool or script which log rotates a folder or individual log files, but leaves some lines in the logs, for example, it cuts all lines older than 2 days and writes them into another ...
user avatar
  • 101
0 votes
0 answers
34 views

Compare script output from remote server with local result

I want to run this SQL on the local and remote host: select concat_ws('.', table_schema, table_name, column_name) as column_name from information_schema.columns where table_schema not in ('...
user avatar
  • 59
1 vote
1 answer
31 views

Total free web application (Scripts Store, DB store) [closed]

I want to develop my own personal application working online using Web browser. I need to find the Online Servers : Where I can store my DB (MySQL, MariaDB) totally free? Where I can to store my ...
user avatar
6 votes
1 answer
858 views

DAG based script execution scheduler/planner with GUI; similar to airbnb's airflow or BODS or Informatica

We're looking for a GUI based execution scheduler/planner (or whatever it is called) to run various daily scripts and applications with dependencies. We'd like it to run on a headless Linux distro, ...
user avatar
4 votes
1 answer
117 views

Advanced replacement for UNIX/GNU "find" (command-line file search)

GNU's default file search utility for the command line find has a ton of options, but is still missing some - in my opinion - essential features, like sorting. It's also a hassle to use sometimes. In ...
user avatar
1 vote
0 answers
42 views

unix facility to intercept gethostbyname(3) and fake return

i want a programme to do this thing . fakeresolv www.example.com=1.2.3.4 -- wget www.example.com/abc this way i can test vhost's of my webserver without setting up dns records . i want to limit this ...
user avatar
3 votes
1 answer
46 views

Shell Compiler to Program

I am looking for a simple program, preferably with GUI capabilities, to create small, usable programs. I would like to compile my multiple scripts (Backup, Cron Job, Task Kills etc.) I have ...
user avatar
  • 1,444
4 votes
2 answers
190 views

Editor for Linux shell scripts

So I am looking at creating multiple shell scripts for my Lubuntu machine (the hope is to get it close to autonomous as possible). I have used apps such as Geany (which is good), but obviously I want ...
user avatar
  • 1,444
1 vote
1 answer
958 views

Alternative for Python Shell

Executing Python in the Command Prompt causes some problem for entering data in UTF-8. in my case command prompt and subsequently Python shell doesn't show Persian characters correctly. I changed ...
user avatar
  • 465
3 votes
1 answer
85 views

Live-session shell daemon

TLDR I need software that runs a daemon server and hosts an interactive shell program as a subprocess. The software should also include a client program that connects to the daemon server and provides ...
user avatar
  • 133
6 votes
0 answers
7k views

Program to automatically convert a Bash script (Linux/Unix) into a PowerShell script (Windows)

I know there are hundred of pages that show the common stuff needed to make the change yourself, but I'm wondering if there's a tool/program that makes it automagically for you. I'm pretty sure ...
user avatar
  • 339
18 votes
2 answers
5k views

Editor for writing shell scripts, with autocompletion and syntax highlighting

I am looking for a good editor that would provide me with an IDE-like experience in building shell scripts. Ideally, it should support Linux bash and Windows batch file formats, Windows Power Shell is ...
user avatar