Top "Sh" questions

sh is the standard Unix shell since Version 7 Unix.

perl backticks: use bash instead of sh

I noticed that when I use backticks in perl the commands are executed using sh, not bash, giving me some …

perl bash shell sh backticks
How to define global shell functions in a Makefile?

I want to define a shell function #!/bin/sh test () { do_some_complicated_tests $1 $2; if something; then build_thisway $1 $2; else …

shell makefile gnu-make sh
IO Redirection - Swapping stdout and stderr

Given a shell script: #!/bin/sh echo "I'm stdout"; echo "I'm stderr" >&2; Is there a way to call …

shell sh io-redirection
modify value's in CSV with bash-script

I've the following CSV file's: 2012-07-12 15:30:09; 353.2 2012-07-12 15:45:08; 347.4 2012-07-12 16:00:08; 197.6 2012-07-12 16:15:08; 308.2 2012-07-12 16:30:09; 352.6 What I want to do …

bash csv sh bc
How to start process via SSH, so it keeps running?

I have three files: monitor.sh, which starts python scripts: sudo python ./webCheck & sudo python ./apiCheck & and the …

ssh amazon-ec2 sh bitnami
Self-extracting script in sh shell

How would I go about making a self extracting archive that can be executed on sh? The closest I have …

shell sh self-extracting
"sh: ./<file> not found" error when trying to execute a file

I've come across a weirdest problem I ever met. I'm cross-compiling an app for ARM CPU with Linux on-board. I'm …

c++ linux arm sh buildroot
bin/sh: 1: arm-eabi-gcc not found

I'm trying to compile a linux kernel by cross compile method. After solving a lot of problems, i have this …

cross-compiling sh bin
Docker Entrypoint Script Root Permission

I have a Dockerfile that has 3 constraints: 1.) The final USER statement in the Dockerfile must be USER tomcat for security …

docker sh chmod keytool chown
Why does /bin/sh behave differently to /bin/bash even if one points to the other?

While I was playing around in my shell investigating the answer to this question, I noticed that, even though /bin/…

linux bash shell sh