[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: UnixUtils not working in windows 10 64 bit OS-Need Help
From: |
sisyphus1 |
Subject: |
Re: UnixUtils not working in windows 10 64 bit OS-Need Help |
Date: |
Tue, 13 Jun 2017 11:00:32 +1000 |
-----Original Message-----
From: jyothsna bethamsetty
Sent: Monday, June 12, 2017 2:07 PM
To: address@hidden
Subject: UnixUtils not working in windows 10 64 bit OS-Need Help
when I used a below command
C:\Windows\System32>grep -i 'patter' filename.txt
I'm getting below error: 'no such file or directory'.
That will only work if filename.txt is in your current directory (which is
C:\Windows\System32).
If you want that command to work, you need to first cd to the directory that
contains fileneame.txt.
Alternatively, you could change the command to:
grep -i "patter" C:\location\of\filename.txt
(I've also replaced the single quotes surrounding patter with double quotes.
I don't know if that matters, but I think it does.)
I also installed wget.exe after googling but no luck.
What was the error with that ?
Cheers,
Rob