Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?
grepã¯ãããã©ã«ãã§ã¯è©²å½ããè¡ã ãã表示ãããããããã該å½ããè¡ã®åå¾ã®è¡ãä¸ç·ã«è¡¨ç¤ºãããã«ã¯ã-ãã®å¾ãã«è¡¨ç¤ºãããè¡æ°ãæå®ãã¦grepãå®è¡ãããä¾ãã°ã該å½è¡ã®åå¾3è¡ãä½µãã¦è¡¨ç¤ºããå ´åã¯ãã-3ãã¨ãããªãã·ã§ã³ãæå®ããã $ grep -n kitaura smb.conf 4:      workgroup = kitauraãâ-nãªãã·ã§ã³ãä»ããã®ã§ã4è¡ç®ã«è©²å½ããæååããããã¨ãåãã $ grep -3 -n kitaura smb.conf 1-[global] 2-      coding system = euc 3-      client code page = 932 4:      workgroup = kitauraãâ-3ãªãã·ã§ã³ã«ãã£ã¦ãåå¾å3è¡ã表示ããã 5-      server string = Samba %v
ä»ãè¡æçãªäºå®ã社å IRC ã«ä½æ°ç¡ãæµãã¦ãã ããããããç¥ããªãã£ãããã§ç¡é§ã«ããæéãæ³åããã ãã§æ³£ãããã«ãªã£ãã id:sett-4 : (less ã§) shift+Fã§tail -fã¢ã¼ãã«ãCtrl+Cã§è±åº ãããæ¬å½ã©ãã ãä»ã¾ã§ããã®äºã¤ãè¡ãæ¥ãã¦ãããâ¦â¦ orz
Linuxä¸ã§ããããã£ã¬ã¯ããªä»¥ä¸ã®ãã¡ã¤ã«ãã æå®ããæ´æ°æ¥ä»ã®ç¯å²å ã§ãããã®ãæ¤ç´¢ããæ¹æ³ãæãã¦ãã ããã ã§ããã°ã¯ã³ã©ã¤ãã ã¨ããããã§ãã ãXXæ¥åãã¨ãã§ã¯ãªãã¦ãã2008/03/01 00:00:00ãã2008/03/10 00:00:00ã¾ã§ã ã®ãããªæå®ããããã¨ããã®ããã¤ã³ãã§ãã findã³ãã³ãã®-newerã³ãã³ãã¨ãtouch -t ã§ãªãã¨ããããã¨è©¦ã¿ãã®ã§ããã æãã¤ããªãã£ãã®ã§ã質åããã¦ããã ãã¾ããã ãããããé¡ããã¾ãã
Linuxã§ããã¹ããã¼ã¿ãæ±ãã¨ãã«ãã³ãã³ãããã¤ãã§ç¹ããã ãã§ãããããªå¦çãã§ãã¦é¢ç½ãã®ã§ããã綺éºã«æ´çããã¦ããªãæ°ãããã®ã§ã¾ã¨ãã¦ã¿ã¾ããããã§ã¯ãcat, paste, join, grep, head, tail, cut, awk, sed, tr, sort, uniq, wc ãåãä¸ãã¾ãã ãã¡ã¤ã«ã縦ã«çµå ãã¡ã¤ã«ã縦ã«çµåãã¾ãã ã³ãã³ã 説æ cat file1 file2 ... file1, file2, ... ã縦ã«çµå cat file | ... ã¨ãã¦ãã¡ã¤ã«ã®ä¸èº«ããã¤ãã«æµãã®ã«ããã使ãã¾ãã ãã¡ã¤ã«ã横ã«çµå ãã¡ã¤ã«ã横ã«çµåãã¾ãããã¾ã使ããªãï¼*1 ã³ãã³ã 説æ paste file1 file2 .. file1, file2, ... ã横ã«çµå join file1 file2 file1 㨠file2
æè¿ç¥ã£ã¦çµæ§ã·ã§ãã¯ãåããã touch hoge.txt ã¨ä¼¼ããããªæ©è½ã*1 $ > hoge.txt $ ls -l hoge.txt -rw-r--r-- 1 root root 0 Jul 10 03:15 hoge.txt lessã§tail -f ãã§ããã $ sudo less +F /var/log/messages SSHã§ãªã¢ã¼ããµã¼ãã«å¯¾ãã¦è²ã ãªã¢ã¼ãå ã®ãã¡ã¤ã«ãsortãã¦æ¯è¼ããã¹ãã¬ã¼ãºãªãã«ããããssh-agentã使ç¨ããããã¦ãã ããã $ diff <(sort /home/user/.bashrc) <(ssh user@hostname "sort /home/user/.bashrc") ãªã¢ã¼ããµã¼ãã®ãã¡ã¤ã«ãç·¨é $ vim scp://user@hostname//home/user/.bashrc sambaã®ã³ãã³ãã§
exprã§ã¯ï¼æ´æ°ã®ååæ¼ç®ãæ°å¤å¤å¥ã¨ãã£ãç°¡åãªå¦çããè¡ããªããå°æ°ç¹ãå©ç¨ãããªã©ããè¤éãªå¦çãè¡ãããå ´åã¯ï¼bcãå©ç¨ãããbcã¯exprã¨ã¯éãï¼ãã¡ã¤ã«ããã¤ããªã©ã§å¼ã渡ãããå¤ãå¦çããã ãã¨ãã°ï¼ã1+1ãã¨ããè¨ç®ãè¡ãå ´åã¯ï¼
ã¯ã¦ãªã°ã«ã¼ãã®çµäºæ¥ã2020å¹´1æ31æ¥(é)ã«æ±ºå®ãã¾ãã 以ä¸ã®ã¨ã³ããªã®éããä»å¹´æ«ãç®å¦ã«ã¯ã¦ãªã°ã«ã¼ããçµäºäºå®ã§ããæ¨ããç¥ãããã¦ããã¾ããã 2019å¹´æ«ãç®å¦ã«ãã¯ã¦ãªã°ã«ã¼ãã®æä¾ãçµäºããäºå®ã§ã - ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ ãã®ãã³ãæ£å¼ã«çµäºæ¥ã決å®ãããã¾ããã®ã§ã以ä¸ã®éãã確èªãã ããã çµäºæ¥: 2020å¹´1æ31æ¥(é) ã¨ã¯ã¹ãã¼ãå¸æç³è«æé:2020å¹´1æ31æ¥(é) çµäºæ¥ä»¥éã¯ãã¯ã¦ãªã°ã«ã¼ãã®é²è¦§ããã³æ稿ã¯è¡ãã¾ãããæ¥è¨ã®ã¨ã¯ã¹ãã¼ããå¿ è¦ãªæ¹ã¯ä»¥ä¸ã®è¨äºã«ãããã£ã¦æç¶ãããã¦ãã ããã ã¯ã¦ãªã°ã«ã¼ãã«æ稿ãããæ¥è¨ãã¼ã¿ã®ã¨ã¯ã¹ãã¼ãã«ã¤ã㦠- ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ ãå©ç¨ã®ã¿ãªãã¾ã«ã¯ãè¿·æãããããããã¾ãããã©ãããããããé¡ããããã¾ãã 2020-06-25 è¿½è¨ ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ã®ã¨ã¯ã¹ãã¼ããã¼ã¿ã¯2020å¹´2æ28
ããã«ã¡ã¯ nakamura ã§ããããããã° 4/1 ãã ç¥å¥å·çå ¬å ±çæ½è¨ã«ãããååå«ç é²æ¢æ¡ä¾ ãæ½è¡ããã¾ããããä»ã®ã¨ããããè¡ããåºã§ãããããå æ¯ã¯è¦æãã¾ããããå æ¥è¡ã£ãå± é å±ã¯ãã®ã®è¦äºã«ç¦ç ã«ãªã£ã¦ãã¦å¿ãªãã客足ãã¾ã°ããªæãã§ãããç¥å¥å·çã®é£²é£ã¯ããããå³ãããã§ããªã ãã¦ãã¦æããé¢è¥¿å¼ã«ãªã£ã¦ãã¾ãã»ã©ä¾¿å©ãª find ã³ãã³ããä»æ¥ã¯ãç´¹ä»ãã¾ããæ¯è¼çæåãªã³ãã³ãã§ããããªãã·ã§ã³ãç¸å½ãªæ°ããæ£ç´å ¨ã¦ãææ¡ããã®ã¯ç¡çããããã¾ããããã ããã使ããã®ã ãã§ãé ã«å ¥ãã¦ããã¨ä½ãã¨ä¾¿å©ãªåªããã®ãªã®ã§ãã åºæ¬çãªãªãã·ã§ã³ ã¾ãã¯åºæ¬çãªä½¿ãæ¹ã -type ãã¡ã¤ã«ã¿ã¤ãã®æå®ã«ä½¿ç¨ãããªãã·ã§ã³ã§ããã¹ãã·ã£ã«ãã¡ã¤ã«ãååä»ããã¤ãçæ§ã ãªå¼æ°ãããã¾ããããã使ãã®ã¯ãã£ã¬ã¯ããªã示ã d ã¨é常ãã¡ã¤ã«ã示ã f ã§ããããã -n
I love working in the shell. Mastery of shell lets you get things done in seconds, rather than minutes or hours, if you chose to write a program instead. In this article I'd like to explain the top one-liners from the commandlinefu.com. It's a user-driven website where people get to choose the best and most useful shell one-liners. But before I do that, I want to take the opportunity and link to a
odz buffer - ããã»ã¹ãéãã¦ãããã¡ã¤ã«ã確èªãã ls -l /proc/`pgrep -n java`/fd lsofã§ã調ã¹ããã¾ãã lsof - list open files lsof ãã«ããã«ãã¨çµæãåºã¦ãã¾ããããå¤ããã¦è¨³ããããã -pãªãã·ã§ã³ã§ããã»ã¹IDæå® ### ããã»ã¹IDæå® lsof -p 12345 ### ããã¯ã¯ã©ã¼ã使ãã¨ãããªæã lsof -p `pgrep -n java` -cãªãã·ã§ã³ã§ããã»ã¹åæå® lsof -c java -uãªãã·ã§ã³ã§ã¦ã¼ã¶æå® lsof -u hoge -iãªãã·ã§ã³ [@IPã¢ãã¬ã¹:ãã¼ãçªå·] listenãã¦ããã¼ããåºåãæå®ãããã¼ãã®ã¿è¡¨ç¤ºãããã¨ãã§ããã lsof -i # Listenãã¦ãã®ãããã表示 lsof -i :22 # ssh lsof -i :22,80
bashcurescancer.com is coming soon This domain is managed at
Captcha security check digape.com is for sale Please prove you're not a robot View Price Processing
Linuxã§DVD+RWãã©ã¤ãã使ãã«ã¯ãå°ç¨ã®æ¸ãè¾¼ã¿ã½ãããå¿ è¦ã¨ãªããããã§ã¯ãå èµå¼ã®IDE DVD+RWãã©ã¤ãã§ãããªã³ã¼ã®MP5125Aã§ãdvd+rw-toolsã使ã£ã¦DVD+RWã«ãã¼ã¿ãä¿åããæ¹æ³ãç´¹ä»ããï¼æ³¨ï¼ã IDEæ¥ç¶ã®DVD+RWãã©ã¤ãã使ãã«ã¯ãSCSIã¨ãã¥ã¬ã¼ã·ã§ã³ãå©ç¨ããå¿ è¦ããããRed Hat LinuxãFedora Core 1ã¯ãèªåçã«ide-scsiã¢ã¸ã¥ã¼ã«ãèªã¿è¾¼ã¾ããã®ã§ç¹ã«ä½æ¥ãè¡ãå¿ è¦ã¯ãªããVine Linuxã®å ´åã¯Vine Linuxã§ATAPIã®CD-R/RWã使ç¨ããã«ã¯ã®ããã«ãLILOã§ã«ã¼ãã«ã«ãã©ã¡ã¼ã¿ã渡ãå¿ è¦ãããã ãªããmodprobeã³ãã³ãã使ã£ã¦ãã·ã¹ãã èµ·åå¾ã«ide-scsiã¢ã¸ã¥ã¼ã«ãçµã¿è¾¼ããã¨ãå¯è½ã ã 次ã«ãdvd+rw-toolsããã¦ã³ãã¼ããã¦ã¤ã³ã¹ãã¼ã«ãããdvd+
ç¾å¼ã«findã極ããã¨ããè¨äºããã£ããã©ãåæ©çãªãã®ã ã£ãã®ã§ãè¯ã使ããã®ãæ¸ãã¦ã¿ãã 1. ã³ãã³ãå®è¡ããã£ã¨ã¯ãããã find . -name foo | xargs grep foo -exec command {}\; ã ã¨ããã¡ãã¡rmãforkãããã®ã§é ãã§ãã xargsãæ©ãã¦ããã§ããã 2. ç¹å®ã®ãã£ã¬ã¯ããªãç¡è¦ãã find . -name .svn -prune -o print | xargs grep foo subversion使ã£ã¦ã¦find-grepããã¨ãã«ä¾¿å©ã§ãã findã¯ãã®2ã¤ãxargsã¨ã®é£æºã¨ã-prune使ããããã«ãªãã¨ä¸æ°ã«ä¾¿å©ã«ãªãæ°ããã¾ãã
ã¤ãã¼æ ªå¼ä¼ç¤¾ã¯ã2023å¹´10æ1æ¥ã«LINEã¤ãã¼æ ªå¼ä¼ç¤¾ã«ãªãã¾ãããLINEã¤ãã¼æ ªå¼ä¼ç¤¾ã®æ°ããããã°ã¯ãã¡ãã§ããLINEã¤ãã¼ Tech Blog ããã«ã¡ã¯ãã·ã§ããã³ã°äºæ¥é¨éçºé¨ã®åéã§ãã Yahoo!ã·ã§ããã³ã°éçºé¨ã§ã¯æ°äººã¨ã³ã¸ãã¢åãã«ã³ãã³ãã®ã½ã¼ã¹ã³ã¼ããèªããã¨ã奨å±ãã¦ãã¾ãã ãã®åæã®é¡æã¨ãã¦ãlsã³ãã³ããããæãããã¾ãã ä»åã¯ãlsã³ãã³ããããã¯ãã¦ã¿ãããã¨é¡ããlsã³ãã³ãã«ã¤ãã¦ã話ãããã¦ããã ãã¾ãã çªç¶ã§ããã¨ã³ã¸ãã¢ã®çãããlsã³ãã³ãã®ã½ã¼ã¹ã³ã¼ããèªãã ãã¨ã¯ããã¾ããï¼ èªãã ãã¨ã®ãªãæ¹ã¯ãã²ä¸åº¦ãç®ãéãã¦ãããã¨ããããããã¾ãã æå¤ã¨ç¥ããã¦ãã¾ããããlsã¯cd,pwdãªã©ã®ã³ãã³ãã¨éãã·ã§ã«ã®çµã¿è¾¼ã¿ã³ãã³ãã§ã¯ããã¾ããã ä¸å£ã«lsã¨è¨ã£ã¦ããè¤æ°ã®ã½ã¼ã¹ã³ã¼ããåå¨ãã¾ãã 代表çãªã®ã¯GN
CodeZineç·¨éé¨ã§ã¯ãç¾å ´ã§æ´»èºãããããããã¼ãã¹ã¿ã¼ã«ããããã®ã«ã³ãã¡ã¬ã³ã¹ãDevelopers Summitãããã¨ã³ã¸ãã¢ã®çããã¾ããã¼ã¹ãããããã®ã¤ãã³ããDevelopers Boostããªã©ããã¾ãã¾ãªã«ã³ãã¡ã¬ã³ã¹ãä¼ç»ã»éå¶ãã¦ãã¾ãã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}