Getting started
Using trap to react to signals and system events
Listing files
Aliasing
Jobs and processes
Redirection
Control structures
Using cat
Arrays
Functions
Bash Parameter Expansion
Sourcing
Find
Here documents and here strings
Quoting
Conditional Expressions
Scripting with parameters
History substitutions
Math
Scoping
Process substitution
Programmable completion
Customizing PS1
Brace Expansion
Bash Arithmetic
getopts smart positional-parameter parsing
Debugging
Pitfalls
Script shebang
Pattern matching and regular expressions
Keyboard shortcuts
Change shell
Copying with cp
Internal variables
Job control
Case statement
Word splitting
Read a file
File transfer with scp
Pipelines
Managing PATH environment variable
Avoiding date using printf
Chain of commands and operations
Type of shells
true, false and commands
Color script output cross-platform
Navigating directories
Using sort
Namespace
co-processes
Typing variables
Jobs at specific types
Associative arrays
Handling the system prompt
Creating directories
File execution sequence
The cut command
Bash on Windows 10
Cut command
Splitting files
Global and local variables
Design Patterns
CGI Scripts
Select keyword
When to use eval
Networking with bash
Parallel
Grep
Strace
Sleep
Decodi
Contributors

Function Return

suggest change
function positive() {
    return 0
}

function negative() {
    return 1
}

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents