Difference between revisions of "Bash"
Jump to navigation
Jump to search
↑ https://stackoverflow.com/questions/4419952/difference-between-return-and-exit-in-bash-functions
↑ https://apple.stackexchange.com/a/51038
Line 15: | Line 15: | ||
* <code>[[shift]]</code> built-in | * <code>[[shift]]</code> built-in | ||
* <code>[[exit]]</code> , <code>[[return]]</code><ref>https://stackoverflow.com/questions/4419952/difference-between-return-and-exit-in-bash-functions</ref> and <code>$?</code> | * <code>[[exit]]</code> , <code>[[return]]</code><ref>https://stackoverflow.com/questions/4419952/difference-between-return-and-exit-in-bash-functions</ref> and <code>$?</code> | ||
− | * <code>[[.bashrc]]</code>, <code>[[.bash_profile]]</code> | + | * <code>[[.bashrc]]</code>, <code>[[.bash_profile]]</code><ref>https://apple.stackexchange.com/a/51038</ref> |
+ | |||
+ | |||
+ | == Activities == | ||
+ | # Read ''What is the difference between .bash_profile and .bashrc?'': https://apple.stackexchange.com/a/51038 | ||
+ | |||
== Related commands == | == Related commands == |
Revision as of 01:03, 26 March 2020
This article is a Draft. Help us to complete it.
https://en.wikipedia.org/wiki/Bash_(Unix_shell)
- Bash History
- alias
function { }
&&
and||
operator#!
(wikipedia:shebang (Unix))for
andwhile
. See also: Use loops in task (Ansible)source
and.
for includesset
- Autocompletion
/lib/lsb/init-functions
shift
built-inexit
,return
[1] and$?
.bashrc
,.bash_profile
[2]
Activities
- Read What is the difference between .bash_profile and .bashrc?: https://apple.stackexchange.com/a/51038
Related commands
See also
Bash [ -c ]
,alias
,&&
, Bash history, Autocompletion,set
,unset
,export
,.bash_aliases, .bashrc and .bash profile
,PS1
,echo
,brace expansion
, Function,shopt
,trap
,set -e
,source
,PATH
,complete
,disown
,.hushlogin
,.bashrc
,builtin
,eval
,set
,$PATH
,$HOME
,TZ
,.profile
,-e, -i
,Builtin (Bash)
,mapfile
,~
, return (Bash), for, until,declare, dirname, basename, functions.sh
, Bash arithmetic expansion,shift, bash --rcfile, readonly, $1, $@
zsh
,~/.zshrc
,.zsh_history
,.zprofile
,zshbuiltins, setenv, setopt
,bindkey -e, zshcompsys, compdef, autoload
,oh-my-zsh, prezto, fc, compinit, autoload, oh-my-zsh
- Programming languages: C, glibc, musl, C++, gcc, Conan, make, Class warfare, Clang, Hello, World! (C),
puts
, array, Lisp - IaC: Terraform, Chef, cdist, capistrano, Harrow, puppet, Ansible, CFEngine, Cloud Deployment Manager, pulumi, juju, SaltStack, Azure Resource Manager (ARM), Google Deployment Manager, AWS CloudFormation, Pulumi, Heat, Spacelift, Oracle Cloud Resource Manager, KICS, Troposphere, CaC, IaC scanning
Advertising: