LoginSignup
2
2

More than 5 years have passed since last update.

bash command memo

Last updated at Posted at 2014-09-17

for one liner

for i in {3..26}; do a=`expr 100 + $i`; echo ${a};done

lsof

TYPEが{DEL|cwd|mem|rtd|txt|}以外の件数

http://linux.die.net/man/8/lsof
lsof | awk '{if($4 !~ /{DEL|cwd|mem|rtd|txt|}/) print}' | sed -e "1d" | wc -l

grep

find ./ -type f | xargs -I {} grep -ln "cache" {}

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2