Stack Exchange Network

Stack Exchange network consists of 176 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Loading…
  1. 0
  2. +0
    • 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
  3. Log in Sign up
  4. current community

    • Unix & Linux
      help chat
    • Unix & Linux Meta

    your communities

    Sign up or log in to customize your list.

    more stack exchange communities

    company blog
Unix & Linux
  1. Home
    1. Public
    2. Questions
    3. Tags
    4. Users
    5. Unanswered
    6. Find a Job
    7. Jobs
    8. Companies
    1. Teams
      Stack Overflow for Teams – Collaborate and share knowledge with a private group. Create a free Team What is Teams?
    2. Teams
      What’s this?
    3. Create free Team

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more
Profile Activity
Meta user
Network profile
Alexander Mills

Reputation

6,722
  • 6.7k
  • 3.6k
  • 471
  • 2018
  • 2019
  • 2020
  • 2021

Top tag

bash

Next privilege

10,000 Rep.
Access moderator tools

Badges

8
54
116

Newest

 Good Answer

Next badge

85/100
Socratic

Impact

~419k
people reached
9 posts edited
0 helpful flags
475 votes cast
Summary Answers Questions Tags Badges Bookmarks Bounties Reputation All actions

289 Questions

Votes Activity Newest Views
5
31
votes
2
answers
3k
views

Is there any sh code that is not syntactically valid bash code?

bash shell-script posix
May 11 '18 at 23:19 Michael Homer 64.8k
5
26
votes
9
answers
28k
views

Collect exit codes of parallel background processes (sub shells)

bash shell-script shell subshell
Apr 6 at 11:39 nathanfranke 158
3
22
votes
2
answers
2k
views

Any command in my terminal that exits with non-zero code closes my terminal window

bash shell-script terminal bashrc
Nov 28 '17 at 7:08 Alexander Mills 6,722
8
17
votes
4
answers
13k
views

Listen for exit of process given pid $$

bash shell-script process proc
Dec 29 at 15:31 Remember Monica 148
4
17
votes
2
answers
3k
views

What prevents stdout/stderr from interleaving?

shell osx stdout output stderr
Jul 23 '19 at 6:54 Gilles 'SO- stop being evil' 683k
4
13
votes
4
answers
11k
views

Implicit return in bash functions?

bash shell-script bash-functions
May 29 '18 at 4:28 Isaac 33.5k
 
11
votes
3
answers
2k
views

Why is sh (not bash) complaining about functions defined in my .bashrc?

bash shell bash-functions
Aug 29 '19 at 0:03 Alexander Mills 6,722
3
10
votes
6
answers
26k
views

Compare two file modification dates

files timestamps stat
Aug 30 '19 at 17:52 Alexander Mills 6,722
3
10
votes
7
answers
4k
views

Log exit code of command, similar to time command

exit exit-status
Sep 9 '17 at 10:16 Joe 1,260
2
8
votes
2
answers
9k
views

One line env variable set behavior [duplicate]

bash shell variable variable-substitution assignment
Jul 27 '19 at 15:17 Greg Tarsa 409
2
8
votes
3
answers
5k
views

unshift args after calling shift 1

bash shell arguments
Jul 24 '18 at 7:28 Kusalananda♦ 233k
 
8
votes
4
answers
3k
views

back ticks vs double quotes

shell-script syntax
May 28 '18 at 8:13 Alexander 8,199
2
8
votes
2
answers
9k
views

Append argument to arguments list

bash shell-script shell arguments
Nov 5 '17 at 19:17 Alexander Mills 6,722
3
8
votes
1
answer
3k
views

Warning find: warning: you have specified the -maxdepth option after a non-option argument

shell find
Dec 8 '16 at 5:11 icarus 13.5k
4
7
votes
1
answer
2k
views

If no input is given to xargs, don't let xargs run the utility

pipe xargs newlines
Feb 10 at 14:26 Kusalananda♦ 233k
1
7
votes
2
answers
7k
views

Send EOF to named pipe - cleaning up / drying up fifo

shell-script pipe tail fifo
Feb 10 '19 at 7:03 mosvy 26.3k
 
7
votes
1
answer
6k
views

tar --list only top level files and folders

grep osx tar
Dec 22 '18 at 18:24 sudodus 3,566
 
7
votes
1
answer
8k
views

Change buffer size of named pipe

fifo
Apr 23 '18 at 9:44 Stéphane Chazelas 416k
2
6
votes
6
answers
1k
views

Fastest way to determine if shebang is present

shell executable exec shebang
Nov 13 at 0:06 Carl Walsh 101
 
6
votes
2
answers
4k
views

echo names and values of all env variables that start with “nlu_setting”

bash shell environment-variables variable
Nov 12 at 13:52 Kusalananda♦ 233k
3
6
votes
3
answers
3k
views

Communicate backwards in a pipe

pipe stdout stdin stderr stdio
Feb 5 '20 at 18:30 Alexander Mills 6,722
2
6
votes
2
answers
2k
views

How to cat named pipe without waiting

cat tail fifo
Oct 25 '19 at 17:58 borizzzzz 211
2
6
votes
1
answer
2k
views

eval vs. pipe through bash

bash shell-script shell eval
May 9 '18 at 2:24 igal 8,124
 
6
votes
3
answers
3k
views

grep - exit with 1 - if match

bash shell-script grep
Mar 27 '18 at 0:10 Hauke Laging 74.6k
1
6
votes
1
answer
4k
views

Bash script is not inheriting its parent's env

bash shell-script shell
Mar 3 '18 at 21:49 Kusalananda♦ 233k
1
6
votes
1
answer
4k
views

Difference between `kill -9 <pid>` and `kill -INT <pid>`?

kill signals
Oct 26 '17 at 3:37 RobertL 5,856
 
5
votes
4
answers
1k
views

Pass arguments for use in a grandchild process

bash shell-script environment-variables variable arguments
Jun 19 '18 at 21:12 Community♦ 1
5
5
votes
1
answer
14k
views

what is the difference between >&2 and &>2 [duplicate]

bash io-redirection stderr
May 15 '18 at 1:51 glenn jackman 70.3k
3
5
votes
1
answer
2k
views

Exit from script by running another script instead

bash shell-script
Jul 16 '17 at 20:12 Alexander Mills 6,722
 
5
votes
2
answers
3k
views

Spread bash argument by whitespace

bash shell-script
Jul 15 '17 at 19:10 Isaac 33.5k
1
2 3 4 5
…
10 Next
Unix & Linux
  • Tour
  • Help
  • Chat
  • Contact
  • Feedback
  • Mobile
Company
  • Stack Overflow
  • For Teams
  • Advertise With Us
  • Hire a Developer
  • Developer Jobs
  • About
  • Press
  • Legal
  • Privacy Policy
  • Terms of Service
  • Cookie Settings
  • Cookie Policy
Stack Exchange
Network
  • Technology
  • Life / Arts
  • Culture / Recreation
  • Science
  • Other
  • Stack Overflow
  • Server Fault
  • Super User
  • Web Applications
  • Ask Ubuntu
  • Webmasters
  • Game Development
  • TeX - LaTeX
  • Software Engineering
  • Unix & Linux
  • Ask Different (Apple)
  • WordPress Development
  • Geographic Information Systems
  • Electrical Engineering
  • Android Enthusiasts
  • Information Security
  • Database Administrators
  • Drupal Answers
  • SharePoint
  • User Experience
  • Mathematica
  • Salesforce
  • ExpressionEngine® Answers
  • Stack Overflow em Português
  • Blender
  • Network Engineering
  • Cryptography
  • Code Review
  • Magento
  • Software Recommendations
  • Signal Processing
  • Emacs
  • Raspberry Pi
  • Stack Overflow на русском
  • Code Golf
  • Stack Overflow en español
  • Ethereum
  • Data Science
  • Arduino
  • Bitcoin
  • Software Quality Assurance & Testing
  • Sound Design
  • Windows Phone
  • more (28)
  • Photography
  • Science Fiction & Fantasy
  • Graphic Design
  • Movies & TV
  • Music: Practice & Theory
  • Worldbuilding
  • Video Production
  • Seasoned Advice (cooking)
  • Home Improvement
  • Personal Finance & Money
  • Academia
  • Law
  • Physical Fitness
  • Gardening & Landscaping
  • Parenting
  • more (10)
  • English Language & Usage
  • Skeptics
  • Mi Yodeya (Judaism)
  • Travel
  • Christianity
  • English Language Learners
  • Japanese Language
  • Chinese Language
  • French Language
  • German Language
  • Biblical Hermeneutics
  • History
  • Spanish Language
  • Islam
  • Русский язык
  • Russian Language
  • Arqade (gaming)
  • Bicycles
  • Role-playing Games
  • Anime & Manga
  • Puzzling
  • Motor Vehicle Maintenance & Repair
  • Board & Card Games
  • Bricks
  • Homebrewing
  • Martial Arts
  • The Great Outdoors
  • Poker
  • Chess
  • Sports
  • more (16)
  • MathOverflow
  • Mathematics
  • Cross Validated (stats)
  • Theoretical Computer Science
  • Physics
  • Chemistry
  • Biology
  • Computer Science
  • Philosophy
  • Linguistics
  • Psychology & Neuroscience
  • Computational Science
  • more (10)
  • Meta Stack Exchange
  • Stack Apps
  • API
  • Data
  • Blog
  • Facebook
  • Twitter
  • LinkedIn
  • Instagram

site design / logo © 2021 Stack Exchange Inc; user contributions licensed under cc by-sa. rev 2021.4.9.39043

Linux is a registered trademark of Linus Torvalds. UNIX is a registered trademark of The Open Group.
This site is not affiliated with Linus Torvalds or The Open Group in any way.

Your privacy

By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.