テラターム使用
/usr/local/texlive/2021にいる前提
質問内容
catコマンドを使い、install-tl.logの中身を標準出力に出力させるコードを考えています。
下記のコードで実行したのですが、エラーコードが発生しました。
何故実行できないのか教えていただけますでしょうか。
実現したいこと
・install-tl.logの中身を標準出力に出力させたい
・何故実行できないのか知りたい
発生している問題・エラーメッセージ
エラーメッセージ
cat: install-tl.log: No such file or directory
該当のソースコード
cat install-tl.log
cat: install-tl.log: No such file or directory
試したこと
catコマンド(ファイルの内容を標準出力に出力する)やり方を検索し、オプションを使い実行した。
試したコード
cat -A install-tl.log
ls -la install-tl.log
install-tl.log はどこにあるのですか?
質問文から言えるのは、/usr/local/texlive/2021/install-tl.log は存在しないということです。
1-1. teratailはサポートセンターではなく、思考するエンジニアの為のQ&Aコミュニティです
思考するエンジニアならば、入門サイトなり書籍なりで勉強してから質問してみては。
ご回答ありがとうございます。
findコマンドでファイルの場所を探してみたのですが、
下記のような結果になりました。
find / -name install-tl.log
find: '/proc/1/map_files': Operation not permitted
find: '/proc/7/map_files': Operation not permitted
find: '/proc/63/map_files': Operation not permitted
find: '/proc/71/map_files': Operation not permitted
find: '/proc/83/map_files': Operation not permitted
find: '/proc/86/map_files': Operation not permitted
find: '/proc/101/map_files': Operation not permitted
find: '/proc/116/map_files': Operation not permitted
/usr/local/texlive/2021/install-tl.log
操作は許可されていない という意味だと思うのですが、どういうことなのでしょうか?
> /usr/local/texlive/2021にいる前提
という前提を満たしていないのだと思います。
ご回答ありがとうございます。