IT

環境
macOS

操作方法
1.メニューバーの「Appleメニュー」をクリックします。

2.「画面をロック」をクリックします。

3.ロック画面に切り替わります。

4.ロッ ...

IT

環境
macOS

操作方法1
% echo $SHELL
/bin/zsh
使っているシェルを表示するには、「 echo $SHELL 」を使用します。

操作方法2
利用 ...

IT

環境
macOS

操作方法
ls -Sl
サイズの大きい順にソートするには、「 -S」オプションを使用します。
結果

% ls -Sltotal 104-rw-r--r-- 1 ark ...

IT

環境

macOS

操作方法1

rm -rf *

全てのファイル・ディレクトリを削除するには、「rm」コマンドのオプション「-rf」で全て「*」を指定します。

操作方法2

IT

環境

macOS

エラーメッセージ

% brew cask install the-unarchiver

Error: `brew cask` is no longer a `brew` comman ...

IT

環境

macOS

操作方法

% brew install the-unarchiver --cask

実行結果

==> Downloading 100.0%==> Download ...

IT

環境

macOS

書式

ls -I

inode番号を取得するには、「ls」コマンドでオプション「-i」を使用します。

操作方法

ls  -I

ls - ...

IT

環境

macOS

書式

find . -mtime -日数

指定した日数以内に更新されているファイルを確認するには、「find」コマンドの「-mtime」を使用します。

操作 ...

IT

環境

macOS

操作方法

1.brewコマンドを使用してnginxをインストールします

brew install nginx

2.nginx設定ファイル

/us ...

IT

環境

macOS

操作方法

1.brewを使用してskypeをインストールします。

brew install skype

2.skypeを起動します

IT

環境

macOS

操作方法

以下のコマンドを実行すれば、バージョンを確認します。

sw_vers

実行結果

ark@arknoMacBook ~ % sw_ver ...

IT

環境

macOS

操作方法

1.SourceTreeのインストール

brew install sourcetree

2.インストールしたSourceTreeを起動します。

IT

環境

macOS

書式

open ファイル名

ファイルを開くには、「open」コマンドを使用します。

操作例

「123.scpt」というファイルを開きます ...

IT

環境

macOS

書式

echo ~ユーザー名

ユーザーのホームディレクトリを表示するには、「echo ~ユーザー名」を使用します。

操作例

ark@arknoM ...

IT

環境

macOS

操作方法

空のディレクトリのみを削除するには、「rmdir」コマンドを使用します。

1.構成のディレクトリの確認

tree

2.空のディレクトリ ...

IT

環境

macOS

1.locateコマンドを実行します

実行結果

% locate filename

WARNING: The locate database (/var/d ...

IT

環境

macOS

操作方法

1.javaバージョンの確認

% java --versionopenjdk 20 2023-03-21OpenJDK Runtime Environment Ho ...

IT

環境

macOS

操作方法

ユーザーIDを確認するには、「id」コマンドでユーザーを指定して確認します。

書式

id ユーザー名

操作例

id ark ...