0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

コマンドメモ

Last updated at Posted at 2016-03-31

ファイル名が"*.txt"を満たすファイルに対して、
"aaa"を含む行があるかどうかを探す。
条件に合致する行があった場合、ファイル名と該当行を表示する。

find . -type f -name "*.txt" -exec grep aaa {} \; -print

サイズの大きいディレクトリトップ20

du -k  | sort -n | tail -20

MacでJavaホームを変更する

export JAVA_HOME=`/usr/libexec/java_home -v 1.8.0`
0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?