Outlookに他人の予定表を表示させる方法を追加
cp -I -p
mv -I
rm -I rm -- -foo or rm ./-foo
ls -l -h -F -a -A
OS 識別
uname -m
grep -v : invert
diff -y
-include <file>
@ エラー抑制
$@ : ターゲットファイル名
$< : 最初の依存するファイル名
ifeq ($(CC),gcc)
foreach
files = $(foreach dir, $(dirs), $(wildcard $dir/*)
CWD := $(shell pwd)
Makefile
macro:
$@ target
$< depending file
$? updated depending file
$(OBJS:.o=.c)
generation command
<TAB>command
<TAB>@ suppress message
csh file operator
-e exist
-s not size zero
-d directory
-r,-w,-x permission
-o,-g ownew,group
export var=<val>
[ -s file ] : ゼロでなければ真
[ ] は test の代わり [の後と ]の前にはスペースを入れること
[ "A"="A" ]
for var in list
do ... done
sed -n 698p
% sed -n -e /ERROR/,+3p a.log
# a.log で ERROR を含む行から 3 行表示