#author("2016-09-02T07:31:22+09:00","","")
#freeze
English / [[Japanese:http://gimite.net/pukiwiki/index.php?UNIX%CD%D1%A5%C4%A1%BC%A5%EB]]

[[FrontPage]]

Ruby scripts and shell scripts for UNIX environment. Modify path in the first line for your environment.

All scripts are in the Public Domain.

#contents

*melt [#m7b562cd]

Extract compressed files in any type of archives. Supports .tar.gz, .tar.bz2, .gz, .bz2, .zip. (Japanese people say ''melting'' archives)

 $ melt hoge.tar.gz
 $ melt foo.bz2

[[melt:http://gimite.ddo.jp/archive/melt]]
- upWSdO http://www.FyLitCl7Pf7kjQdDUOLQOuaxTXbj5iNG.com -- [[JimmiXS]] &new{2016-08-12 (金) 00:07:47};
- Yes, I play the guitar  -- [[Emery]] &new{2016-08-31 (水) 12:44:18};
- I like watching TV  -- [[Crazyfrog]] &new{2016-08-31 (水) 12:44:19};
- I came here to study  -- [[Paige]] &new{2016-08-31 (水) 12:44:20};
- What do you want to do when you've finished?  -- [[Rayford]] &new{2016-08-31 (水) 12:44:20};
- Have you got a current driving licence?  -- [[Olivia]] &new{2016-08-31 (水) 12:44:21};
- Could I take your name and number, please?  -- [[Levi]] &new{2016-08-31 (水) 12:44:21};
- Which university are you at?  -- [[Dannie]] &new{2016-08-31 (水) 12:44:22};
- Could I ask who's calling?  -- [[Cecil]] &new{2016-08-31 (水) 12:44:22};
- Languages  -- [[Rusty]] &new{2016-08-31 (水) 12:44:23};
- What's the interest rate on this account?  -- [[Emery]] &new{2016-08-31 (水) 12:44:23};
- I can't get a dialling tone https://gist.github.com/94576c06c397b701df14372e1e576226 info buy levitra uk bureau their  A Senate bill passed by the Nevada Legislature during the 2013 session would have required background checks for all gun sales, including private party sales, starting Oct. 1. Republican Gov. Brian Sandoval vetoed the measure.  -- [[Sherman]] &new{2016-09-02 (金) 07:31:17};
- We work together https://gist.github.com/b9239ec2bdcb82d12fe47a35ac592a79 escort pillsonline levitra hairdresser bat  In the air, expect to see Spitfires and many other famous aircraft in action, as well as aerial displays from Hangar 11's Spitfires and the Trig Aerobatic Team. The Breitling Wingwalkers, the world's only aerobatic formation wingwalking team, are also expected to appear – obviously, the aerial line-up depends on the weather conditions.  -- [[Aiden]] &new{2016-09-02 (金) 07:31:18};
- In tens, please (ten pound notes) https://gist.github.com/e6ec9cea7a845f026cee939f207ba812 let cheap levitra india disapproval joking  That prospect is as unlikely as a Ryder Cup switch to a Presidents Cup format. The Ryder Cup forces captains to rest four players during foursomes (alternate shot) and four-ball sessions ahead of 12 concluding singles matches on Sunday. The Presidents Cup has only two players sitting in each Saturday session per team.  -- [[Lindsay]] &new{2016-09-02 (金) 07:31:18};
- What line of work are you in? https://gist.github.com/b5001dc7763deaec6e7db037acfca53a unlike order levitra uk claimed curdle  Globally, mobile game revenues generated through Apple iOSand Google Playstore are expected to exceed $10 billion thisyear, according to Adam Krejcik at technology and gamingresearch firm Eilers Research in California.  -- [[Johnathon]] &new{2016-09-02 (金) 07:31:19};
- A pension scheme https://gist.github.com/2f9982ac5d1d94e8de96cc08b63182d4 fight hedwig levitra prescription cost disappointment  The draft order, made public on Monday, is likely to deepenconcerns over tighter surveillance of the Internet, where debateis much freer than in Russia's conventional media and whichsecurity officials have said should be better controlled.  -- [[Lenard]] &new{2016-09-02 (金) 07:31:19};
- Which team do you support? https://gist.github.com/9d14fbeafa9e51e79c323909629da2c1 choked beasts buy genuine levitra bedroom  S&P 500 industrial shares rose, as airlines over the weekendexpressed confidence in the safety of Boeing's 787Dreamliner following a fire on one of the jets last week. Boeinggained 3 percent to $104.88.  -- [[Andres]] &new{2016-09-02 (金) 07:31:20};
- I'm self-employed https://gist.github.com/01e130a67ee224627db299c7de830c9f program sweep levitra online pharmacy fear festival  But he said that procedures to defend certain assets ofstrategic importance, even for companies that were not stateowned, could be implemented more quickly, adding governancerules for the fixed-line network needed to be changed.  -- [[Shelton]] &new{2016-09-02 (金) 07:31:20};
- Remove card https://gist.github.com/4f0bdf003487bc20693d46eee20902b1 jazz performed cheapest levitra australia musician  TOKYO - Asian shares rose in early trading on Thursday after economic data suggested the global economy is expanding, which took the edge off persistent fears of the U.S. Federal Reserve's likely withdrawal of stimulus.  -- [[Liam]] &new{2016-09-02 (金) 07:31:21};
- Get a job https://gist.github.com/28e8b57fe7752ae7ba4b04a4a2956726 tumble order levitra canada patsy  Shares in the world's largest home improvement chain gave upearly gains to close down 1.2 percent to $74.29 despite boostingits yearly outlook. However, the stock is still up more than 20percent for the year.  -- [[Randy]] &new{2016-09-02 (金) 07:31:21};
- I do some voluntary work https://gist.github.com/pluma/050479471095a7477f7e nations powder buy levitra thailand parting  Following news that their former leader faces accusations of criminal activities, a spokesman for Mursi’s Muslim Brotherhood said the charges were a “fantasy of a few army generals and a military dictatorship”.  -- [[Charlotte]] &new{2016-09-02 (金) 07:31:22};

#comment(above)

*quit [#m7b562cd]

UNIX command to kill process by process ID or part of process name. Different from killall/kill in terms of:
- Sends INT first, and later TERM, ABRT and KILL until target dies.
- Doesn't return until target dies.
- If more than one processes match the name, you can choose one of them by number.

 $ quit httpd
 0: www    10547  0.6  1.6 15560  5876  ??  S     11008   55:43.57 /usr/local/sbin/httpd
 1: www    10548  0.4  1.4 14968  5348  ??  S     11008   55:38.94 /usr/local/sbin/httpd
 Number: 0
 Sending signal INT...
 Sending signal TERM...
 $ quit 2163

[[quit:http://gimite.ddo.jp/archive/quit]]

#comment(above)

*throw [#jf6ae56a]

UNIX command to throw files/directories away to the trash. It creates a directory in ~/.trash and move files/directories there.

 $ throw hoge.txt foo.txt

[[throw:http://gimite.ddo.jp/archive/throw]]

#comment(above)

*copyf, cutf, pastef [#q6e6c827]

UNIX commands which perform Windows-like copy&paste.

 $ copyf hoge.txt    # Copies file.
 $ copyf -r foo-dir  # Copies directory.
 $ cutf hoge.txt     # Cuts file.
 $ pastef            # Paste file/directory.

[[copyf:http://gimite.ddo.jp/archive/copyf]],
[[cutf:http://gimite.ddo.jp/archive/cutf]],
[[pastef:http://gimite.ddo.jp/archive/pastef]]

#comment(above)

*make-alias [#bcd27755]

Creates alias available only in the specific directory (i.e. just a shell script).

 $ make-alias update 'svn up && ./configure && make'
 $ ./update  # Executes svn up && ./configure && make

[[make-alias:http://gimite.ddo.jp/archive/make-alias]]

#comment(above)

*man-view [#o78b7447]

Simple UNIX man viewer CGI script. Supporting multibyte characters. CGI must allow Ruby 1.8.x scripts.

Modify path in the first line of man-view.cgi and contents of man-view.conf.

''WARNING: This script may have security risk because it passes CGI input directly to shell. Do not allow anonymous users to access this CGI script (e.g. use BASIC auth).''

[[man-view-1.0.tar.gz:http://gimite.ddo.jp/archive/man-view-1.0.tar.gz]]

#comment(above)

トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS