並び順

ブックマーク数

期間指定

  • から
  • まで

161 - 200 件 / 2181件

新着順 人気順

shellの検索結果161 - 200 件 / 2181件

  • Shell: script (Japanese)

    ■ シェルスクリプト ちょっとだけシェルスクリプト。 csh 系ではなく sh 系で bash や zsh や ksh や POSIX shell などの話です。 * 使いましょ ? も便利 for 文 case 文 if 文 引数を扱う $* と $@ 標準入力を一行ずつ find と xargs 標準エラー出力 {} サンプル シンプルバックアップ YYYYMMDD ディレクトリを YYYY/MM/DD へ このページでは、コマンドラインから入力を「強調文字」にしています。 シェルの話題なので、入力がはっきりわかるようにするためです。 プロンプトは sh ということで「$ 」を使用しています。 ■ * 使いましょ シェルを使うときにファイル名の展開として ls コマンドを使うと思いますが、echo * という使い方もしっておいてください。 これはシェルのとっても基本的なことなんですが、

    • a-Shell

      A Terminal in your pocket (or on your desk) The power of command line instructions, on your favorite device. Control your files Create directories, move files, compress them, uncompress them, edit them, run python, lua or Tex on your files, move them to other apps. Edit your files inside the App a-Shell comes with Vim included. You can edit your files and even run syntax checkers using e.g. vim-ls

      • Ansible の shell モジュールでチェックモードも考慮して冪等性を保つ - Qiita

        まずは結論から、例えば以下のようなタスクの場合、 uname -a コマンドの結果を /tmp/hoge に出力する /tmp/hoge が既にあるなら実行しない コメントの通りファイルの存在確認なら stat モジュールで十分なのですが、より多くのケース(なにかしらのコマンドの結果を元に実行の有無を制御)を想定してあえて shell モジュールを使います 次のようにします。 - hosts: localhost tasks: - shell: test -e /tmp/hoge register: res always_run: yes failed_when: no changed_when: res.rc != 0 - shell: uname -a > /tmp/hoge when: res|changed これだけなら shell モジュールの creates を使うだけでいいん

          Ansible の shell モジュールでチェックモードも考慮して冪等性を保つ - Qiita
        • Vagrantfile Explained: Setting Up and Provisioning with Shell — SitePoint

          In the introduction, we showed you how to create a Vagrant base box, installing the latest Ubuntu 14.04 LTS in the virtual machine to use it as the guest operating system. In this part you will learn how to setup a development environment using Vagrant, which you can use and reuse in your development. Note that while you can use the box we created in the previous part for the remainder of this pos

            Vagrantfile Explained: Setting Up and Provisioning with Shell — SitePoint
          • 「エクスプローラー」の左ペインをスッキリさせる「Shell Folder Disabler」/シンプルな使い勝手とわかりやすいビジュアルが魅力【レビュー】

              「エクスプローラー」の左ペインをスッキリさせる「Shell Folder Disabler」/シンプルな使い勝手とわかりやすいビジュアルが魅力【レビュー】
            • Introducing MySQL Shell for VS Code

              • GHOST IN THE SHELL ARISE MUSIC BY CORNELIUS

                GHOST IN THE SHELL ARISE MUSIC BY CORNELIUS

                • Brian Tracy - copy-paste-shell

                  Don't Copy Paste Into A ShellWhen you see a shell command on the Internet, do not copy it into your terminal. Modern JavaScript Clipboard APIs allow a website to trivially overwrite what you put inside your clipboard, without the user's confirmation or permission. Here is an example of how easy it is to perform this attack. Imagine that the red text below is a shell command you want to use. Below

                  • Spring4Shell: Security Analysis of the latest Java RCE '0-day' vulnerabilities in Spring | LunaTrace

                    Getting Spring to load BinderControllerAdvice may require manual steps to have it load. We'll update this guide with more details about how to do that soon. import org.springframework.core.Ordered; import org.springframework.core.annotation.Order; import org.springframework.web.bind.WebDataBinder; import org.springframework.web.bind.annotation.ControllerAdvice; import org.springframework.web.bind.

                      Spring4Shell: Security Analysis of the latest Java RCE '0-day' vulnerabilities in Spring | LunaTrace
                    • Writing Robust Bash Shell Scripts - David Pashley.com

                      Many people hack together shell scripts quickly to do simple tasks, but these soon take on a life of their own. Unfortunately shell scripts are full of subtle effects which result in scripts failing in unusual ways. It’s possible to write scripts which minimise these problems. In this article, I explain several techniques for writing robust bash scripts. How often have you written a script that br

                      • GitHub - atuinsh/atuin: ✨ Magical shell history

                        You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                          GitHub - atuinsh/atuin: ✨ Magical shell history
                        • PHP の exec(), shell_exec(), system() - foldrr's weblog

                          どれを使えばいいのか exec() を使えばいい。 shell_exec() はリターンコードが取得不能なので不便。 system() はリダイレクトしないと勝手に標準出力へ出力するので不便。 まとめ 関数名 第1引数 第2引数 第3引数 戻値 出力 exec コマンド stdout リターンコード stdout なし shell_exec コマンド - - stdout なし system コマンド リターンコード - stdout あり exec() 第2引数 stdout の注意点 exec() の標準出力は第2引数 stdout へ追加されるので注意。 つまり、連続して exec() を呼び出す場合は第2引数に渡す変数を毎回クリアする必要がある。 非同期実行 exec, shell_exec, system どれでも可能。 以下は exec での例。 exec('filename

                            PHP の exec(), shell_exec(), system() - foldrr's weblog
                          • CakePHP1.2のShellとTaskを使ってみる。 - yuhei.kagaya

                            Cakeコマンドを自作できるらしいので、やってみた。 単純にバッチとかもそうだけど、テスト用のデータを作ったり、本番にアップしたり、いろんな用途に使えると思った。 まずはHelloWorld的な。 app/vendors/shells/test.php をつくる。 <?php class TestShell extends Shell { function main() { $this->out( "いらっしゃいませ" ); $this->hr(); $this->out( "ごちゅうもんをどうぞ" ); } } ?> 実行! appのカレントディレクトリにいる場合 $ /home/htdocs/cake_installed/cake/console/cake test Welcome to CakePHP v1.2.0.7296 RC2 Console -----------------

                              CakePHP1.2のShellとTaskを使ってみる。 - yuhei.kagaya
                            • Node.jsでshellコマンドを叩く - PolyPeaceLight

                              先日「dotjs面白いところ - ぽりぴぃすらいと」なんてのを書いてpullしたんですが rubyもWEBrickもOS Xにはデフォなんだからそっちで thx みたいな返事が返ってきて萎えな僕です。 dotjsなんだからserverもinstallerもjsでかけよ!ってのは宗教的な問題でした。 さておき まあ、installerを書いたあたりでshellコマンドを叩いたりしてみたのでちょっとまとめます shellコマンドを叩くには2種類のAPIが用意されています。1つはexec、もう一つがspawnです。 exec 1回こっきりのコマンドを叩く場合はこちらがいいでしょう。コマンドを文字列で渡してcallbackで受け取るだけです。 $ sh -c '文字列'みたいな気分で実行できます。 1. まず、shellコマンドを実行するためにはchild_processモジュールをrequire

                                Node.jsでshellコマンドを叩く - PolyPeaceLight
                              • The Bun Shell | Bun Blog

                                JavaScript is the world's most popular scripting language. So why is it hard to run shell scripts in JavaScript? import { spawnSync } from "child_process"; // this is a lot more work than it could be const { status, stdout, stderr } = spawnSync("ls", ["-l", "*.js"], { encoding: "utf8", });

                                • Selector Shell

                                  Directions Type/paste some handcrafted CSS into the first box. Click the "Test It" button. The second box (and the example divs) show what your browser makes of it. /* Some example CSS */ body .class1 { border-color: black; } /* Gecko hack. */ @-moz-document url-prefix() { body .class1 { border-color: orange; } } /* Pre IE7 hack. */ * html body .class1 { border-color: green; } /* IE7 hack. */ body

                                  • Emacs のシェルモード比較 - shell、ansi-term、multi-term - おいちゃんと呼ばれています

                                    最近ちょこちょこと Carbon Emacs(Emacs 22.3)のシェルモードのいくつかを試してきました。そろそろひと区切りつけたいと思うので、まとめておきます。 試したのは次の 4つのモードです。 -標準シェルモード(shell) -ansi-term(term) -multi-term -eshell *そもそもどういう使い方をしているのか ところでそもそも Emacs のシェルモードを普段どう使っているかというと、主に作業ログをまとめるのに使っています。 Python や Ruby の対話モードであれやった、これやったとか、MacPorts からこれをインストールしようとしてうまくいった、いかなかったとかいう記録をあとで見やすいように適当に整形して Evernote へ放り込む。Evernote へ放り込む前の「整形」時には、ターミナルからコピペするよりも Emacs のシェルモ

                                      Emacs のシェルモード比較 - shell、ansi-term、multi-term - おいちゃんと呼ばれています
                                    • 10 Tools To Add Some Spice To Your UNIX/Linux Shell Scripts - nixCraft

                                      🐧 nixCraft → Linux → 10 Tools To Add Some Spice To Your UNIX/Linux Shell Scripts There are some misconceptions that shell scripts are only for a CLI environment. You can efficiently use various tools to write GUI and network (socket) scripts under KDE or Gnome desktops. Shell scripts can make use of some of the GUI widget (menus, warning boxes, progress bars, etc.). You can always control the fin

                                        10 Tools To Add Some Spice To Your UNIX/Linux Shell Scripts - nixCraft
                                      • 位置パラメーターの一括展開 $* $@ "$*" "$@" の違いを知れ!! - Shell Script Advent Calendar 2016 - ダメ出し Blog

                                        位置パラメーターの一括展開 $* $@ "$*" "$@" の違いを知れ!! - Shell Script Advent Calendar 2016 - ダメ出し Blog Shell Script Advent Calendar 2016 の 15日目の記事です。 位置パラメーター (Positional Parameters) の紹介と、 その値をすべて展開する $*, $@, "$*", "$@" の違いについて解説します。 $*, $@, "$*", "$@" の違いを認識し使い分けできるかどうかは、 シェルをちゃんと理解しているかどうかの指標の一つと言えるのではないかと思います。 残念ながら、適切な位置パラメーター展開を用いていないシェルスクリプトが珍しくありません。 あなたのシェルスクリプトは大丈夫ですか? あなたの好きな◯◯のソースコードや配布物に付属のシェルスクリプトも要チ

                                        • Windows 8に[スタート]ボタン/[スタート]メニューを追加する(Classic Shell編)

                                          解説 ご存じのとおりWindows 8では、Windows 95から慣れ親しんできた[スタート]メニューから[スタート]画面へと変わり、操作方法も大きく変更になった。この変更により、Windows 8にログオンすると、スタート画面が表示されるようになった(Windows 8のスタート画面については、「Windows 8レボリューション 第1回 Windows 8製品版の概要 2.Windows 8 RTM版の実行画面」「Windows 8レボリューション 第2回 Windows 8の新しいスタート画面」を参照のこと)。 Windows 8のデスクトップ画面 Windows 8の[スタート]画面で「デスクトップ」のボタンを押すと、従来のWindows OSのデスクトップに相当する画面に切り替わる。左下に[スタート]ボタンがなく、[スタート]メニューも表示できない。そのため、登録済みのアプリケ

                                            Windows 8に[スタート]ボタン/[スタート]メニューを追加する(Classic Shell編)
                                          • Jash: JavaScript Shell

                                            Home Features Documentation Download Screenshots A Cross-Browser Javascript Command-Line Debugging Tool What is it? Jash is a DHTML-based window that gives you command-line JavaScript access to the current browser window. With this console you can quickly debug scripts, manipulate the DOM, view the current page's objects, functions, and variables, trace the execution stack, execute arbitrary J

                                            • “Flickr”をエクスプローラへ統合できる「Flickr Drive shell extension」NOT SUPPORTED

                                              • GitHub - alebcay/awesome-shell: A curated list of awesome command-line frameworks, toolkits, guides and gizmos. Inspired by awesome-php.

                                                You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                                  GitHub - alebcay/awesome-shell: A curated list of awesome command-line frameworks, toolkits, guides and gizmos. Inspired by awesome-php.
                                                • Emacs の shell-mode を綺麗にする : Hasta Pronto.org

                                                  Emacs の中で Shell が使えるようになる shell-mode ってのがあるのですが、僕の zsh はカスタムしすぎてプロンプトが正しく表示されなかったんです。Shell の設定がデフォルトだとちゃんと綺麗に表示出来るっぽいんですけど環境変数 LS_COLOR とかあると表示がグチャグチャになるんですよね。それで色々みてるウチに id:hiboma さんが解決策を見つけてくれたので試してみました。そうしたらid:hibomaさんとちょっと違う結果になったので書いておきます。 以下は解決策を試す前 っで id:hiboma さんに教えてもらったのが以下のコードで、これを .emacs に書き足す。elisp みた限りだとエスケープの処理と ansi-color の処理をしてるっぽい。っで Emacs を起動して M-shell ってすると以下の写真みたいに綺麗に表示してくれる。 ;

                                                  • SSF - Secure Socket Funneling - Network tool - TCP and UDP port forwarding, SOCKS proxy, Remote shell, Native Relay protocol, Standalone

                                                    Secure Socket Funneling (SSF) is a network tool and toolkit. It provides simple and efficient ways to forward data from multiple sockets (TCP or UDP) through a single secure TLS link to a remote computer. The initial aim of SSF was to provide an easy way for users and developers to multiplex and demultiplex various network data flows. It was designed to: be cross platform (Windows XP-10, Linux, OS

                                                      SSF - Secure Socket Funneling - Network tool - TCP and UDP port forwarding, SOCKS proxy, Remote shell, Native Relay protocol, Standalone
                                                    • 第197回 Ubuntu 11.10でGNOME Shellを使用する | gihyo.jp

                                                      今回はUbuntu11.10で、Unityの替わりにGNOME Shellを使う方法を説明します。 GNOME Shellとは? 本連載をご覧の皆さんは、おそらくすでにGNOME Shellのことをご存知かと思いますが、念のため紹介しておきます。GNOME ShellはGNOME 3.0からデフォルトとなったユーザーインターフェースです。ただしUbuntuではGNOME ShellではなくUnityをデフォルトのユーザーインターフェイスとしており、GNOME Shellは別途インストールする必要があります。 UnityもGNOME Shellも旧来のユーザーインターフェースとは全く違う考え方を取り入れており、拒否反応も多々見られます。しかしながら、個人的にはどちらも進化する方向として正しいと思っていますし、便利に利用しています。旧来のユーザーインターフェースは確かに慣れているので直感的に使

                                                        第197回 Ubuntu 11.10でGNOME Shellを使用する | gihyo.jp
                                                      • OSSのセキュリティリスクにはどう向き合う? 「Log4Shell」脆弱性から学ぶ取り組み【海外セキュリティ】

                                                          OSSのセキュリティリスクにはどう向き合う? 「Log4Shell」脆弱性から学ぶ取り組み【海外セキュリティ】
                                                        • Ghost in the Shell - Lego Tachikoma

                                                          Want to build? Find instructions at http://build.mahjqa.com More pictures: http://www.flickr.com/photos/28134808@N02/

                                                            Ghost in the Shell - Lego Tachikoma
                                                          • 押井守が実写映画版「Ghost in The Shell(攻殻機動隊)」撮影現場を訪問、最新映像とともに感想を公開

                                                            スカーレット・ヨハンソンが「少佐(草薙素子)」を演じる映画「Ghost in The Shell(攻殻機動隊)」の最新映像が公開されました。公開された映像では、スカーレット・ヨハンソンの演じる「少佐」を確かめるべく実際にスタジオを訪れた押井守が、撮影現場を目の当たりにした感想をコメントしています。 Ghost in the Shell | Featurette: "Mamoru Oshii" | UK ParamountPictures - YouTube Ghost in The Shellの撮影現場を映したシーンには、スカーレット・ヨハンソンと押井守監督の姿があります。 「私は攻殻機動隊(劇場版)の1本目と2本目の監督をした押井守といいます」 最新映像はメイキングシーンも収録。 「アニメの監督だった押井さんが製作現場に来てくれたんです」と話すのは実写版の監督のルパート・サンダース。 「

                                                              押井守が実写映画版「Ghost in The Shell(攻殻機動隊)」撮影現場を訪問、最新映像とともに感想を公開
                                                            • slackのshellチャンネルの話し - KMC活動ブログ

                                                              この記事は KMC Advent Calendar 2015 - Adventar19日目の記事です。18日目は、murataさんのKMCとPiet,そして最強のPietの為にdllを動的にC#で読みこむ話 - <(/^^)/⌒●~* $> :(){ :|:& };:でした。 はじめに KMC 4回生kazakami https://twitter.com/Kazakami_9です。 * 今日はshellチャンネルの話しです。 shellチャンネル自体は10日目のアドベンドカレンダーであるmesos+marathon+docker と slack の shell チャンネルの話 - KMC活動ブログでもでてきています。 shellさんについて $から始まる文字列がslackで発言されるとそれをコマンドとして解釈して実行し、標準出力をslackで発言するという脆弱性の塊のようなbotです。(

                                                                slackのshellチャンネルの話し - KMC活動ブログ
                                                              • GitHub - xxh/xxh: 🚀 Bring your favorite shell wherever you go through the ssh. Xonsh shell, fish, zsh, osquery and so on.

                                                                You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                                                  GitHub - xxh/xxh: 🚀 Bring your favorite shell wherever you go through the ssh. Xonsh shell, fish, zsh, osquery and so on.
                                                                • GNOME Shell Extensions

                                                                  Copyright © 2005‒2024 The GNOME Project Free to share and remix: Creative Commons CC-BY. Optimised for standards. Hosted by Red Hat. Powered by Django and SweetTooth

                                                                  • Classic Shell / Open-Shell - k本的に無料ソフト・フリーソフト

                                                                    Windows Vista 以降のスタートメニューやエクスプローラを、クラシックスタイルにしてくれるソフト。 スタートメニュー / フォルダツリー / ファイル上書き時のダイアログ をクラシックスタイルにする機能や、スタートボタンの画像を変更する機能、エクスプローラのタイトルバー上にフォルダ名 / アイコン を表示させる機能、ステータスバー上にドライブの空き容量を表示する機能、ツールバー上に “ 切り取り / コピー / 貼り付け / 削除 / メール送信 / プロパティ表示 ” ボタンを追加する機能... 等が付いています。 Classic Shellは、Vista 以降のエクスプローラをクラシックスタイル風にしてくれるソフトです。 (「Open-Shell」は、「Classic Shell」の派生ツール) Windows Vista / 7 / 8 / 10 になって失われてしまった各

                                                                      Classic Shell / Open-Shell - k本的に無料ソフト・フリーソフト
                                                                    • mysqlsh (MySQL Shell): Dump and Restore in AWS Aurora - LayerX エンジニアブログ

                                                                      LayerX インボイス を開発しているDX事業部の @yyoshiki41(中川佳希)です。 DX事業部ではデータベースとして MySQL(Amazon Aurora)を利用しています。 今回のブログは、mysqlsh (MySQL Shell) を用いて、Dumpデータ取得とリストアを行う際に気をつける点です。 mysqldump, mysqlpump Dumpデータ取得を行う際に、広く知られているのが mysqldump かと思います。 MySQL 5.7.8 からは、 mysqlpump という別のクライアントツールも提供されるようになりました。 主に下記のような特徴があります。 並列での処理が行われる(Parallel) Dump Progress がみれる 圧縮方式は、LZ4 と ZLIB が使用可能(mysqlpump Ver 1.0.0 Distrib 5.7.35) TA

                                                                        mysqlsh (MySQL Shell): Dump and Restore in AWS Aurora - LayerX エンジニアブログ
                                                                      • エクスプローラがレジストリエディタに「Windows Registry shell extension」NOT SUPPORTED

                                                                        • MySQL Shell / X DevAPI / X Protocol - @tmtms のメモ

                                                                          MySQL 5.7.12 で突如登場した MySQL Shell とか X DevAPI とか X Protocol とかが面白そうだったので調べてみました。 Document Store とかも同じ文脈で語られてて、それぞれの用語が何を表してるのかややこしかったので、まずその辺から。 X Protocol mysqlx プラグインを使用することで追加されるサーバー/クライアントプロトコル。ポート番号は 33060。 詳細→ https://dev.mysql.com/doc/internals/en/x-protocol.html X DevAPI 各プログラミング言語用の新しいAPI。Document Store用のAPIも含む。今のところ、MySQL Shell JavaScript, MySQL Shell Python, Java, .Net, Node.js 用の API があ

                                                                            MySQL Shell / X DevAPI / X Protocol - @tmtms のメモ
                                                                          • atom-shellを雑に使って任意のnodeスクリプトが実行可能なアプリケーションとして配布する - Qiita

                                                                            この記事は Node.js Advent Calendar 2014 - Qiita の5日目です。 atom-shellを使って、nodeつかった「アプリケーション」 -- そう、そのブラウザとかと同じような実行環境ですよ -- で配布する方法を紹介します。 今日紹介する方法は、チーム内でエンジニアじゃない人に渡してボタン押して実行してもらう、みたいなのを意図してます。 使えればいいという記事であって、この手続きで作ったものをプロダクションで配布したりとかはしないでください。 1. AtomShellをダウンロードして作業ディレクトリを作る Resources/app以下にディレクトリを作ってそこで作業します。 ダウンロードはここから最新のやつを https://github.com/atom/atom-shell/releases $ mkdir -p ~/Downloads/Atom

                                                                              atom-shellを雑に使って任意のnodeスクリプトが実行可能なアプリケーションとして配布する - Qiita
                                                                            • 押井守が「未来」を語る──『ゴースト・イン・ザ・シェル』『GHOST IN THE SHELL / 攻殻機動隊』のクリエイターがたどり着いた、未来論=幸福論という結論 | ライフハッカー・ジャパン

                                                                              サンディスクのmicroSDカード 512GBが40%OFF。写真や動画のデータ置き場はこれで良くない?【Amazonセール】

                                                                                押井守が「未来」を語る──『ゴースト・イン・ザ・シェル』『GHOST IN THE SHELL / 攻殻機動隊』のクリエイターがたどり着いた、未来論=幸福論という結論 | ライフハッカー・ジャパン
                                                                              • Webデザイナーって、なんて狭い世界の中でデザインしてるんだろう - Tortoise Shell

                                                                                photo by merwing✿little dear 進化するインターネットを取り巻く環境 ウェアラブルやIoTなど、昨今の流れを見ていると、本当にすごい時代になっていってるなと感じます。 あらゆるものがネットに接続され、人間すら(まずはウェアラブルという形式をとって)ネットに接続されようとしています。 まさしく、リアル攻殻機動隊の世界が近づいてきていますね。 また、オキュラスリフトなどのVRヘッドセットも熱くなってきています。 あれを操作している様子を初めてTVで見た時は、「マイノリティー・リポートの操作パネルみたいだな…」と思ったものです。 まさしく、SFで描かれた世界観に現実が近づこうとしているのです。 Webサイトのデザインは最先端ではなくなった こうした時代の流れを見ていると、わたしはWebデザイナーなんてのは何て狭い世界の中でデザインしているんだろうと思います。 今までは、

                                                                                  Webデザイナーって、なんて狭い世界の中でデザインしてるんだろう - Tortoise Shell
                                                                                • Browser-based Shell - AWS CloudShell - AWS

                                                                                  AWS CloudShell Explore and manage AWS resources from a terminal in your browser

                                                                                    Browser-based Shell - AWS CloudShell - AWS