Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

count sub files in folder linux

find . -type f -print | wc -l
Comment

linux count files in subdirectories

find . -type f | cut -d/ -f2 | sort | uniq -c | sort -nr
Comment

linux count files in subdirectories

find . -maxdepth 1 -type d | while read -r dir
do printf "%s:	" "$dir"; find "$dir" -type f | wc -l; done
Comment

PREVIOUS NEXT
Code Example
Shell :: jupyterlab 
Shell :: jupyterlab setup 
Shell :: terraform apply auto approve 
Shell :: remove microsoft edge from ubuntu 
Shell :: how to reload docker nginx 
Shell :: ubuntu stop process on port 
Shell :: install wireshark on ubuntu 
Shell :: git config all users 
Shell :: uninstall vscode linux 
Shell :: delete namespace stuck in terminating 
Shell :: show all passwords linux 
Shell :: install autopep8 
Shell :: Unrecognized command "eject" 
Shell :: vim remove whitespace from end of line 
Shell :: list recently installed packages arch 
Shell :: remove notepad plus plus ubuntu 
Shell :: Get the size of all the directories in current directory in linux 
Shell :: install yarn on ec2 instance 
Shell :: ubuntu install opencl 
Shell :: install k3s 
Shell :: upgrade tensorflow version 
Shell :: ubuntu delete all files with extension 
Shell :: ubuntu install libc6-i386 
Shell :: dd show progress 
Shell :: see all apps linux 
Shell :: how to uninstall global package npm 
Shell :: zsh autosuggestions 
Shell :: how to install proxychains 
Shell :: install vmware tools ubuntu 
Shell :: Please select the geographic area in which you live. Subsequent configuration questions will narrow this down by presenting a list of cities, representing the time zones in which they are located 
ADD CONTENT
Topic
Content
Source link
Name
6+8 =