grep ã³ãã³ãã¯ãã¡ã¤ã«ããæå®ããããã¹ããæ¤ç´¢ããããã«ä½¿ç¨ããã¾ãã ããã¯ä¿¡ããããªãã»ã©å¼·åãªã³ãã³ãã§ããããã®ãªãã·ã§ã³ãããã¾ãã Syntax: grep [options] pattern [files] ãã¡ã¤ã«ä¸ã®æå®ãããã¼ã¯ã¼ãã«ããããããã¹ã¦è¡ãã¿ã¤ããã«ã¯ã©ã®ããã«ã§ããã§ããããï¼ ãã®ä¾ã§ã¯ãgrep 㯠/etc/passwd ãã¡ã¤ã«ã®ä¸ã®ããã¹ã John ãæ¤ç´¢ãã¾ãã ãããããè¡ããã¹ã¦è¡¨ç¤ºãã¾ãã # grep John /etc/passwd jsmith:x:1082:1082:John Smith:/home/jsmith:/bin/bash jdoe:x:1083:1083:John Doe:/home/jdoe:/bin/bashãªãã·ã§ã³ -v ã¯ããããããã®ä»¥å¤ã®è¡ããã¹ã¦è¡¨ç¤ºãã¾ãã 以ä¸ã®ä¾ã§ã¯ã/etc/pass
{{#tags}}- {{label}}
{{/tags}}