以下の内容はhttps://yohei-a.hatenablog.jp/entry/20101014/1287060511より取得しました。


/proc//cmdline のデリミタは "\0" だったのか

Linuxだったら cat /proc//cmdline | tr '\0' '\n'とかすればわかるのに。。。

Twitter. It's what's happening.

なるほど、そういうことだったのか。

一応、自分でも確認してみる。

[root@centos54 ~]# tail -f /var/log/messages > /dev/null 2>&1 &
[1] 3348
[root@centos54 ~]# cat /proc/3348/cmdline 
tail-f/var/log/messages
 [root@centos54 ~]# perl -ple 's/\0/ /g' /proc/3348/cmdline 
tail -f /var/log/messages 



以上の内容はhttps://yohei-a.hatenablog.jp/entry/20101014/1287060511より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14