CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Thu, 17 Jul 2025 16:01:34 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20091228134538
location: https://web.archive.org/web/20091228134538/https://answers.oreilly.com/tag/shell
server-timing: captures_list;dur=1.879498, exclusion.robots;dur=0.020992, exclusion.robots.policy;dur=0.009883, esindex;dur=0.010598, cdx.remote;dur=20.578200, LoadShardBlock;dur=1701.496487, PetaboxLoader3.datanode;dur=117.334211, PetaboxLoader3.resolve;dur=1535.022914
x-app-server: wwwb-app203
x-ts: 302
x-tr: 1753
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: SERVER=wwwb-app203; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Thu, 17 Jul 2025 16:01:35 GMT
content-type: text/html;charset=UTF-8
x-archive-orig-date: Mon, 28 Dec 2009 13:45:39 GMT
x-archive-orig-server: Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.8
x-archive-orig-x-powered-by: PHP/5.2.8
x-archive-orig-set-cookie: answers_session_id=deleted; expires=Sun, 28-Dec-2008 13:45:39 GMT; path=/; domain=.oreilly.com; httponly
x-archive-orig-set-cookie: answers_session_id=deleted; expires=Sun, 28-Dec-2008 13:45:39 GMT; path=/; domain=.oreilly.com; httponly
x-archive-orig-cache-control: ,no-cachemust-revalidate, max-age=0
x-archive-orig-expires: 0
x-archive-orig-pragma: no-cache
x-archive-orig-connection: close
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Mon, 28 Dec 2009 13:45:38 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Mon, 26 Oct 2009 21:54:31 GMT", ; rel="prev memento"; datetime="Mon, 26 Oct 2009 21:54:31 GMT", ; rel="memento"; datetime="Mon, 28 Dec 2009 13:45:38 GMT", ; rel="next memento"; datetime="Sun, 28 Feb 2010 14:53:13 GMT", ; rel="last memento"; datetime="Mon, 04 Aug 2014 10:42:04 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 52_13_20091228110435_crawl100_IndexOnly-c/52_13_20091228134309_crawl100.arc.gz
server-timing: captures_list;dur=6.368924, exclusion.robots;dur=0.026478, exclusion.robots.policy;dur=0.012632, esindex;dur=0.012998, cdx.remote;dur=40.346131, LoadShardBlock;dur=559.160221, PetaboxLoader3.datanode;dur=284.314245, PetaboxLoader3.resolve;dur=355.961580, load_resource;dur=208.708864
x-app-server: wwwb-app203
x-ts: 200
x-tr: 912
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
shell Questions and Answers - O'Reilly Answers
Welcome
O'Reilly Answers is a community site for sharing knowledge, asking questions, and providing answers that brings together our customers, authors, editors, conference speakers, and Foo (Friends of O'Reilly). More »
Topics: shell
Feed Subscription
Email Subscription

Please sign in or register to post.

Please sign in or register to post.
-
"Traditional" loops in shell scripts
By mike-loukides: 06 December 2009 - 12:21 PM
How do you write a "traditional" loop (say, to go through some block of code 25 times) in a Unix shell script? In bash, it's simple: for ((i = 0; i < 25; i++ )) do ... done You...
-
shell programming for loop
Asked by dondasanjay : 27 November 2009 - 08:31 PM
Answered by KBenson: Nov 29 2009 09:55 PM
For bash: Use double parenthesis to indicate you want ARITHMETIC EVALUATION (see the bash man page) if you are looking for a traditional C-style loop: $ for ((i=1; i<10; i++)); do echo $... full answer >
-
How to use and understand "whois" in its many forms
By tcpiplab: 16 October 2009 - 05:19 PM
The whois command line utility, available on all modern Unix and Linux variants, can be a fast, concise, and scriptable way to identify unknown and distant hosts, networks, and even netadmins. By the ...
-
How to Deal with Spaces and Odd Characters in Filenames
By tietack: 12 October 2009 - 01:00 PM
Sometimes, the defaults associated with Linux shells are annoying. For example, the spaces associated with many Microsoft directories, such as My Directory, can adversely affec...
Pages:
- 1
![]() ©2009, O'Reilly Media, Inc. (707) 827-7000 / (800) 998-9938 All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners. |
About O'Reilly Academic Solutions Authors Contacts Customer Service Jobs Newsletters O'Reilly Labs Press Room Privacy Policy RSS Feeds Terms of Service User Groups Writing for O'Reilly |
Content Archive Business Technology Computer Technology Microsoft Mobile Network Operating System Digital Photography Programming Software Web Web Design |
More O'Reilly Sites O'Reilly Radar Ignite Tools of Change for Publishing Digital Media Inside iPhone makezine.com craftzine.com hackszine.com perl.com xml.com Partner Sites InsideRIA java.net O'Reilly Insights on Forbes.com |