<!drk7jp_parse_scope>
<!/drk7jp_parse_scope>
* �ǥ��쥯�ȥ���Υե����륵��������ͤ� �Х���ɽ��
���ε�����ľ���URL: Permlink | ���ε�����°���륫�ƥ���: [�����륹����ץ�] [unix]
Windows �Ǥϡ��ǥ��쥯�ȥ�Υ�������򱦥���å����ƥץ��ѥƥ���ɽ��������ȡ����Υǥ��쥯�ȥ�ʲ��Υե�����Υ������ι���ͤ��Х���ñ�̤�ɽ������롣ʻ���ơ��ե�������䥯�饹������åפ�ޤ᤿�ǥ�������Υ�������ɽ������롣���ʤߤˡ��ץ��ѥƥ��� ALT + �ǥ��쥯�ȥꥢ������Υ��֥륯��å��Ǥ�ɽ������롣
Linux �� Unix �Υ��ޥ�ɥ饤������Ƥ���Ȥ��⡢Ʊ�������ɽ������������
ls �� du �� man ���ɤ�Ǥߤ�������ȯ�Dz�褷�Ƥ����褦�ʥ��ץ�����̵���ä���
Manpage of LS
http://www.linux.or.jp/JM/html/GNU_fileutils/man1/ls.1.html
Manpage of DU
http://www.linux.or.jp/JM/html/GNU_fileutils/man1/du.1.html
����ǥ��쥯�ȥ겼��Ƶ�Ū�˸�������ʤ� find �ν��֤���man �򸫤�Ƚ��Ͻ񼰤⤫�ʤ꼫ͳ���������������Ǥ�������find �˥ե����륵��������Ϥ򤵤��ơ�������פ��Ƥ��Ф����櫓������פ��餤�ʤ� sh �� bash �ʤɤΥ�����Ǥ�Ǥ����������ɡ��ѥե����ޥ󥹵��ˤ���櫓�Ǥ�ʤ�����perl �Ǥ�������ʸˡĴ�٤�����Ѥ�����
Manpage of FIND
http://www.linux.or.jp/JM/html/GNU_findutils/man1/find.1.htm ...
Linux �� Unix �Υ��ޥ�ɥ饤������Ƥ���Ȥ��⡢Ʊ�������ɽ������������
- du ����֥��å���������ɽ���ʤΤǥ���
�����˻פ��Ĥ����Τ� du ���ޥ�ɤ�����du �ϥե����륵�����ǤϤʤ��ե����뤬�ȤäƤ���֥��å���������ɽ������Τǥ������-b ���ץ�����Ĥ��ƥХ���ñ�̤�ɽ�������Ƥ⡢�֥��å���������Х���ñ�̤�ɽ����������ʤΤǺ������Ū�ˤϻȤ��ʤ����ʲ����¹Է�̡�ls �Ǥ� 29�Х��ȤʤΤ� du �Ǥϥ֥��å�1��ʬ�� 4096�Х��ȤˤʤäƤ���Τ��狼�롣$ date >date.txt
$ ls -l date.txt
-rw-r--r-- 1 hiroaki hiroaki 29 May 25 12:50 date.txt
$ du -b date.txt
4096 date.txt
ls �� du �� man ���ɤ�Ǥߤ�������ȯ�Dz�褷�Ƥ����褦�ʥ��ץ�����̵���ä���
Manpage of LS
http://www.linux.or.jp/JM/html/GNU_fileutils/man1/ls.1.html
Manpage of DU
http://www.linux.or.jp/JM/html/GNU_fileutils/man1/du.1.html
- ���ޥ�ɤ��Ȥ߹�碌�ƹ���ͤ�ɽ��������
�����ʤä��饳�ޥ�ɤ��Ȥ߹�碌��˾�ߤ��ͤ����륹����ץȤ�񤯤����ʤ��Ǥ��礦��One Liner �Ǥ�񤱤뤫�ʡ�����ǥ��쥯�ȥ겼��Ƶ�Ū�˸�������ʤ� find �ν��֤���man �򸫤�Ƚ��Ͻ񼰤⤫�ʤ꼫ͳ���������������Ǥ�������find �˥ե����륵��������Ϥ򤵤��ơ�������פ��Ƥ��Ф����櫓������פ��餤�ʤ� sh �� bash �ʤɤΥ�����Ǥ�Ǥ����������ɡ��ѥե����ޥ󥹵��ˤ���櫓�Ǥ�ʤ�����perl �Ǥ�������ʸˡĴ�٤�����Ѥ�����
Manpage of FIND
http://www.linux.or.jp/JM/html/GNU_findutils/man1/find.1.htm ...
- �ǥ��쥯�ȥ��Ƶ�Ū�ˤ��ɤäơ��ե�����ι�ץ���������Ϥ��롣
$ find -type f -printf "%s\n" |perl -ne '$sum += $_; print "\r$sum"'�쵤�˥�����Ȥ������Ƥ����Ȥ������ä�������������󥹥���ɤǵ����̤Υ����󥿤ˤĤ������äƤ��ޤ��ߤ����ʴ��С�
- �ǥ��쥯�ȥ��Ƶ�Ū�ˤ��ɤäơ��ե�����ι�ץ���������Ϥ��� awk �ǡ�
�Ǥ� ɬ�פʤ��Τ˽Ť� perl �Ȥ���ͳ��̵����͡�awk �Ǥ�������--help �����饵��ץ�ܤäƤ�����awk ���� END �äƤ����Τ�����Τǡ�\r ��Ȥ鷺�˽񤱤����͡�$ find -type f -printf "%s\n" |awk '{sum += $1; printf "\r" sum };'
$ find -type f -printf "%s\n" |awk '{ sum += $1; }; END { print sum }'
- �ե�����θĿ��ȥե����륵������ɽ�����ե����륵������3�头�Ȥ˥���ޤǶ��ڤ롣
$ find -type f -printf "%s\n" |perl -ne '$i++; $byte += $_; $str = "\r$i files, $byte byte"; $str =~ s/(\d{1,3})(?=(?:\d\d\d)+(?!\d))/$1,/g; print $str'����ޤ����ä������Ǥ⤫�ʤ�ʷ�ϵ����Ѥ�롣�ʤ���������ܤμڶ⥫���󥿡פߤ����ʴ��������롣
- ¾���ߤ�����ǽ�ϡ�����
���ȤϺƵ�Ū�˥ǥ��쥯�ȥ�ò¤¿¤É¤Ã¤Æ¡ï¿½ï¿½Ç¥ï¿½ï¿½ì¥¯ï¿½È¥ï¿½ï¿½ï¿½Ë¤ï¿½ï¿½Î¥Ç¥ï¿½ï¿½ì¥¯ï¿½È¥ê¤¬ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½Ì¤ï¿½É½ï¿½ï¿½ï¿½ï¿½ï¿½ëµ¡Ç½ï¿½ï¿½ï¿½ß¤ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½Ê¤ï¿½ï¿½ï¿½ï¿½×¤ï¿½ï¿½ï¿½Ë¡ï¿½du �ߤ�����ɽ�����Ƥۤ����äƤ��ȡ��åµï¿½ï¿½ï¿½ï¿½ï¿½ï¿½×¥È¤Ï¥ï¿½ï¿½ï¿½ï¿½È¥Ç¥ï¿½ï¿½ì¥¯ï¿½È¥ï¿½ï¿½ï¿½ï¿½ï¿½Ì¤ï¿½ï¿½ï¿½É½ï¿½ï¿½ï¿½ï¿½ï¿½Ê¤ï¿½ï¿½ï¿½ï¿½É¡ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ìµ¤ï¿½Ë¤ï¿½ëµ¡Ç½ï¿½ï¿½É¬ï¿½×¤Ë¤Ê¤Ã¤ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½- ���Υ��ޥ�ɤ�̾����ɤ����褦?
du - disk usage ���й����� bu - byte usage �äƤΤϤɤ�������? �����󡢻�äƥ���̵����- ���٤Ƥε����θ��Ф� (��1029��)
- �����ƥ���ΰ����ȵ����ο�
- ���ƥ��ꤴ�Ȥ˵�����ޤȤ��ɤߤǤ��ޤ���������ɽ������򸫤������ϡ����٤Ƥε����θ��Ф� (���ƥ�����ɽ��) �ء�
- .net (57��)
- 2ch (19��)
- amazon (5��)
- Apache (22��)
- bash (13��)
- Bookmarklet (9��)
- C# (45��)
- chalow (18��)
- ChangeLog ��� (20��)
- coLinux (2��)
- CSS (5��)
- Delphi (5��)
- DVD (6��)
- Excel (1��)
- F-ZERO (4��)
- FF12 (31��)
- ftp (8��)
- Google (21��)
- gpg (7��)
- HTML (19��)
- http (19��)
- IE (10��)
- IIS (4��)
- iPod (2��)
- JavaScript (14��)
- Linux (63��)
- MCP (6��)
- Mozilla (14��)
- MS SQL Server (30��)
- MySQL (4��)
- Namazu (3��)
- PC (48��)
- Perl (58��)
- PHP (2��)
- Postgres (36��)
- proftpd (2��)
- qmail (1��)
- RFC (4��)
- RSS (33��)
- Ruby (15��)
- samba (3��)
- sonic64.com (6��)
- SQL (15��)
- Squid (3��)
- ssh (7��)
- Subversion (3��)
- unix (31��)
- VSS (2��)
- Windows (34��)
- winny (9��)
- XML (9��)
- xyzzy (17��)
- �����Ǥ� �ɤ��֤Ĥο� (19��)
- ���ۻ� (5��)
- �������������� (13��)
- ���˥� (9��)
- ���쥸�åȥ����� (2��)
- ������ (120��)
- �����륹����ץ� (18��)
- �����2 (8��)
- �������ƥ� (9��)
- ���եȥ����� (21��)
- �ǥ�����ѥ����� (2��)
- �ͥåȥ�� (30��)
- �Хå����å� (17��)
- �ץ�����ߥ� (14��)
- �ޥꥪ������DS (3��)
- �᡼�� (26��)
- ��� (116��)
- �顼��� (11��)
- ���� (59��)
- ���� (3��)
- ��������� (13��)
- �� (7��)
- ��� (4��)
- �� (30��)
- �㤤ʪ (17��)
- ���� (8��)
- �� (32��)
- ̡�� (9��)
- 2007-04-23 (Mon)
- 2007-03-07 (Wed)
- 2007-02-27 (Tue)
- 2007-01-17 (Wed)
- 2007-01-15 (Mon)
- 2007-01-14 (Sun)
- 2007-01-08 (Mon)
- 2006-12-01 (Fri)
- 2006-11-22 (Wed)
- 2006-11-20 (Mon)
- 2006-11-19 (Sun)
- 2006-09-30 (Sat)
- 2006-08-29 (Tue)
- 2006-08-04 (Fri)
- 2006-07-27 (Thu)
- 2006-07-23 (Sun)
- 2006-07-17 (Mon)
- 2006-07-10 (Mon)
- 2006-07-06 (Thu)
- 2006-07-03 (Mon)
- 2006-06-29 (Thu)
- 2006-06-28 (Wed)
- 2006-06-27 (Tue)
- 2006-06-25 (Sun)
- 2006-06-19 (Mon)
- 2006-06-18 (Sun)
- 2006-06-15 (Thu)
- 2006-06-11 (Sun)
- 2006-06-01 (Thu)
- 2006-05-30 (Tue)
- �ץ��ե�����
- ��ƣ ���������󥸥˥��Ǥ������ԵܻԤ˽���Ǥ��ޤ���
- ���
- RSS
- ���ݥ󥵡��ɥ��
- Powered by
- �������饤�󥿡��ͥå���