僕がよく使うGitのコマンドの整理をしておこうと思った。 1. git clone リポジトリから取ってくる まずはcloneするよね。手元にあってちょうど良い感じなのがmakingさんのjsug-shopだったので、これで進めてみる。 $ git clone git@github.com:bufferings/jsug-shop.git Cloning into 'jsug-shop'... remote: Counting objects: 299, done. remote: Total 299 (delta 0), reused 0 (delta 0), pack-reused 299 Receiving objects: 100% (299/299), 427.05 KiB | 193.00 KiB/s, done. Resolving deltas: 100% (96/96),

July 3, 2016 I gave a talk this weekend about debugging tools I love (here are the slides, such as they are). I think of these tools like a swiss army knife – if something on your system is wrong or slow, in anyprogramming language, knowing how to use them can really help you out. I’ve written pretty extensively on this, but I didn’t have a central list to refer to. So! Here’s the list of my curr
CPU hardware information Thecpu information includes details about the processor, like the architecture, vendor name, model, number of cores, speed of each coreetc. There are quite a few commands onlinux to get those details about thecpu. In this post we shall take a look at some of the commonly used commands that can be used to get details about thecpu. 1. /proc/cpuinfo The /proc/cpuinfo fil
Perhaps the biggest surprise to come fromMicrosoft’sBuild developer conference last week was theWindows Subsystem forLinux (WSL). The system will ship as part of this summer’s Anniversary Update forWindows 10. WSL has two parts; there’s the core subsystem, which is already included in Insider Previewbuilds of the operating system, and then a package of software that Canonical will provide. T

Rundeck by PagerDuty Trusted by thousands of organizations. Enhance operations with scaled orchestration and self-service. Built on Open Source Rundeck is the orchestration tool for all of your existing automation, reducing operational overhead and improving team efficiency. Organizations can minimize downtime, enhance productivity, and drive business agility. →Job scheduling and infrastructure ma
In this post, we’re looking at one of the most successful source code management tools available today, Git. With every great tool, there is a CLI which compliments all the great features and options, which leads to a vast number of things you need to remember and be expected to recall within a keystrokes notice. Enter: the Git cheat sheet. Looking for a differentJava cheat sheet? Be sure to chec

Table of Contents: Parameters for betterlogging gitlog --oneline --graphLog actual changes in a file gitlog -p filenameOnlyLog changes for some specificlines in file gitlog -L 1,1:some-file.txtLog changes not yet merged to the parent branch gitlog --no-merges master..Extract a file from another branch git show some-branch:some-file.jsSomenotes on rebasing git pull --rebaseRemember the bran
An interactive Git visualization tool to educate and challenge!

なんで相手に繋がらないの!? サーバ管理していてよく起こる問題は、「なんで繋がらないの!?」ですよね。そこで、今回は基本的なネットワークをご紹介したいと思います。OSやツールのバージョンにより動作が異なりますので、それぞれ調べてみて頂ければと思います。今回は、AmazonLinux 2015.03を用いています。 ping 基本はpingですね。ICMPのにあるエコー要求/応答のpingを使って接続確認を行います。 $ pingyahoo.co.jp PINGyahoo.co.jp (182.22.59.229) 56(84) bytes of data. 64 bytes from f1.top.vip.ssk.yahoo.co.jp (182.22.59.229): icmp_seq=1 ttl=54 time=4.84 ms 64 bytes from f1.top.vip.s

こんにちは。今回はLinuxのシステム情報を入手するコマンド特集です。システムの設定やハードの情報を入手する際に役立ちそうなコマンド(というかCUI操作)を独断と偏見でピックアップします。ディストロやバージョンによって設定ファイルやコマンドは変化しますので注意してくださいね。(本記事は2014年10月に加筆修正されました。) CUPの情報を得る まず手っ取り早く情報が欲しい時は以下のコマンドを打ってみてください。 lscpu 出力例 Architecture: x86_64CPU op-mode(s): 32-bit, 64-bit Address sizes: 48 bits physical, 48 bits virtual Byte Order: Little EndianCPU(s): 8 On-lineCPU(s) list: 0-7 Vendor ID: Authenti

デバイス名、マウントポイントはどちらかひとつをパスで指定します。 2. umountする 実際にアンマウントしてみます。 # df Filesystem 1K-ブロック 使用 使用可 使用% マウント位置 /dev/mapper/vg_sandbox1-lv_root 5716804 2668532 2757868 50% / tmpfs 510244 0 510244 0% /dev/shm /dev/sda1 495844 56502 413742 13% /boot /dev/sdb5 988180 17628 920356 2% /mnt/diskA ※ sdb5 がマウントされている # umount /dev/sdb5 ← /dev/sdb5 をアンマウント # df Filesystem 1K-ブロック 使用 使用可 使用% マウント位置 /dev/mapper/vg_san
While dealing with big genetic data sets I oftengot stuck with limitation ofprogramming languages in terms of reading big files. Also sometimesit is not convenient to load the data file inPython or R in order to perform few basic checks and exploratory analysis. Unix commands are pretty handy in these scenarios and often takes significantly less time in execution. Lets consider movie data set
Linuxの標準コマンドは強力なものではあるが、実際に人間が使う際にわかりやすいか、というと十分ではない。 そこで、今回はLinuxの標準コマンドから乗り換える事が可能なコマンドラインユーティリティーを調査、整理してまとめてみることにした。 1.df → dfc まずはこれ。以前にこちらでも記述している。 dfコマンドをより分かりやすくしたコマンドで、バーで利用率を認識することが出来る。 インストールは以下のコマンドで行える。sudo apt-get install dfc (Debian or Ubuntu) 2.vmstat → dstat パフォーマンスのモニタリングでよく用いられるvmstatを、更に拡張したコマンドであるdstatにする。 dstatには、vmstatにはないネットワークに関するパフォーマンスが追加されており、見た目も見やすくなっている。 インストールは以下のコ
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く