Problem I’ve tried to write a bash script that gives me a general overview of the status of git repos […]
Tag: shell
File generator in shell script
Problem I’m a student, and most of my lab work includes writing programs (usually .cpp) run them, copy the source […]
Copy files in parallel by reading what files to copy from few other files
Problem I am working on a little complicated shell script for the first time and this is what it should […]
A shell script to mount a disk image file
Problem I’m trying to create a bash shell script which mounts a disk image file. Not only that but checks […]
All-core MediaWiki website upgrade script
Problem I wrote the following Bash script to upgrade All-core MediaWiki websites (no added extensions/skins or images – besides logo […]
Bash time converter
Problem This is a simple script to convert a given unit of time to other units of time. I wrote […]
Bash Shell Script uses Sed to create and insert multiple lines after a particular line in an existing file
Problem This code seems to work, but I’d like someone with shell-fu to review it. Is the temp file a […]
Print a “shebang” line, or prepend it to a file
Problem This is a sort-of-useless “utility” I wrote to learn my way around shell programming better. My concerns are: Is […]
Bash script to capture error message and change exit status
Problem I’m working with the Perforce command line client. I want to check for the case when a user tries […]
POSIX shell compatible and POSIX conforming dirname implementation
Problem The discussion in the comments of this answer made me wonder how hard it would be to write a […]