内容へ移動
Penguin's Coffee Break
ユーザ用ツール
ログイン
サイト用ツール
検索
ツール
文書の表示
以前のリビジョン
バックリンク
最近の変更
メディアマネージャー
サイトマップ
ログイン
>
最近の変更
メディアマネージャー
サイトマップ
トレース:
os:ubuntu:basic_operation
この文書は読取専用です。文書のソースを閲覧することは可能ですが、変更はできません。もし変更したい場合は管理者に連絡してください。
====== パッケージの更新 ====== <code> # apt update # apt upgrade # apt dist-upgrade </code> ====== 自動更新を停止 ====== /etc/apt/apt.conf.d/20auto-upgradesを編集する. <code> APT::Periodic::Update-Package-Lists "1"; APT::Periodic::Unattended-Upgrade "1"; </code> を以下に変更. <code> APT::Periodic::Update-Package-Lists "0"; APT::Periodic::Unattended-Upgrade "0"; </code> * 0:自動更新OFF * 1:自動更新ON ====== 基本パッケージのインストール ====== ===== 開発に関する必須ツール ===== gcc, g++, makeなど基本ツールのインストール <code> # apt install build-essential </code> ====== ファイル検索 ====== 相対パス <code> $ find -name hoge.txt </code> 絶対パス <code> $ find `pwd` -name hoge.txt </code> ====== 特定の文字列を含むファイルの検索 ====== <code> $ find <dir> -type f -print | xargs grep <str> </code> <dir>は検索するディレクトリ,<str>は検索したい文字列. ====== 圧縮,解凍 ====== 圧縮,解凍 (tar.gz) <code> $ tar zcvf hoge.tar.gz <dir> $ tar zxvf hoge.tar.gz </code> 圧縮,解凍 (tar.bz2) <code> $ tar jcvf hoge.tar.bz2 <dir> $ tar jxvf hoge.tar.bz2 </code> 圧縮,解凍 (tar.xz) <code> $ tar Jcvf hoge.tar.xz <dir> $ tar Jxvf hoge.tar.xz </code>
os/ubuntu/basic_operation.txt
· 最終更新: 2021/01/09 14:37 (外部編集)
ページ用ツール
文書の表示
以前のリビジョン
バックリンク
文書の先頭へ