/usr/share/doc/HOWTO/ja-html/Path-13.html is in doc-linux-ja-html 2006.05.25-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
<TITLE>PATH HOWTO: ÌäÂê¤Î¥Ç¥Ð¥Ã¥°¤Î»ÅÊý¤Ï¡©</TITLE>
<LINK HREF="Path-14.html" REL=next>
<LINK HREF="Path-12.html" REL=previous>
<LINK HREF="Path.html#toc13" REL=contents>
</HEAD>
<BODY>
<A HREF="Path-14.html">¼¡¤Î¥Ú¡¼¥¸</A>
<A HREF="Path-12.html">Á°¤Î¥Ú¡¼¥¸</A>
<A HREF="Path.html#toc13">Ìܼ¡¤Ø</A>
<HR>
<H2><A NAME="s13">13. ÌäÂê¤Î¥Ç¥Ð¥Ã¥°¤Î»ÅÊý¤Ï¡©</A></H2>
<P>´Ä¶¤òɽ¼¨(read)¤¹¤ë¤¿¤á¤Î´ðËÜŪ¤Ê¥³¥Þ¥ó¥É¤Ï<CODE>/usr/bin/env</CODE>¤Ç¤¹¡£
<P>¤¢¤ë¥×¥í¥°¥é¥à¤Î¥Ñ¥¹¤ò¸«¤Ä¤±¤ë¤Î¤Ë<CODE>/proc</CODE>¥Ç¥£¥ì¥¯¥È¥ê¤ò»È¤¦¤³¤È¤â
²Äǽ¤Ç¤¹¡£¤Ï¤¸¤á¤Ë¥×¥í¥°¥é¥à¤Î¥×¥í¥»¥¹ÈÖ¹æ¤òÄ´¤Ù¤Æ²¼¤µ¤¤ - ps¥³¥Þ¥ó¥É¤ò
»È¤¤¤Þ¤¹¡£Î㤨¤Ðxterm¤Î¥×¥í¥»¥¹Èֹ椬1088¤Ê¤é¡¢
<BLOCKQUOTE><CODE>
<PRE>
# more /proc/1088/environ
</PRE>
</CODE></BLOCKQUOTE>
<P>¤È¤·¤Æxterm¤Î´Ä¶¤òɽ¼¨¤¹¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£
¤³¤ì¤Ïxdm¤È¤¤¤Ã¤¿¥Ç¡¼¥â¥ó¥×¥í¥»¥¹¤Ç¤ÏÆ°ºî¤·¤Þ¤»¤ó¡£¥·¥¹¥Æ¥à¥×¥í¥»¥¹¡¢
¾¤Î¥æ¡¼¥¶¡¼¥×¥í¥»¥¹¤Î´Ä¶¤Ë¥¢¥¯¥»¥¹¤¹¤ë¤Ë¤Ïroot¥¢¥¯¥»¥¹¤¬É¬ÍפǤ¹¡£
<P>Netscape¤ò¥Ç¥Ð¥Ã¥°¤¹¤ë¤¿¤á¤Ë¡¢<CODE>/tmp/test</CODE>¥¹¥¯¥ê¥×¥È¤òºî¤ë¤³¤È¤â
¤Ç¤¤Þ¤¹¡§
<BLOCKQUOTE><CODE>
<PRE>
$ cat > /tmp/test
#!/bin/sh
/usr/bin/env > /tmp/env
^d
$ chmod +x /tmp/test
</PRE>
</CODE></BLOCKQUOTE>
<P>¤½¤·¤ÆŬÅö¤ÊÊä½õ¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤ò¥»¥Ã¥È¤·¤Þ¤¹(Î㤨¤Ðaudio/x-pn-realaudio¤Ë
RealAudio)¡£(<CODE>
<A HREF="http://www.realaudio.com/showcase">http://www.realaudio.com/showcase</A></CODE>¤Î)RealAudio¥ê¥ó¥¯¤ò±ÜÍ÷¤·¤Æ
¤ß¤Æ²¼¤µ¤¤¡£Netscape¤Ï<CODE>/tmp/env</CODE>¤Ë¥¹¥È¥¢¤µ¤ì¤Æ¤¤¤ë´Ä¶¤Î¥À¥ß¡¼
¥×¥í¥°¥é¥à¤ò¸Æ¤Ó½Ð¤·¤Þ¤¹¡£
<P>
<P>
<HR>
<A HREF="Path-14.html">¼¡¤Î¥Ú¡¼¥¸</A>
<A HREF="Path-12.html">Á°¤Î¥Ú¡¼¥¸</A>
<A HREF="Path.html#toc13">Ìܼ¡¤Ø</A>
</BODY>
</HTML>
|