echo */
echo */ ” ” | sed “s/\/ /\n/g” #throw trailing “/”
find . -type d -maxdepth 1 -mindepth 1
find . -type d -printf ‘%P\b’ #just directory names
find . -maxdepth 1 -mindepth 1 -type d -printf %P\\n #Print directory names one line at a time, without any other characters
ls -d */
ls -d .*/ #see hidden directories
ls -d */ | xargs -l basename #just directory namestree -d -L 1
ls -l | grep “^d”
tree -fid
List only file and not directory - ls command
0 件のコメント:
コメントを投稿