current community
chat
Stack Overflow
Meta Stack Overflow
your communities
Sign up
or
log in
to customize your list.
more stack exchange communities
company blog
Stack Exchange
Inbox
Reputation and Badges
sign up
log in
tour
help
Tour
Start here for a quick overview of the site
Help Center
Detailed answers to any questions you might have
Meta
Discuss the workings and policies of this site
About Us
Learn more about Stack Overflow the company
Business
Learn more about hiring developers or posting ads with us
Stack Overflow
Questions
Jobs
Documentation
Tags
Users
Badges
Ask Question
Bash
dashboard
all topics
Popular
Topic
You must
sign up
or
log in
to make a topic request.
60 Topics
5
requests
active
popular
Getting started with Bash
Introduction Topic
51
Hello World
17
Hello World Using Variables
1 more example
0 improvement requests
0 proposed changes
edited
Nov 18 '16 at 20:24
+1
Arrays
All Versions
17
Array Assignments
10
Accessing Array Elements
9 more examples
0 improvement requests
0 proposed changes
edited
Jan 13 at 8:43
+10
Internal variables
All Versions
12
Bash internal variables at a glance
5
$@
31 more examples
1 improvement request
0 proposed changes
edited
Jan 13 at 8:33
+9
Using "trap" to react to signals and system events
All Versions
17
Introduction: clean up temporary files
11
Catching SIGINT or Ctl+C
3 more examples
0 improvement requests
0 proposed changes
edited
Nov 2 '16 at 6:27
+6
Redirection
All Versions
13
Append vs Truncate
9
Redirecting both STDOUT and STDERR
8 more examples
0 improvement requests
0 proposed changes
edited
Dec 29 '16 at 18:05
+15
Listing Files
All Versions
10
List Files in a Long Listing Format
5
List All Files Including Dotfiles
5 more examples
1 improvement request
0 proposed changes
edited
Oct 29 '16 at 3:54
+7
Shell Parameter Expansion
All Versions
8
Modifying the case of alphabetic characters
4
Length of parameter
9 more examples
0 improvement requests
0 proposed changes
edited
Oct 20 '16 at 9:14
+5
Brace Expansion
All Versions
7
Modifying filename extension
5
Create directories to group files by month and year
4 more examples
0 improvement requests
0 proposed changes
edited
Dec 24 '16 at 5:27
+2
Using cat
All Versions
8
Concatenate files
6
Printing the Contents of a File
5 more examples
0 improvement requests
0 proposed changes
edited
Dec 10 '16 at 7:05
+7
Functions
All Versions
7
Functions with arguments
6
Simple Function
5 more examples
0 improvement requests
0 proposed changes
edited
Oct 15 '16 at 10:31
+7
Bash history substitutions
All Versions
8
Quick Reference
3
Going back to last visited directory
5 more examples
0 improvement requests
0 proposed changes
edited
Dec 22 '16 at 3:55
+2
Conditional Expressions
All Versions
6
File type tests
5
String comparison and matching
5 more examples
0 improvement requests
0 proposed changes
edited
Oct 20 '16 at 3:28
+2
Keyboard shortcuts
All Versions
6
Editing Shortcuts
4
Recall Shortcuts
3 more examples
0 improvement requests
0 proposed changes
edited
Oct 5 '16 at 17:21
Find
All Versions
5
Searching for a file by name or extension
2
Executing commands against a found file
5 more examples
0 improvement requests
0 proposed changes
edited
Sep 26 '16 at 12:06
+8
Read a file (data stream, variable) line-by-line (and/or field-by-field)?
1.01
2
Looping through a file line by line
1
Looping through a string line by line
9 more examples
0 improvement requests
0 proposed changes
edited
Aug 14 '16 at 21:18
Jobs and Processes
All Versions
8
Job handling
1
Check which process running on specific port
8 more examples
5 improvement requests
0 proposed changes
edited
Dec 20 '16 at 14:56
+4
Pattern matching and regular expressions
All Versions
2
Check if a string matches a regular expression
1
Behaviour when a glob does not match anything
10 more examples
0 improvement requests
0 proposed changes
edited
Jan 18 at 0:07
Customizing PS1
All Versions
4
Colorize and customize terminal prompt
2
Show git branch name in terminal prompt
4 more examples
0 improvement requests
0 proposed changes
edited
Nov 4 '16 at 2:42
+3
Aliasing
All Versions
4
Bypass an alias
3
Create an Alias
4 more examples
0 improvement requests
0 proposed changes
edited
Aug 4 '16 at 7:06
+1
Process substitution
All Versions
3
Compare two files from the web
2
Feed a while loop with the output of a command
4 more examples
1 improvement request
0 proposed changes
edited
Dec 28 '16 at 11:22
1
2
3
next
Blog
Podcast #99 - The Requested Operation Requires Elevation
Introduction Topic
Getting started with Bash
Hello World
Hello World Using Variables
Hello World with User Input
Stack Overflow works best with JavaScript enabled