Search Results

Search: Posts Made By: johnywhy
6,382
Posted By johnywhy
Bash Command to Get Nth Line in a String?
hi

i need to get the 3rd line in a string.

actually, not sure if it's a string, list, array, or something else. I'm using grep to retrieve all the numbers in a string-- in the console, it...
29,525
Posted By johnywhy
How To Pipe Find To Grep?
hi

what wrong with my syntax here?

find / -name "*dhcp*" | grep -l -r 'timeout'

thanks
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 12:32 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy