Skip to main content
Greg Nisbet's user avatar
Greg Nisbet's user avatar
Greg Nisbet's user avatar
Greg Nisbet
  • Member for 9 years, 8 months
  • Last seen this week
  • Menlo Park, CA, United States
14 votes
1 answer
1k views

Why does `find . -type f` take longer than `find .`?

14 votes
1 answer
4k views

bash wait for process in process substitution even if command is invalid [duplicate]

12 votes
5 answers
4k views

Avoid separately adding ssh keys (with password) to shell sessions

12 votes
5 answers
6k views

curl write http code to stderr or to file

9 votes
5 answers
18k views

Bash while loop read from colon-delimited list of paths using IFS

9 votes
1 answer
8k views

Stop processing single line in awk after successful match?

7 votes
1 answer
925 views

Shells with the ability to treat `\r` as a whitespace character

6 votes
3 answers
10k views

Finding number of child processes of a particular process

6 votes
1 answer
2k views

portably assign value to dynamically named shell variable

6 votes
5 answers
13k views

grep -v: How to exclude only the first (or last) N lines that match?

5 votes
3 answers
6k views

Can't run `startx` from inside screen session

4 votes
1 answer
3k views

How To Switch to Virtual Terminal Running X11 as Subprocess of Login Shell?

4 votes
2 answers
3k views

Process each line of output from `ping` immediately in pipeline

4 votes
2 answers
4k views

Filter files generated by `find` by parsed output of `file` command

4 votes
2 answers
2k views

Is there a minimal POSIX shell for OS X?

4 votes
1 answer
1k views

center current line in terminal emulator

4 votes
2 answers
1k views

Why does bash 4.3 keep allocating memory in a script

4 votes
1 answer
74 views

How to configure less to read non-displayed data into a buffer?

4 votes
1 answer
274 views

ed print the next n lines as succinctly as possible

3 votes
3 answers
5k views

i3wm move window to adjacent workspace regardless of whether workspace is empty or not

3 votes
1 answer
3k views

how to unshare network for current process

3 votes
1 answer
585 views

Pitfalls of calling system(3) or popen(3) with a constant string?

3 votes
1 answer
628 views

Clear specific X buffer directly, without going through xsel or xclip

3 votes
2 answers
6k views

What does the interpreter reported by `file` refer to?

3 votes
1 answer
502 views

Which shells (if any) avoid reading heredocs into memory all at once?

3 votes
3 answers
2k views

Can a function in sh have zero statements?

3 votes
0 answers
332 views

How little work could `/usr/bin/cd` or `/usr/bin/wait` do and still be conforming?

3 votes
1 answer
237 views

Is it safe to close a directory stream (DIR *) in both the parent and child process?

3 votes
1 answer
808 views

replace indentation tabs with fixed number of spaces per tab

3 votes
1 answer
3k views

tcsh preserve newlines in command substitution `...`