Exit 2 Private

Exit 2 Private



🛑 ALL INFORMATION CLICK HERE 👈🏻👈🏻👈🏻

































Exit 2 Private

Sign up or log in to customize your list.

more stack exchange communities

company blog


The best answers are voted up and rise to the top


Stack Overflow for Teams
– Collaborate and share knowledge with a private group.



Create a free Team
What is Teams?


Asked
7 years, 4 months ago


Active
7 years, 4 months ago


683k 167 167 gold badges 1427 1427 silver badges 1924 1924 bronze badges


823 2 2 gold badges 9 9 silver badges 13 13 bronze badges



O! Thanks. Now I've realized that ls /usr/*conf return 2 since there no any filenames containing "conf".

–  ALZ
Nov 22 '13 at 12:59






@ALZ, note that it returns 2 because it cannot find the file called /usr/*conf . And bash is passing it that filename because it can't find files that match that pattern. Better shells like zsh would have returned a "no match" error and not run ls at all.

–  Stéphane Chazelas
Nov 22 '13 at 13:59


261 3 3 silver badges 4 4 bronze badges


Unix & Linux

Tour
Help
Chat
Contact
Feedback
Mobile
Disable Responsiveness


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



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



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



MathOverflow
Mathematics
Cross Validated (stats)
Theoretical Computer Science
Physics
Chemistry
Biology



Meta Stack Exchange
Stack Apps
API
Data



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.



Accept all cookies



Customize settings



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.

Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.
Connect and share knowledge within a single location that is structured and easy to search.
I have an exercise to put in a file some data (*conf from some directories) and need to do this in background. I did it and I am wondering what is the meaning of output messages:
what does it mean?
After other Enter, another messages appear
What does it mean? What is "Exit 2"?
Enter an check results - seems to be all OK.
I am using CentOS 6.4, Gnome Terminal Emulator.
What does it mean? What is "Exit 2"?
It is exit status of ls . See man for ls:
I guess the reason is that you have lots of *conf files in /etc and no *conf files in /usr. In fact ls -ld /usr/*conf; would have had the same effect.
So If I do on my computer ls for an existing file:
And for a file that does not exists:
Or as a background process ls for a a file that does not exists:
That mean command has finished with exit status different than 0 (success).
Try to not put (&) at the end, to see what happen.
If that command take a lot when running, you could check it with:
Thanks for contributing an answer to Unix & Linux Stack Exchange!

By clicking “Post Your Answer”, you agree to our terms of service , privacy policy and cookie policy

To subscribe to this RSS feed, copy and paste this URL into your RSS reader.

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


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


vb.net - Exit 2 for loops pressing esc button - Stack Overflow
bash - What is " Exit 2 " from finished background job status?
Press Exit by KireZmaim || Geometry Dash [ 2 . 2 Private Server] - YouTube
Exit 2 | Forum
CEAG EXIT/ EXIT 2 Zone 1 and 2 Nonmetallic LED Exit Signs | Overview | Eaton
Чтобы посмотреть другие варианты, в том числе позволяющие отказаться от использования файлов cookie для персонализации и запретить использовать в браузере все или некоторые файлы cookie для других целей, нажмите "Настроить" или в любой момент перейдите на страницу g.co/privacytools.






Report Page