pcyuen98 / covidAngular

0 stars 0 forks source link

Command on how to find files on linux. #23

Closed Devarajan222 closed 3 years ago

Devarajan222 commented 3 years ago

Creating file command mkdir covid.log

mkfile

Search file command find . -name covid.log

s1

Searching all file named Covid find . -name 'Covid'

s2

Searching file based on Extension

find -name "*.js"

s3

Link for online Linux environment

https://bellard.org/jslinux/vm.html?url=buildroot-x86.cfg

Reference : https://winaero.com/find-files-linux-terminal/

pcyuen98 commented 3 years ago

when using find on windows it, has the issue below because windows has another "find" command.

"FIND: Parameter format not correct"

https://superuser.com/questions/126123/find-command-doesnt-seem-to-work-in-cygwin/126124

in order to use the CGYWIN, you may need to use exact path and filename - C:\opt>D:\cygwin64\bin\find . -name "covid"