Questions tagged [bash]
The bash tag has no usage guidance.
41
questions
1
vote
1
answer
57
views
Good equivalent of "zsh/bash + iTerm2 for Windows 10/11
OS: Windows 10 Version 10.0.19045 Build 19045
I moved from MacOS to Windows 10. I'm missing a lot the shells I had there (bash and zsh) as well as the terminal emulator (iTerm2). I'm looking for a ...
0
votes
0
answers
29
views
Is there a Python library to run Bash commands in a non-Linux OS
Is there a Python library to run Bash commands in a non-Linux OS? I want to run Bash commands in Windows using Python. Is there a Python library for that? Please help.
PS- should have an easy syntax. ...
2
votes
1
answer
100
views
Bash command line args Tab-auto-completion via a data service
Think of an action to one of the several thousands of services.
I want to narrow down service selection via Tab-completion by specifying one by one:
prod, test, dev
country (AU, US, ...)
function (...
2
votes
0
answers
121
views
Software for autocompletetion (bash/zsh) using IA
Is there any software for autocompletion in the console (bash, zsh) that uses some AI?
I know how to autocomplete in bash and zsh (autoload, compgen, etc), but I want something more "smart", ...
0
votes
0
answers
22
views
Python code to split a combined .CIF file into separate files
I need help writing a python code that takes a combined .CIF file and for each data block it should split it into a separate file corresponding to the order or index 1,2,3... (For example: 1.cif, 2....
3
votes
0
answers
33
views
Linux command to add text to huge image (fast)
I have lots (100s) of 12208 × 6867px jpg images and would like to add a box and text on the bottom left of each image.
I'd like a white box around text with x padding, and ideally a single rounded ...
1
vote
1
answer
14
views
Is there a way to remove trailing spaces and convert tabs to spaces in a lot of files at once using command-line?
I am using cygwin and have a lot of files in which I want to convert tabs to spaces (four spaces per tab) and remove all space characters that exist at end of line. Is there a utility for this in ...
1
vote
1
answer
90
views
Does anybody know of some data visualization packages for the Linux command line/terminal?
I am new to Linux and am also beginning to learn data science. I am playing around with Termgraph which is a package used with Python to visualize very simple bar charts in the command line. I am ...
3
votes
1
answer
84
views
RSS aggregator to be used with cron for downloading feeds in background?
I would like to find a command line RSS aggregator that I can put in my crontab, so it downloads feeds locally.
The purpose is that I would like to download the feeds locally, so I can use standard ...
0
votes
1
answer
25
views
Bash utility to track the start and end (duration) of tasks?
Can some one recommend a course for tracking the duration of a task from bash?
Hopefully different tasks.
3
votes
0
answers
73
views
Replacement for pydoc showing only function signatures
I want to find alternative for pydoc (command line tool to generate documentation for python modules) which additionally allow optionally (with keyword argument) hide docstring (show only function and ...
0
votes
0
answers
63
views
Are there any standalone bash shells for Windows?
I have heard about WSL (Windows Subsystem Linux) and I wanted that feature. Unfortunately, my Windows version is so low and it hasn't anniversary update, also I can't update due low space. Are there ...
1
vote
1
answer
22
views
module or software to preprocess simple variable substitution for JSON files?
I'm taking my vscode theme settings and I'm breaking it out into a full fledged theme.
Themes are in JSON format.
I would also like to create a more unified color scheme. Let's say I tell my theme ...
2
votes
2
answers
104
views
Linux, app for knowledgebase
I have an idea about knowledge base applications.
Now, I have script kbase.sh, and I have many knowledge information/examples about os (working with files, folders, os administration, etc) in text ...
1
vote
2
answers
59
views
Hash comparison tool or script
I need to see if there is a tool out there that can help me with a project I am working on. I have a remote set of files that we have imported a few TBs, the remote site has sent me a text file that ...
0
votes
0
answers
171
views
Is there an Android app that can allow me to edit Python files on my server?
I am looking for a way to edit python files on my server and run them. I have an SSH client on my android (SFTP costs a lot of money), but it is more for accessing the server rather than running ...
2
votes
1
answer
36
views
Vendor-agnostic free software to provision cloud instances and run scripts on them
I am looking for generic software which performs the following:
Spins up a server on a cloud (vendor agnostic) or local VM (ideally)
Transfers a bash script to the new server
Runs the bash script, ...
1
vote
0
answers
9
views
Supervision for backups (scripts) on Centos
I manage about 40 servers with Centos 7 remotely. Each one has a backup script (in bash) which copies files to the NAS. After the backup everyday it sends a mail to me if it is successful or not. ...
3
votes
1
answer
62
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 ...
1
vote
1
answer
50
views
Need to make a script that will use a password protected file and generate an output
I am designing a Lab for a course at university.For this the students will download a folder called LAB1 and this will contain subfolders called author_solution ,student_solution and evaluate.sh file....
1
vote
0
answers
20
views
How to get free bash access on windows machine without admin rights?
i would like to execute bash scripts at work but can't seem to find a decent way. My devices are my windows pc (no admin rights) and my Iphone.
I want my scripts to run all day, so since my work pc ...
1
vote
2
answers
345
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 ...
0
votes
1
answer
60
views
Simple, statically-linked encryption program
I am looking for an easy encryption program, usable from the linux command line. Preferably a single static binary. I tried scrypt (tarsnap), but it prompts for a password with no way to input as a ...
0
votes
0
answers
22
views
Debian apt-available software for dir+database immediate backups of a webserver webapps?
Do you know a Debian apt-available software to make dir and database immediate backups of a webserver webapps?
An option to exclude some sub directories should be a feature.
Something that works ...
0
votes
0
answers
37
views
How to randomly rotate file names between them
I have a large group of .wav files (~24 000 in 2 folders). Dialogues. So i want to make these dialogues random. Is there any software that can randomly rename files by using a "table" of these?
0
votes
0
answers
36
views
Which shell do u recommend for web development on Windows 10, as of June 2017?
Each solution has it’s pros and cons, and available tools seems to be evolving. I had some issues with various solutions I tried, and could use some advice. Here are the tools I tried:
Bash on CMDER -...
1
vote
2
answers
25
views
Choosing DNS server to add A records remotly
I need to write a script that adds some A records to DNS server dynamically to mimic a real DNS zone. My questions are what DNS server to choose, bind9 dnsmasq and how to add A records to those ...
3
votes
1
answer
89
views
Powershell - any recommendations for modules that emulate bash commands?
I've recently started out using powershell. It's a bit hard to get started with but seems powerful enough.
What I am wondering is if there is a github project or equivalent to emulate some of the ...
1
vote
1
answer
171
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 ...
2
votes
1
answer
49
views
A Linux tool / utiltiy for identifying non-stopwords in English text
Is there a tool I can sent a text file or other file into that will identify unusual words (not in a stopword list) in Linux?
For example, words that are generally in the English language will be ...
5
votes
2
answers
541
views
What software can I use to measure LLOC, function points and cyclomatic complexity of Bash scripts?
I want to gather a few statistical data about a repository to compare it through time. The goal is to know how the usage of specific languages evolved over time, and how the complexity and size of ...
7
votes
2
answers
167
views
Managing long running simulations
if there is a better stack to ask this on, please let me know.
My Problem
I have a simulation that takes 3-4 days to run. I want to run many of these, with different parameters defined in text files ...
74
votes
10
answers
30k
views
Linux-like terminal for Windows
I'm looking for an application that can act as an integrated Linux-like terminal for my Windows PC. For instance, I could roam around the file system, install applications like vi, etc. I would like ...
1
vote
1
answer
136
views
Documentation generator tool for multiple languages
I have project that written with Ruby, Java, Python and Bash and currently I'm searching for single documentation tool that can be used to generate web pages, like Sphinx-doc does
Precondition is not ...
1
vote
0
answers
294
views
Fire-and-forget command-line tool to send a Facebook message
I want to send a Facebook message with a single Linux command line, something like:
xmppmsg [email protected] message.txt [email protected] --mypass=yop
I must get the prompt ...
1
vote
1
answer
1k
views
Tool to convert string with ANSI escape sequences to simple string
A python module I am using provides a hook that allows capturing user keyboard input before it is sent to a shell terminal. The problem I am facing is that it captures input character-by-character, ...
1
vote
0
answers
118
views
Convert a multi-line bash command into a one line command
I am looking for a program that can convert a multi-line bash command into a one line command.
For example:
find . -type d -print0 | while read -d '' -r dir; do
files=("$dir"/*)
printf "%5d ...
2
votes
0
answers
38
views
Convert all arguments in short-form to into their corresponding (if any) long-form arguments in a bash command
I am looking for a program that can convert all short-form arguments that are present a bash command to their corresponding long-form arguments.
For example:
wget -m -p -k http://stackexchange.com
...
3
votes
1
answer
107
views
Deciphering a bash command
I am looking for a program that can take a bash command as input, e.g.:
ls -lv
ps aux | grep python | grep -v "grep python" | awk '{print $2}' | xargs kill -9
du -h --max-depth=1
screen -dmS gp ...
6
votes
0
answers
8k
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 ...
3
votes
3
answers
368
views
Sort Heroku logs chronologically
Heroku is a hosting platform whose logs can be accessed via the heroku logs command line:
$ heroku logs
2014-07-17T06:24:02.216403+00:00 app[web.1]: Started
2014-07-17T06:24:02.216410+00:00 app[web.1]...