Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

get files in directory bash

ls | wc -l #Count files on current directory
ls path/to/dir | wc -l #Count files on specific directory path
Comment

bash find file in directory

$ ls -R | grep -i "pattern"
Comment

PREVIOUS NEXT
Code Example
Shell :: kali linux upgrade to new version 
Shell :: wsl file location 
Shell :: github epitech 
Shell :: yii2 gii command line to create model 
Shell :: how to uncommit in git 
Shell :: windows services list 
Shell :: selinux disable ubuntu 
Shell :: bash open current directory in file explorer 
Shell :: ubuntu check cuda version 
Shell :: git init remoce 
Shell :: nano zsh 
Shell :: bash parameters after first 
Shell :: get saved wifi password windows 10 
Shell :: git change crlf to lf 
Shell :: how to turn off bluetooth in ubuntu 18.04 terminal 
Shell :: yandex browser not playing videos 
Shell :: how to install openssl on windows 10 
Shell :: raspberrypi open ports 
Shell :: install pygraphviz 
Shell :: git submodule update 
Shell :: install virtual environment ubuntu 
Shell :: git init repo 
Shell :: set git credentials so that i never ask for username and password while pushin 
Shell :: change github remote repo 
Shell :: how to create a bash script 
Shell :: bitnami lamp restart apache 
Shell :: delete bash history 
Shell :: install pylatex 
Shell :: install saas 
Shell :: uninstall service cmd 
ADD CONTENT
Topic
Content
Source link
Name
5+3 =