RIP
Tutorial
Tags
Topics
Examples
eBooks
Topics
topic.Title
topic.Title
topic.Title
topic.Title
topic.Title
topic.Title
topic.Title
topic.Title
topic.Title
topic.Title
topic.Title
topic.Title
topic.Title
topic.Title
topic.Title
topic.Title
topic.Title
topic.Title
topic.Title
topic.Title
topic.Title
topic.Title
topic.Title
topic.Title
topic.Title
topic.Title
topic.Title
topic.Title
Examples
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
example.Title
Topics
Getting started with Bash
Using "trap" to react to signals and system events
Redirection
Control Structures
Using cat
View the Manual Pages
Arrays
Functions
std::string
Bash Parameter Expansion
Find
Here documents and here strings
Quoting
Conditional Expressions
Scripting with Parameters
Exceptions
Implementation-defined behavior
std::optional
Shell
Customizing PS1
Pattern matching and regular expressions
Compiling and Building
Internal variables
Word splitting
Read a file (data stream, variable) line-by-line (and/or field-by-field)?
Pipelines
Managing PATH environment variable
Build Systems
Examples
Hello World Using Variables
Hello World
Compiling with GCC
Printing the Contents of a File
Array Assignments
Accessing Array Elements
String replacement
Searching for a file by name or extension
Finding file by access / modification time
Tokenize
Accumulate a list of trap work to run at exit.
Trimming characters at start/end
Array Length
Array Modification
Size of integral types
Looping through an array
Delete a pattern from the beginning of a string
Delete a pattern from the end of a string
Replace pattern in string
Get the File Path for a Manual Page
Changing default shell
Looping over an array
Loop break
Return value from a function
Using optionals to represent the absence of a value
Write to a file
Difference between double quote and single quote
Checking if a string is a prefix of another
Converting to std::string
Test on exit status of a command
One liner test
Number of bits in a byte
Splitting with IFS
Reads file (/etc/passwd) line by line and field by field
Finding files according to size
Bash internal variables at a glance
$IFS
$1 $2 $3 etc...
$*
$_
$@
Execute command with here document
Run several commands with sudo
What, when and Why?
IFS & word splitting
Bad effects of word splitting
Usefulness of word splitting
Read lines of a file into an array
Looping through a file line by line
Read lines of a string into an array
Looping through a string line by line
Looping through the output of a command line by line
Read a file field by field
Read a string field by field
Read fields of a file into an array
Read fields of a string into an array
Looping through the output of a command field by field
Regex matching
Argument parsing using a for loop
Wrapper script
Show git branch name in terminal prompt
Show time in terminal prompt
Colorize and customize terminal prompt
Splitting by separator changes
Print the function definition
Modify continuous output of a command
Array insert function
Add a path to the PATH environment variable
Remove a path from the PATH environment variable
Print error messages to stderr
Read a manual file with man
Custom exception
Jahid
StackOverflow Profile
Cookie
This website stores cookies on your computer.
We use cookies to enhance your experience on our website and deliver personalized content.
For more details on our cookie usage, please review our
Cookie Policy
and
Privacy Policy
Accept all Cookies
Leave this website