タグ

shellに関するhoneybeのブックマーク (9)

  • 私が他人のシェルスクリプトから学んだこと | Yakst

    私はシェルスクリプトの大ファンで、他人のスクリプトから面白い方法を学ぶのが大好きだ。最近、SSHサーバの2要素認証を簡単にするためのauthy-sshスクリプトに出会った。このスクリプト群を見まわしていて、みんなと共有したいたくさんのクールなことを見つけた。 出力に色付けする 出力文字列を、成功した時は緑に、失敗した時は赤に、警告は黄色に色づけしたいと思うことはたくさんあるだろう。 NORMAL=$(tput sgr0) GREEN=$(tput setaf 2; tput bold) YELLOW=$(tput setaf 3) RED=$(tput setaf 1) function red() { echo -e "$RED$*$NORMAL" } function green() { echo -e "$GREEN$*$NORMAL" } function yellow() { e

    私が他人のシェルスクリプトから学んだこと | Yakst
    honeybe
    honeybe 2013/08/21
    あとで。
  • Windows 7で利用するCUIコマンドを“単品”で追加するなら「GnuWin32」(1) - builder by ZDNet Japan

    データ活用は次のステージへ トラディショナルからモダンへ進化するBI 未来への挑戦の成功はデータとともにある RPA見直される”業務”と”人”の関係 人的リソースを単純作業から解放! 高付加価値業務への転換のために 仮想環境データ保護の新次元 高度化・複雑化するIT環境の課題への解決策 最新鋭データ保護・管理ソフトウェア基盤 エッジ市場の活性化へ 高まるIoTを中心としたエッジ分野への期待 OSS活用が新しい時代のビジネスを拓く 当のデータ活用できていますか? データドリブンがあたりまえと言われる今あらためて考えたいデータ活用のありかた 現場主導のデジタル変革 ビジネス変革のための“ITの民主化” そして 変わるIT部門の役割 AWSとAzureを更に使いこなそう イマドキのマルチクラウドセキュリティを MS担当者が徹底解説 新OSのWin11はどう進化したか ビジネス上の役割、開発の要

    Windows 7で利用するCUIコマンドを“単品”で追加するなら「GnuWin32」(1) - builder by ZDNet Japan
  • ~jk php shell

    The more I work with other languages like python and ruby I like their way how they work on problems. While PHP is very forgiving on errors, it is weak on the debugging side. It was missing a simple to use interactive shell for years. Python and Ruby have their ipython and iruby shell which give you a direct way to interact with the objects. No need to write a script and execute it afterwards. Fea

  • コマンドでググれ! 非公式なGoogle専用シェル「goosh」が登場 | ネット | マイコミジャーナル

    CUIでググれる「goosh」が公開 UNIXシェル風なコマンドラインベースのインターフェイスを持つWebアプリ「goosh」が公開された。6月3日時点の最新バージョンは0.4.3 β1、JavaScriptをサポートしたWebブラウザで「goosh.org」にアクセスすると利用できる。 Stefan Grothkopp氏が開発したgooshは、Ajaxで実装されたGoogle専用検索ツール。コマンドラインベースのユーザインターフェイスを持ち、UNIXシェルに近い外観と操作性を提供する。現行バージョンにおけるビルトインコマンドは20種、キーワード検索の「web」、イメージ検索の「images」など、google.comが提供する検索機能の多くをカバーしている。「translate en ja map」と実行すれば「"地図"」と表示されるように、翻訳機能にも対応している。 現行バージョンのg

  •   Bourne Shell自習テキスト

    木村 孝道    平林 浩一 監修 1993年6月21日 もくじ シェルとは シェルの機能 プログラムの実行 ファイル名の置換(展開) 入出力の切り換え(I/O redirection) ヒアドキュメント(here document) エラー出力を標準出力にマージする パイプ機能 コマンドの区切り文字 コマンドのグルーピング バックグランド処理 ユーザの環境設定 HOME Prompt String( PS1, PS2) PATH TERM .profileによるログイン環境の設定 インタプリタ型のプログラミング言語 シェルプログラミングの基礎 シェルスクリプトと実行方法 シェル変数 シェル変数の初期化と参照 エクスポート変数 readonly変数 引用符 単一引用符  ' 二重引用符  " 逆引用符  ` 特殊なシェル変数 IFS $# 位置パラメータ($1〜$9, $0) と shif

  • リモートホストとdiffる - (ひ)メモ

    bashの「Process Substitution」という機能で、コマンドの実行結果を名前つきパイプから読めます。(thx かつみくん) $ cat -n <(date; echo foo) 1 Wed Jan 18 21:38:30 JST 2006 2 fooこれを使って、リモートホストのファイルとdiffを取るシェル関数を作ってみました。 こんな感じで使えます。 $ rdiff -u ~/s.txt REMOTE_HOST:~/d.txtまた-Rオプションで、rsyncの-R, --relativeオプションの様にローカルホストのパスをリモートホストの相対パスとして指定できます。たとえば、ローカルホストの/very/very/long/path/t.txtとリモートホストの同じパスのファイルをdiffるときには次のようにしてリモートホスト側のパス指定を略記することができます。 $

    リモートホストとdiffる - (ひ)メモ
  • #NetBSD Community Blog Blog Archive Need a Webserver? Fast?

    The #NetBSD channel on IRCnet now has its very own place in cyberspace! NetBSD is a free, secure, and highly portable Unix-like Open Source operating system available for many platforms, from large-scale server systems to powerful desktop systems to handheld and embedded devices. Its clean design and advanced features make it excellent in both production and research environments, and the source c

    honeybe
    honeybe 2005/12/21
    shでhttpサーバらしい。
  • FrontPage - PukiWiki

    2014-10-01 dillo 2014-08-20 インストール RecentDeleted minimal 2014-07-28 pgpdump stone Mew 2014-07-23 FrontPage 2014-06-10 skkfep 2014-03-17 multichar対応MagicPoint 2013-07-09 iiimf 2013-03-07 realplayer 2012-09-24 jvim 2012-07-15 翻訳メモ pyorbit 2012-06-02 gnome-python 2012-03-27 予約または査読状況 2012-03-04 manpages-portage-ja 2011-05-27 emacs-wget 2011-04-06 日本語入力設定事例集/scim 2010-10-28 cmail 2010-10-07 ninix-aya

  • Shell Script Library :: Wicked Cool Shell Scripts: Unix, Linux, Mac OS X, Bash, Bourne Shell, scripting -- by Dave Taylor

    Wicked Cool Shell Scripts: The Library There are 101 scripts discussed in this book, but in fact there are closer to 150 scripts available, in total. Here's how you can get them if you'd like. You are welcome to do this if you don't have the book, but it'll make a lot more sense if you do have "Wicked Cool Shell Scripts", of course. Note that you can also download the entire set of scripts as Al

  • 1