アーカイブ

2008年03月

レーズンバター

カテゴリ:

Koiwaiある時サラミの話になって、サラミに似た感じで薄く切って食べるものが子供の頃大好きだったなぁと頭の中に出てきたのですが、それが何か思い出せません…。しばらくして家族でその話をしていたら、思い出しましたよ。そう

小岩井レーズン アンド バター

子供の頃好きで、自分で冷蔵庫から出して切って食べてたような…。ただいつもあったわけではなく、たぶんお中元かお歳暮でのもらい物だったのでしょう。いつの頃からか(届かなくなったから?)食べる機会がなくなって、すっかり忘れてました。

そして久しぶりに食べてみたら、おぉ懐かしい〜。味変わってない。

でもこれ、超危険。切ったら、ある分全部食べちゃうね。

カテゴリ:

If you just make a file /etc/nologin, user would not log in to the Linux.

# cat /etc/nologin
--- backup in progress ---

When you delete the file, user could log in to the Linux again.

カテゴリ:

All users are listed in a file /etc/passwd.

$ cat /etc/passwd
root:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/bin:/sbin/nologin
daemon:x:2:2:daemon:/sbin:/sbin/nologin

With a command awk, you could get the first field easily.

$ awk -F':' '{ print $1 }' /etc/passwd | sort
adm
apache
bin

カテゴリ:

It is not recommended that you lease from your PC without logout If you would like to logout automatically, use TMOUT.

This is an example of it. After 300 secondes, bash finish automatically.

$ cat ~/.bashrc
export TMOUT=300

If you write it in a file /etc/profile, all users will be affected.

MPD にも Apple Store

カテゴリ:

180208_1554いつの間にやら、というか昨年暮れらしいんですがニューヨークにあるお洒落エリア MPD (Meatpacking District) に Apple Store が出来てました。

Apple Store - West 14th Street

ここは地下鉄で行くには駅からちょっと離れていて不便。だからというか、SOHO あたりに比べて空いてます。そして、広い。

近くにあるスターバックスでコーヒーを飲んでから行ったんだけど、学生らしき若者が当然のように MacBook Pro なんかを使ってるんですよ。くぅ〜生意気なと思うけど、学生は安く買えるんだよね…。私もそれで買ったんだっけ。ちなみにこの日の時点では Air は出荷されていないので、自慢げに使っている人は見られませんでした。

もし地下鉄で行くなら、A C E 線の 14 St. で降りましょう。そのまま 14th Street を西に向かって歩けばたどり着きます。

ちなみに前回書いた BODUM はすでに閉まってました。気に入ってたのに、栄枯盛衰が激しいね。

最近驚いたこと BODUM編

カテゴリ:

You could give a message when users login. Make the message in a file /etc/motd (message of the day.)

# cat /etc/motd
This server will reboot within one hour.

User login.

Last login: Sat Mar  8 08:53:21 2008 from windows
This server will reboot within one hour.
$

カテゴリ:

If you mistype a password when you login, use Ctrl-u. It clears all keys those you typed, then type again.

このページのトップヘ

見出し画像
×