LoginSignup
5
4

More than 5 years have passed since last update.

たまにしか使わないLinuxコマンドメモ

Posted at

随時追記。
よく使うやつは忘れないんですけどね・・・。

グループにユーザーを追加する

$ sudo gpasswd -a <ユーザ名> <グループ名>

削除のときは-d。

任意のサイズのダミーファイルを作成する

http://qiita.com/ymko/items/2f7cc2a45bbdef2bfece
便利。

オブジェクトファイルからシンボル情報を取得する

$ nm <*.oファイル>

クロスコンパイラならarm-eabi-nm等になる。
--print-sizeでサイズも表示。

実行ファイルの場所を探す

$ whereis <コマンド>
5
4
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
5
4