unix - What is meaning of 002 value which is returned when umask command is executed in shell - Stack Overflow (https://cdn.sstatic.net/Sites/stackoverflow/Img/favicon.ico?v=ec617d715196) (https://cdn.sstatic.net/Sites/stackoverflow/Img/apple-touch-icon.png?v=c78bd457575a) (https://cdn.sstatic.net/Sites/stackoverflow/Img/apple-touch-icon.png?v=c78bd457575a) (Stack Overflow) (/opensearch.xml) (https://stackoverflow.com/questions/19354241/what-is-meaning-of-002-value-which-is-returned-when-umask-command-is-executed-in) (https://cdn.sstatic.net/Shared/stacks.css?v=bd2aba62c5a4) (https://cdn.sstatic.net/Sites/stackoverflow/primary.css?v=cc49ce762956) (https://cdn.sstatic.net/Shared/Channels/channels.css?v=5981bb1a5bd7) (https://accounts.google.com/gsi/style) (site logo) Join Stack Overflow By clicking “Sign up”, you agree to our (/legal/terms-of-service/public) terms of service and acknowledge you have read our (/legal/privacy-policy) privacy policy . (8715abeb62cf6a9fe93de824cea527599cbf4e957f73c9d6615a4213f6b2728c) (1) (2.0) Sign up with Google Sign up with GitHub OR (8715abeb62cf6a9fe93de824cea527599cbf4e957f73c9d6615a4213f6b2728c) (1) () () () () () () Email Password (8+ characters (at least 1 letter & 1 number)) Sign up Already have an account? (/users/login) Log in (8715abeb62cf6a9fe93de824cea527599cbf4e957f73c9d6615a4213f6b2728c) () Skip to main content (https://stackoverflow.com) Stack Overflow (https://stackoverflow.co/) About Products (https://stackoverflow.co/teams/ai/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav-bar&utm_content=overflowai) OverflowAI (https://stackoverflow.co/teams/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=stack-overflow-for-teams) Stack Overflow for Teams Where developers & technologists share private knowledge with coworkers (https://stackoverflow.co/advertising/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=stack-overflow-advertising) Advertising & Talent Reach devs & technologists worldwide about your product, service or employer brand (https://stackoverflow.co/teams/ai/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=overflow-ai) OverflowAI GenAI features for Teams (https://stackoverflow.co/api-solutions/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=overflow-api) OverflowAPI Train & fine-tune LLMs (https://stackoverflow.co/labs/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=labs) Labs The future of collective knowledge sharing (https://stackoverflow.co/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=about-the-company) About the company (https://stackoverflow.blog/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=top-nav&utm_content=blog) Visit the blog (Search…) () Loading… (https://stackoverflow.com) current community (https://stackoverflow.com) (Stack Overflow) Stack Overflow (https://stackoverflow.com/help) help (https://chat.stackoverflow.com/?tab=site&host=stackoverflow.com) chat (https://meta.stackoverflow.com) (Meta Stack Overflow) Meta Stack Overflow your communities (https://stackoverflow.com/users/signup?ssrc=site_switcher&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f19354241%2fwhat-is-meaning-of-002-value-which-is-returned-when-umask-command-is-executed-in) Sign up or (https://stackoverflow.com/users/login?ssrc=site_switcher&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f19354241%2fwhat-is-meaning-of-002-value-which-is-returned-when-umask-command-is-executed-in) log in to customize your list. (https://stackexchange.com/sites) more stack exchange communities (https://stackoverflow.blog) company blog (Click to show search) (https://stackoverflow.com/users/login?ssrc=head&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f19354241%2fwhat-is-meaning-of-002-value-which-is-returned-when-umask-command-is-executed-in) Log in (https://stackoverflow.com/users/signup?ssrc=head&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f19354241%2fwhat-is-meaning-of-002-value-which-is-returned-when-umask-command-is-executed-in) Sign up Ask questions and share your thoughts on the future of Stack Overflow. Join our first live community AMA this Wednesday, February 26th, at 3 PM ET. (https://meta.stackexchange.com/questions/406399/join-us-for-our-first-community-wide-ama-ask-me-anything-with-stack-overflow-s?utm_medium=ppc&utm_source=stackoverflow-community&utm_campaign=community-ama&utm_content=announcement-banner2) Learn more (dismiss) Let's set up your homepage Select a few topics you're interested in: python javascript c# reactjs java android html flutter c++ node.js typescript css r php angular next.js spring-boot machine-learning sql excel ios azure docker Or search from our full list: (Search) javascript python java c# php android html jquery c++ css ios sql mysql r reactjs node.js arrays c asp.net json python-3.x .net ruby-on-rails sql-server swift django angular objective-c excel pandas angularjs regex typescript ruby linux ajax iphone vba xml laravel spring asp.net-mvc database wordpress string flutter postgresql mongodb wpf windows amazon-web-services xcode bash git oracle-database spring-boot dataframe azure firebase list multithreading docker vb.net react-native eclipse algorithm powershell macos visual-studio numpy image forms scala function vue.js performance twitter-bootstrap selenium winforms kotlin loops express dart hibernate sqlite matlab python-2.7 shell rest apache entity-framework android-studio csv api maven linq qt dictionary unit-testing facebook asp.net-core tensorflow apache-spark file swing class unity-game-engine sorting date authentication go symfony opencv t-sql matplotlib .htaccess google-chrome for-loop datetime codeigniter http perl validation sockets google-maps object uitableview xaml oop if-statement visual-studio-code cordova ubuntu web-services email android-layout github elasticsearch spring-mvc kubernetes selenium-webdriver ms-access user-interface parsing ggplot2 pointers machine-learning c++11 google-sheets security flask google-apps-script ruby-on-rails-3 nginx templates variables exception sql-server-2008 gradle debugging tkinter listview delphi jpa asynchronous pdf web-scraping haskell jsp ssl amazon-s3 google-cloud-platform jenkins testing xamarin wcf npm batch-file generics ionic-framework network-programming unix recursion google-app-engine mongoose visual-studio-2010 .net-core android-fragments assembly animation math next.js session svg hadoop intellij-idea curl django-models join laravel-5 winapi rust url heroku http-redirect tomcat google-cloud-firestore inheritance webpack keras image-processing asp.net-mvc-4 gcc web logging dom swiftui matrix pyspark actionscript-3 button post optimization firebase-realtime-database jquery-ui cocoa iis xpath d3.js firefox javafx internet-explorer xslt caching select asp.net-mvc-3 opengl events asp.net-web-api plot dplyr magento encryption search stored-procedures amazon-ec2 ruby-on-rails-4 memory audio canvas multidimensional-array jsf random vector cookies redux facebook-graph-api input flash xamarin.forms indexing arraylist ipad cocoa-touch data-structures video apache-kafka model-view-controller serialization jdbc woocommerce routes razor awk azure-devops servlets mod-rewrite beautifulsoup docker-compose iframe filter excel-formula aws-lambda design-patterns text django-rest-framework visual-c++ cakephp mobile android-intent react-hooks struct methods groovy mvvm ssh lambda checkbox google-chrome-extension ecmascript-6 time grails installation sharepoint cmake spring-security shiny jakarta-ee android-recyclerview plsql core-data types meteor android-activity sed bootstrap-4 websocket activerecord graph replace scikit-learn file-upload group-by vim junit deep-learning boost import sass memory-management error-handling async-await eloquent dynamic soap silverlight dependency-injection charts layout apache-spark-sql deployment browser gridview svn while-loop google-bigquery vuejs2 ffmpeg dll highcharts view foreach plugins makefile c#-4.0 redis reporting-services jupyter-notebook server merge https unicode reflection google-maps-api-3 twitter oauth-2.0 extjs pytorch axios terminal pip split mysqli cmd django-views encoding automation netbeans database-design collections hash build data-binding ember.js tcp sqlalchemy pdo apache-flex concurrency command-line entity-framework-core spring-data-jpa printing java-8 react-redux jestjs service html-table neo4j ansible lua parameters material-ui module visual-studio-2012 enums promise flexbox outlook webview firebase-authentication web-applications uwp jquery-mobile utf-8 datatable python-requests parallel-processing drop-down-menu colors scroll hive tfs scipy count syntax ms-word twitter-bootstrap-3 ssis google-analytics three.js fonts powerbi constructor graphql rxjs file-io paypal discord cassandra socket.io graphics compiler-errors gwt nlp react-router solr backbone.js url-rewriting datatables memory-leaks oauth datagridview terraform drupal oracle11g zend-framework neural-network knockout.js triggers django-forms interface google-api angular-material casting jmeter linked-list proxy path timer django-templates arduino orm directory parse-platform visual-studio-2015 windows-phone-7 cron push-notification conditional-statements primefaces functional-programming pagination model jar xamarin.android hyperlink uiview visual-studio-2013 gitlab vbscript google-cloud-functions azure-active-directory jwt download swift3 sql-server-2005 process configuration rspec properties pygame combobox callback windows-phone-8 safari linux-kernel permissions scrapy raspberry-pi scripting emacs clojure scope io x86 compilation mongodb-query responsive-design nhibernate angularjs-directive request expo bluetooth 3d dns azure-functions binding reference discord.js architecture playframework pyqt version-control doctrine-orm package pycharm get sql-server-2012 rubygems f# autocomplete datepicker openssl kendo-ui tree controller jackson yii nested grep xamarin.ios static statistics dockerfile transactions null datagrid active-directory uiviewcontroller phpmyadmin webforms discord.py notifications computer-vision sas duplicates mocking youtube nullpointerexception yaml menu sum bitmap electron asp.net-mvc-5 visual-studio-2008 time-series yii2 jsf-2 android-listview css-selectors stl blazor floating-point cryptography ant stream hashmap character-encoding msbuild sdk asp.net-core-mvc google-drive-api selenium-chromedriver jboss joomla navigation cors devise anaconda frontend background camera pyqt5 multiprocessing binary cuda linq-to-sql iterator mariadb onclick ios7 plotly rabbitmq android-asynctask android-jetpack-compose microsoft-graph-api tabs insert laravel-4 amazon-dynamodb uicollectionview environment-variables linker console xsd coldfusion upload continuous-integration ftp textview opengl-es operating-system mockito vuejs3 localization xml-parsing macros formatting json.net kivy type-conversion data.table timestamp calendar integer segmentation-fault android-ndk drag-and-drop prolog char crash jasmine automated-tests dependencies geometry android-gradle-plugin itext firebase-cloud-messaging header sprite-kit mfc fortran attributes nosql nuxt.js format nestjs azure-pipelines odoo jquery-plugins db2 leaflet jenkins-pipeline event-handling postman flutter-layout annotations julia keyboard textbox arm visual-studio-2017 gulp libgdx stripe-payments xampp synchronization crystal-reports azure-web-app-service timezone dom-events android-emulator swagger uikit wso2 sequelize.js aggregation-framework namespaces uiscrollview jvm chart.js google-sheets-formula com subprocess geolocation centos webdriver html5-canvas widget garbage-collection dialog numbers snowflake-cloud-data-platform concatenation sql-update qml windows-10 set mapreduce tuples smtp ionic2 java-stream rotation modal-dialog android-edittext spring-data http-headers nuget doctrine radio-button grid sonarqube lucene xmlhttprequest internationalization listbox components initialization switch-statement google-play apache-camel boolean serial-port ldap ios5 youtube-api return gdb latex pivot eclipse-plugin frameworks tags containers dataset github-actions asp-classic foreign-keys subquery label copy uinavigationcontroller google-cloud-storage delegates c++17 struts2 migration base64 protractor queue sql-server-2008-r2 find uibutton embedded arguments composer-php append jaxb zip stack cucumber autolayout ide entity-framework-6 popup iteration windows-7 airflow r-markdown ssl-certificate vb6 gmail hover jqgrid tailwind-css g++ udp Next You’ll be prompted to create an account to view your personalized homepage. (/) Home (/questions) Questions (/tags) Tags (/users) Users (https://stackoverflow.com/jobs/companies?so_medium=stackoverflow&so_source=SiteNav) Companies Labs (/jobs?source=so-left-nav) Jobs (/beta/discussions) Discussions Collectives Communities for your favorite technologies. (/collectives-all) Explore all Collectives Teams () Ask questions, find answers and collaborate at work with Stack Overflow for Teams. (https://stackoverflowteams.com/teams/create/free/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=side-bar&utm_content=explore-teams) Try Teams for free (https://stackoverflow.co/teams/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=side-bar&utm_content=explore-teams) Explore Teams Teams Ask questions, find answers and collaborate at work with Stack Overflow for Teams. (https://stackoverflow.co/teams/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=side-bar&utm_content=explore-teams-compact) Explore Teams Collectives™ on Stack Overflow Find centralized, trusted content and collaborate around the technologies you use most. (/collectives) Learn more about Collectives Teams Q&A for work Connect and share knowledge within a single location that is structured and easy to search. (https://stackoverflow.co/teams/) Learn more about Teams Get early access and see previews of new features. (https://stackoverflow.co/labs/) Learn more about Labs (https://cdn.sstatic.net/Sites/stackoverflow/Img/apple-touch-icon.png?v=c78bd457575a) (/questions/19354241/what-is-meaning-of-002-value-which-is-returned-when-umask-command-is-executed-in) What is meaning of 002 value which is returned when umask command is executed in shell [closed] (/questions/ask) Ask Question (2013-10-14 05:56:51Z) Asked 11 years, 4 months ago Modified (?lastactivity) (2013-10-14 06:14:16Z) 11 years, 4 months ago (Viewed 31,709 times) Viewed 32k times This question shows research effort; it is useful and clear (70:3:31e,16:4e3a34d05715cedd,10:1740410019,16:cbc2bff729a36755,8:19354241,a7a9290abd99018095148fafa2dca291cf0951a7b9712b0f802a584cd906fe7f) 4 (This question does not show any research effort; it is unclear or not useful) (70:3:31e,16:7d43cad2d4bed35e,10:1740410019,16:9e8c7e3b3e37730d,8:19354241,ff5802123e8b9d115daba068a6c5e09f94243bff21a48f61bd03c09494af7044) Save this question. (/posts/19354241/timeline) Show activity on this post. Closed. This question does not meet (/help/closed-questions) Stack Overflow guidelines . It is not currently accepting answers. This question does not appear to be about (/help/on-topic) a specific programming problem, a software algorithm, or software tools primarily used by programmers . If you believe the question would be on-topic on (https://stackexchange.com/sites) another Stack Exchange site , you can leave a comment to explain where the question may be able to be answered. Closed (2014-03-01 22:26:07Z) 10 years ago . (/posts/19354241/edit) Improve this question I type the umask command in linux shell and it returns 002 as output. I know what for umask command used. But what 002 represents. please help me (/questions/tagged/shell) (show questions tagged 'shell') shell (/questions/tagged/unix) (show questions tagged 'unix') unix (/q/19354241) (Short permalink to this question) Share Share a link to this question Copy link (https://creativecommons.org/licenses/by-sa/3.0/) (The current license for this post: CC BY-SA 3.0) CC BY-SA 3.0 (/posts/19354241/edit) () Improve this question Follow (70:3:31e,16:5e214dda02939519,10:1740410019,16:9edf549ad95b0a49,8:19354241,a2d41e5cd2f5d2837b27fe72dca44de1f96521ae75f12309f0f38d42b09b15b0) Follow this question to receive notifications asked (2013-10-14 05:56:51Z) Oct 14, 2013 at 5:56 (/users/2849170/sri-harsha) (Sri Harsha's user avatar) (/users/2849170/sri-harsha) Sri Harsha Sri Harsha (reputation score) 643 (2 gold badges) 2 2 gold badges (8 silver badges) 8 8 silver badges (19 bronze badges) 19 19 bronze badges 1 0x2 is write . Hence, files will not be writable by others by default. – (/users/112968/knittl) (265,556 reputation) knittl Commented (2013-10-14 06:00:45Z, License: CC BY-SA 3.0) Oct 14, 2013 at 6:00 (this comment was edited 1 time) (Use comments to ask for more information or suggest improvements. Avoid answering questions in comments.) Add a comment | (Expand to show all comments on this post) 2 Answers 2 Sorted by: (/questions/19354241/what-is-meaning-of-002-value-which-is-returned-when-umask-command-is-executed-in?answertab=scoredesc#tab-top) Reset to default (scoredesc) Highest score (default) (trending) Trending (recent votes count more) (modifieddesc) Date modified (newest first) (createdasc) Date created (oldest first) This answer is useful (70:3:31e,16:9a38a85f7d13a3bf,10:1740410019,16:d5e83228bb7dbaf2,8:19354284,3ddadba3ff53c0b3c1542ecf0798021302b4274c3032174f6fc8ae73048c516b) 13 (This answer is not useful) (70:3:31e,16:0e7673981cf76d37,10:1740410019,16:7c1c046015492f8a,8:19354284,d2676c955abc973acb4031dbc0d53b41ed63eeda2698284911815f2ab6774461) Save this answer. (Loading when this answer was accepted…) (/posts/19354284/timeline) Show activity on this post. It shows the default permission levels by which a file will be created.Subtracting umask from base permission would give you actual file permissions.All the files will be created with 664 (666-002) permissions and dir with 775 (777-002) permissions. (/a/19354284) (Short permalink to this answer) Share Share a link to this answer Copy link (https://creativecommons.org/licenses/by-sa/3.0/) (The current license for this post: CC BY-SA 3.0) CC BY-SA 3.0 (/posts/19354284/edit) () Improve this answer Follow (70:3:31e,16:75b2a5d765ea3378,10:1740410019,16:51898c25b9752ad1,8:19354284,3e2f3324582ca6939ba66734d08ada2545f53e240764e26dc765f28c6d8be4fe) Follow this answer to receive notifications (/posts/19354284/revisions) (show all edits to this post) edited (2013-10-14 06:14:16Z) Oct 14, 2013 at 6:14 answered (2013-10-14 06:02:11Z) Oct 14, 2013 at 6:02 (/users/806299/cppcoder) (cppcoder's user avatar) (/users/806299/cppcoder) cppcoder cppcoder (reputation score 23,135) 23.1k (7 gold badges) 7 7 gold badges (61 silver badges) 61 61 silver badges (88 bronze badges) 88 88 bronze badges 2 imean which bit represents what? – (/users/2849170/sri-harsha) (643 reputation) Sri Harsha Commented (2013-10-14 06:03:05Z, License: CC BY-SA 3.0) Oct 14, 2013 at 6:03 (number of 'useful comment' votes received) 2 The order is rwx (read-write-execute), and the bitmask is defined as r=4, w=2, x=1, so 002 equals w only. – (/users/610979/frank-schmitt) (30,815 reputation) Frank Schmitt Commented (2013-10-14 07:35:07Z, License: CC BY-SA 3.0) Oct 14, 2013 at 7:35 (Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.) Add a comment | (Expand to show all comments on this post) This answer is useful (70:3:31e,16:d42320e261436b2c,10:1740410019,16:918e231df1a43cf1,8:19354296,45cbec6b901208b47f9914a7b57a90212155ab289b68dd5dfeced58b4bffb2cf) 1 (This answer is not useful) (70:3:31e,16:e86b705ee1600e78,10:1740410019,16:8603cd1501fe8c28,8:19354296,3d1d981eb4b77fab9282179173d8ff64ac8a82c66ec89a8ee98b3c260840d620) Save this answer. (Loading when this answer was accepted…) (/posts/19354296/timeline) Show activity on this post. It means that files created will not be world-writable by default. (/a/19354296) (Short permalink to this answer) Share Share a link to this answer Copy link (https://creativecommons.org/licenses/by-sa/3.0/) (The current license for this post: CC BY-SA 3.0) CC BY-SA 3.0 (/posts/19354296/edit) () Improve this answer Follow (70:3:31e,16:7aaa4d963058567a,10:1740410019,16:067d9e09046f80d4,8:19354296,e1a2a766242c488a32c2458f0c4aee9ceb9792b7de5d92151c60b4173559a7a0) Follow this answer to receive notifications answered (2013-10-14 06:02:57Z) Oct 14, 2013 at 6:02 (/users/20862/ignacio-vazquez-abrams) (Ignacio Vazquez-Abrams's user avatar) (/users/20862/ignacio-vazquez-abrams) Ignacio Vazquez-Abrams Ignacio Vazquez-Abrams (reputation score 799,110) 799k (160 gold badges) 160 160 gold badges (1.4k silver badges) 1.4k 1.4k silver badges (1.4k bronze badges) 1.4k 1.4k bronze badges (Use comments to ask for more information or suggest improvements. Avoid comments like “+1” or “thanks”.) Add a comment | (Expand to show all comments on this post) Not the answer you're looking for? Browse other questions tagged (/questions/tagged/shell) (show questions tagged 'shell') shell (/questions/tagged/unix) (show questions tagged 'unix') unix or (/questions/ask) ask your own question . The Overflow Blog (https://stackoverflow.blog/2025/02/20/research-roadmap-update-february-2025/?cb=1) Research roadmap update, February 2025 (https://stackoverflow.blog/2025/02/21/one-quality-every-engineering-manager-should-have-empathy/?cb=1) One quality every engineering manager should have? Empathy. Featured on Meta (Meta Stack Exchange) (https://meta.stackexchange.com/questions/406399/join-us-for-our-first-community-wide-ama-ask-me-anything-with-stack-overflow-s?cb=1) (Join us for our first community-wide AMA (Ask Me Anything) with Stack Overflow’s CEO (and a few others) on February 26, 2025) Join us for our first community-wide AMA (Ask Me Anything) with Stack... (Meta Stack Exchange) (https://meta.stackexchange.com/questions/406575/bigbird-and-frog-have-joined-us-as-community-managers?cb=1) bigbird and Frog have joined us as Community Managers (Meta Stack Overflow) (https://meta.stackoverflow.com/questions/421831/policy-generative-ai-e-g-chatgpt-is-banned?cb=1) Policy: Generative AI (e.g., ChatGPT) is banned (Meta Stack Overflow) (https://meta.stackoverflow.com/questions/433034/stacks-editor-development-and-testing?cb=1) Stacks Editor development and testing (Meta Stack Overflow) (https://meta.stackoverflow.com/questions/432989/is-it-better-to-redirect-users-who-attempt-to-perform-actions-they-cant-yet-tak?cb=1) (Is it better to redirect users who attempt to perform actions they can't yet take?) Is it better to redirect users who attempt to perform actions they can't yet... Related (https://stackoverflow.com/q/5725296?rq=1) (Question score (upvotes - downvotes)) 1897 (https://stackoverflow.com/questions/5725296/difference-between-sh-and-bash?rq=1) Difference between sh and Bash (https://stackoverflow.com/q/4760215?rq=1) (Question score (upvotes - downvotes)) 1468 (https://stackoverflow.com/questions/4760215/running-shell-command-and-capturing-the-output?rq=1) Running shell command and capturing the output (https://stackoverflow.com/q/226703?rq=1) (Question score (upvotes - downvotes)) 1907 (https://stackoverflow.com/questions/226703/how-do-i-prompt-for-yes-no-cancel-input-in-a-linux-shell-script?rq=1) How do I prompt for Yes/No/Cancel input in a Linux shell script? (https://stackoverflow.com/q/4565700?rq=1) (Question score (upvotes - downvotes)) 1882 (https://stackoverflow.com/questions/4565700/how-to-specify-the-private-ssh-key-to-use-when-executing-shell-command-on-git?rq=1) How to specify the private SSH-key to use when executing shell command on Git? (https://stackoverflow.com/q/1358540?rq=1) (Question score (upvotes - downvotes)) 2095 (https://stackoverflow.com/questions/1358540/how-can-i-count-all-the-lines-of-code-in-a-directory-recursively?rq=1) How can I count all the lines of code in a directory recursively? (https://stackoverflow.com/q/2853803?rq=1) (Question score (upvotes - downvotes)) 1332 (https://stackoverflow.com/questions/2853803/how-to-echo-shell-commands-as-they-are-executed?rq=1) How to echo shell commands as they are executed (https://stackoverflow.com/q/4608187?rq=1) (Question score (upvotes - downvotes)) 1232 (https://stackoverflow.com/questions/4608187/how-to-reload-bash-profile-from-the-command-line?rq=1) How to reload .bash_profile from the command line (https://stackoverflow.com/q/450799?rq=1) (Question score (upvotes - downvotes)) 1116 (https://stackoverflow.com/questions/450799/shell-command-to-sum-integers-one-per-line?rq=1) Shell command to sum integers, one per line? (https://stackoverflow.com/q/221921?rq=1) (Question score (upvotes - downvotes)) 942 (https://stackoverflow.com/questions/221921/use-grep-exclude-include-syntax-to-not-grep-through-certain-files?rq=1) Use grep --exclude/--include syntax to not grep through certain files (https://stackoverflow.com/q/4572153?rq=1) (Question score (upvotes - downvotes)) 665 (https://stackoverflow.com/questions/4572153/os-x-equivalent-of-linuxs-wget?rq=1) OS X: equivalent of Linux's wget (https://stackexchange.com/questions?tab=hot) Hot Network Questions (English Language & Usage Stack Exchange) (https://english.stackexchange.com/questions/629519/have-a-dream-vs-see-a-dream) 'Have a dream' vs. 'see a dream'? (TeX - LaTeX Stack Exchange) (https://tex.stackexchange.com/questions/737678/how-to-get-over-line-with-round-corners) How to get over line with round corners? (Movies & TV Stack Exchange) (https://movies.stackexchange.com/questions/124604/whats-the-name-of-this-comedy-movie-about-an-inherited-apartment-building-that) What's the name of this comedy movie about an inherited apartment building that was a total wreck? (TeX - LaTeX Stack Exchange) (https://tex.stackexchange.com/questions/737768/emulating-itemize-using-tikz-so-i-can-draw-on-it) Emulating itemize using tikz, so I can draw on it (Science Fiction & Fantasy Stack Exchange) (https://scifi.stackexchange.com/questions/295103/what-was-the-first-sff-movie-to-influence-later-books-in-the-same-franchise) What was the first SFF movie to influence later books in the same franchise? (Physics Stack Exchange) (https://physics.stackexchange.com/questions/843733/how-exactly-does-energy-transformation-take-place) How exactly does energy transformation take place? (Code Golf Stack Exchange) (https://codegolf.stackexchange.com/questions/278362/tips-for-golfing-in-maple) Tips for golfing in Maple (Puzzling Stack Exchange) (https://puzzling.stackexchange.com/questions/130661/split-and-make-it-fit) Split and make it fit (Space Exploration Stack Exchange) (https://space.stackexchange.com/questions/67958/how-does-the-iss-ammonia-cooling-loop-compare-to-a-ground-based-ammonia-cooling) How does the ISS ammonia cooling loop compare to a ground-based ammonia cooling system? (Electrical Engineering Stack Exchange) (https://electronics.stackexchange.com/questions/739768/dc-voltage-drop-over-poe-with-and-without-load) DC Voltage drop over PoE with and without load (Mathematica Stack Exchange) (https://mathematica.stackexchange.com/questions/311168/tabular-shifts-dates-by-one-day) Tabular shifts dates by one day (Super User) (https://superuser.com/questions/1882243/how-can-i-know-if-my-windows-computer-is-connected-to-a-physical-display) How can I know if my Windows computer is connected to a physical display? (Worldbuilding Stack Exchange) (https://worldbuilding.stackexchange.com/questions/264873/how-could-giant-spiders-replace-horses-for-a-badlands-society) How could giant spiders replace horses for a badlands society? (Worldbuilding Stack Exchange) (https://worldbuilding.stackexchange.com/questions/264861/how-can-magic-which-manifests-equally-in-males-and-females-favour-a-society-whic) How can magic which manifests equally in males and females favour a society which is matriarchal and polyandrous? (Philosophy Stack Exchange) (https://philosophy.stackexchange.com/questions/122942/why-is-cogito-needed-as-a-step-in-dubito-ergo-cogito-ergo-sum) Why is "cogito" needed as a step in "dubito, ergo cogito, ergo sum"? (Law Stack Exchange) (https://law.stackexchange.com/questions/107512/can-i-be-charged-for-calling-the-police-in-germany-and-then-realising-it-s-not-a) Can I be charged for calling the police in Germany and then realising it’s not an emergency afterwards? (Astronomy Stack Exchange) (https://astronomy.stackexchange.com/questions/59536/how-could-we-have-determined-the-size-of-the-sun-without-the-moon) How could we have determined the size of the Sun without the moon? (MathOverflow) (https://mathoverflow.net/questions/488344/is-the-inverse-to-completely-monotone-function-completely-monotone) Is the inverse to completely monotone function completely monotone? (Home Improvement Stack Exchange) (https://diy.stackexchange.com/questions/315070/identify-this-contradictory-and-potentially-mislabeled-electrical-device) Identify this (contradictory and potentially mislabeled) electrical device (Retrocomputing Stack Exchange) (https://retrocomputing.stackexchange.com/questions/31312/c-recursion-and-the-hp-1000) C, recursion and the HP-1000 (Code Review Stack Exchange) (https://codereview.stackexchange.com/questions/295452/collision-detection-of-two-rects-with-rounded-borders) Collision detection of two rects with rounded borders (Electrical Engineering Stack Exchange) (https://electronics.stackexchange.com/questions/739716/is-an-ideal-transformer-with-unloaded-secondary-equivalent-to-an-ideal-inductor) Is an ideal transformer with unloaded secondary equivalent to an ideal inductor? (Science Fiction & Fantasy Stack Exchange) (https://scifi.stackexchange.com/questions/295117/is-there-a-reason-that-heinlein-omitted-let-there-be-light-from-the-past-thro) Is there a reason that Heinlein omitted "Let There Be Light" from "The Past Through Tomorrow" (Electrical Engineering Stack Exchange) (https://electronics.stackexchange.com/questions/739633/circuit-for-wiping-destroying-ic-on-a-smart-card) Circuit for wiping / destroying IC on a smart card more hot questions () lang-bash (https://stackoverflow.com) (https://stackoverflow.com) Stack Overflow (/questions) Questions (/help) Help (https://chat.stackoverflow.com/?tab=site&host=stackoverflow.com) Chat (https://stackoverflow.co/) Products (https://stackoverflow.co/teams/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=footer&utm_content=teams) Teams (https://stackoverflow.co/advertising/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=footer&utm_content=advertising) Advertising (https://stackoverflow.co/advertising/employer-branding/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=footer&utm_content=talent) Talent (https://stackoverflow.co/) Company (https://stackoverflow.co/) About (https://stackoverflow.co/company/press/) Press (https://stackoverflow.co/company/work-here/) Work Here (https://stackoverflow.com/legal) Legal (https://stackoverflow.com/legal/privacy-policy) Privacy Policy (https://stackoverflow.com/legal/terms-of-service/public) Terms of Service (/contact) Contact Us Cookie Settings (https://stackoverflow.com/legal/cookie-policy) Cookie Policy (https://stackexchange.com) Stack Exchange Network (https://stackexchange.com/sites#technology) Technology (https://stackexchange.com/sites#culturerecreation) Culture & recreation (https://stackexchange.com/sites#lifearts) Life & arts (https://stackexchange.com/sites#science) Science (https://stackexchange.com/sites#professional) Professional (https://stackexchange.com/sites#business) Business (https://api.stackexchange.com/) API (https://data.stackexchange.com/) Data (https://stackoverflow.blog?blb=1) Blog (https://www.facebook.com/officialstackoverflow/) Facebook (https://twitter.com/stackoverflow) Twitter (https://linkedin.com/company/stack-overflow) LinkedIn (https://www.instagram.com/thestackoverflow) Instagram Site design / logo © 2025 Stack Exchange Inc; user contributions licensed under (https://stackoverflow.com/help/licensing) CC BY-SA . rev 2025.2.24.23018