Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options user 5769

Questions specific to GNU’s Bourne Again SHell, as opposed to other Bourne/POSIX shells. For questions about Unix shells in general, use the /shell tag instead.

0
votes
1answer
variable" named IFS is being set to a variable named "the newline character"? What does this line do, and what part of Bash allows this? …
asked Apr 4 '15 by IQAndreas
2
votes
1answer
According to the manual for read (and since it is a builtin, not man read, but help read): -N nchars Return only after reading exactly NCHARS characters, unless EOF is encountered or read times ou …
asked Apr 4 '15 by IQAndreas
21
votes
1answer
When I try to run the following command: echo -e "GET / HTTP/1.1\n\n" | /dev/tcp/74.125.225.19/80 I get the following error message: bash: /dev/tcp/74.125.225.19/80: No such file or directory …
asked Nov 6 '15 by IQAndreas
6
votes
3answers
Say I have the following code: # Check if the color prompt is enabled and supported on this system if [ -n "$force_color_prompt" ] && [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then GREEN= …
asked Jun 23 '14 by IQAndreas
4
votes
1answer
I want to select all files in a directory that end with any of the following extensions: txt, java, xml, csv Right now I'm doing like this: echo *.{txt,java,xml,csv} The problem is, if the directo …
asked Oct 14 '15 by IQAndreas
3
votes
3answers
such as Java and ActionScript, when I look at that code I imagine Bash first running the command cat /dev/sda1 (loading everything the command returns into RAM), and then running the command less which … has access to that really big "pseudo-variable" represented as -. Is that the way Bash does things (meaning that command is a really bad idea if the file is larger than the amount of RAM on your …
asked Oct 31 '14 by IQAndreas
11
votes
5answers
If you use brace expansion with wget, you can fetch sequentially-numbered images with ease: $ wget 'http://www.iqandreas.com/sample-images/100-100-color/'{90..110}'.jpg' It fetches the first 10 fil …
asked Jul 22 '14 by IQAndreas
1
vote
2answers
This is a fresh and clean headless Debian 8.7 system, kernel 3.16.0-4-amd64.. When I log in over SSH, I get that ugly Debian copyright notice: The programs included with the Debian GNU/Linux syst …
asked Feb 7 '17 by IQAndreas