|
- shell - Difference between sh and Bash - Stack Overflow
When writing shell programs, we often use bin sh and bin bash I usually use bash, but I don't know what's the difference between them What's the main difference between Bash and sh? What do we
- How do I execute a bash script in Terminal? - Stack Overflow
It can work if sh is a symlink to bash, or if the script does not use any Bash-specific construct In the former case, using bash instead of sh is the only correct, portable solution; in the latter case, it's not the correct answer to this particular question, because the OP asked about advice for a Bash script specifically
- Linux command to print directory structure in the form of a tree
Is there any linux command that I can call from a Bash script that will print the directory structure in the form of a tree, e g , folder1 a txt b txt folder2 folder3
- How can I check the size of a folder from the Windows command line?
du -sh <directory> is my go to on Linux (or windows w du via git) to show a human readable summary of the directory size
- linux - Whats a . sh file? - Stack Overflow
Typically a sh file is a shell script which you can execute in a terminal Specifically, the script you mentioned is a bash script, which you can see if you open the file and look in the first line of the file, which is called the shebang or magic line
- linux - What exactly is the sh command? - Super User
47 sh is the bourne shell There are several shells, of which bourne is the old standard, installed on all unix systems, and generally the one you can guarantee will exist
- linux - How to run a shell script at startup - Stack Overflow
595 First create your startup script i e @ home user startup sh, and make it executable chmod +x home user startup sh Then set a crontab for it: $ crontab -e @reboot home user startup sh Now, your startup sh script will run at every start
- How to concatenate string variables in Bash - Stack Overflow
A bashism is a shell feature which is only supported in bash and certain other more advanced shells It will not work under busybox sh or dash (which is bin sh on a lot of distros), or certain other shells like the bin sh provided on FreeBSD
|
|
|