macOS ショートカットキーで画面をロックする
環境
macOS
操作方法
1.control + command + Qキーを押下します。
2.画面をロックします。
3.ロックを解除する場合、任意のキーを押下しパスワードを入力し ...
Oracle 21c CREATE SYNONYMでシノニムを作成する
環境
Oracle Database 21c Express Edition Release 21.0.0.0.0
書式1
CREATE SYNONYM synonym FOR object
自分の ...
macOS 画面をロックする方法
環境
macOS
操作方法
1.メニューバーの「Appleメニュー」をクリックします。
2.「画面をロック」をクリックします。
3.ロック画面に切り替わります。
4.ロッ ...
macOS echoコマンドを使用して使っているシェルを表示する
環境
macOS
操作方法1
% echo $SHELL
/bin/zsh
使っているシェルを表示するには、「 echo $SHELL 」を使用します。
操作方法2
利用 ...
macOS lsコマンドでサイズの大きい順にソートする
環境
macOS
操作方法
ls -Sl
サイズの大きい順にソートするには、「 -S」オプションを使用します。
結果
macOS ディレクトリ内に全てのファイル・ディレクトリを削除する
環境
macOS
操作方法1
rm -rf *
全てのファイル・ディレクトリを削除するには、「rm」コマンドのオプション「-rf」で全て「*」を指定します。
操作方法2
macOS Error: `brew cask` is no longer a `brew` commandの解決方法
環境
macOS
エラーメッセージ
% brew cask install the-unarchiverError: `brew cask` is no longer a `brew` comman ...
macOS the-unarchiverをインストールする
環境
macOS
操作方法
% brew install the-unarchiver --cask実行結果
==> Downloading 100.0%==> Download ...macOS inode番号を取得する
環境
macOS
書式
ls -I
inode番号を取得するには、「ls」コマンドでオプション「-i」を使用します。
操作方法
ls -I
ls - ...
macOS 指定日数以内に更新されているファイルを確認する
環境
macOS
書式
find . -mtime -日数
指定した日数以内に更新されているファイルを確認するには、「find」コマンドの「-mtime」を使用します。
操作 ...
macOS nginxをインストールする方法
環境
macOS
操作方法
1.brewコマンドを使用してnginxをインストールします
brew install nginx
2.nginx設定ファイル
/us ...
macOS skypeをインストールする
環境
macOS
操作方法
1.brewを使用してskypeをインストールします。
brew install skype
2.skypeを起動します
macOS コマンドを使ってバージョンを確認する
環境
macOS
操作方法
以下のコマンドを実行すれば、バージョンを確認します。
sw_vers
実行結果
ark@arknoMacBook ~ % sw_ver ...
macOS gitのGUIクライアントSourceTreeをインストールする
環境
macOS
操作方法
1.SourceTreeのインストール
brew install sourcetree
2.インストールしたSourceTreeを起動します。
macOS デフォルトのエディタでファイルを開く
環境
macOS
書式
open ファイル名
ファイルを開くには、「open」コマンドを使用します。
操作例
「123.scpt」というファイルを開きます ...
macOS 指定ユーザーのホームディレクトリを表示する
環境
macOS
書式
echo ~ユーザー名
ユーザーのホームディレクトリを表示するには、「echo ~ユーザー名」を使用します。
操作例
ark@arknoM ...
macOS rmdirで空のディレクトリだけを削除する
環境
macOS
操作方法
空のディレクトリのみを削除するには、「rmdir」コマンドを使用します。
1.構成のディレクトリの確認
tree
2.空のディレクトリ ...
macOS locateコマンドを利用可能にする方法
環境
macOS
1.locateコマンドを実行します
実行結果
% locate filename
WARNING: The locate database (/var/d ...