技術ブログ

プログラミング、IT関連の記事中心

Macのシャットダウンした日時を取得する方法

目次 コマンドの実行方法 lastコマンド Macのシャットダウンした日時を取得する方法 コマンドの実行方法 Macの場合には、「ターミナル」アプリを起動することで、コマンドを実行する事ができます。 LinuxやCentOSなどの場合は、それぞれのCUIにて実行する事…

lastコマンド

目次 コマンドの実行方法 lastコマンド ログイン、シャットダウン、再起動の日時取得 コマンドの実行方法 Macの場合には、「ターミナル」アプリを起動することで、コマンドを実行する事ができます。 LinuxやCentOSなどの場合は、それぞれのCUIにて実行する事…

pod installで[!] Your project does not explicitly specify the CocoaPods master specs repo. Since CDN is now used as the default, you may safely remove it from your repos directory via `pod repo remove master`. To suppress this warning please add `warn_for_

目次 警告メッセージ 対応方法 警告メッセージ 以下のコマンドを実行した際に pod install 以下のような警告が発生する場合があります。 [!] Your project does not explicitly specify the CocoaPods master specs repo. Since CDN is now used as the defa…

carthage updateでXXX have the same architectures (arm64) and can't be in the same fat output fileが発生した場合

目次 エラー発生の状況 対応方法 エラー発生の状況 以下のコマンドを実行した際に carthage update 以下のようなエラーが発生する場合があります。 ※XXXはライブラリ名になります。 XXX have the same architectures (arm64) and can't be in the same fat o…

dateコマンド

目次 コマンドの実行方法 ディレクトリ名に関して dateコマンド 現在の日時を取得 コマンドの実行方法 Macの場合には、「ターミナル」アプリを起動することで、コマンドを実行する事ができます。 LinuxやCentOSなどの場合は、それぞれのCUIにて実行する事が…

grepコマンド

目次 コマンドの実行方法 ディレクトリ名に関して grepコマンド ファイル中の探したい文字を検索 コマンドの実行方法 Macの場合には、「ターミナル」アプリを起動することで、コマンドを実行する事ができます。 LinuxやCentOSなどの場合は、それぞれのCUIに…

findコマンド

目次 コマンドの実行方法 ディレクトリ名に関して findコマンド ファイルを検索 コマンドの実行方法 Macの場合には、「ターミナル」アプリを起動することで、コマンドを実行する事ができます。 LinuxやCentOSなどの場合は、それぞれのCUIにて実行する事がで…