CARVIEW |
Earn Rewards, Reputation, and Badges
Redeem the reputation points you've earned from participating in O'Reilly Answers for O'Reilly books, videos, courses, and conferences.
Recommended for You
Topics: shell
Feed subscription
Email subscription
Questions Only Feed
Questions Only Email

Please sign in or register to post.

Please sign in or register to post.
-
Keep SSH Sessions Active, Or Reconnect?
By lazyweb: 04 February 2010 - 04:43 PM
Over on Slashdot user borjonx writes "Is it safer to log out of an SSH session, and re-establish it later, or just keep the connection open? Like many of you, I use OpenSSH to connect to my Slack...
-
How to Clean Up after a Tarball or Zipball Explodes
By mike-loukides: 29 January 2010 - 05:53 PM
Don't you hate it when someone sends you a big fat tar or zip file full of lots of files, and didn't bother to put everything in one folder? If you extract it unawares, you get dozens--maybe ...
-
"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...
- 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 |