Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私は使用していますls myfolder
ls myfolder
ls -lrt -d -1 $PWD/*フルパスでファイルをリストするのを見てきました
ls -lrt -d -1 $PWD/*
問題は、フォルダー内のフルパスでファイルを一覧表示するにはどうすればよいですか? (cdそのフォルダー内に移動するために使用せずに)
cd
使用できますfind:
find
find PATH_TO_FOLDER -maxdepth 1 -type f -printf "%p\n"