Search Results

Search: Posts Made By: daniel.gbaena
14,817
Posted By Scott
Hi. Because in a regular expression a dot...
Hi.

Because in a regular expression a dot matches anything. Escape the dot


find / -user user_name 2> /dev/null | grep "\.sh$"Is it not better to do something like:


find / -name "*.sh"...
2,212
Posted By clx
just put a colon after the %n find . -type f...
just put a colon after the %n

find . -type f -exec stat -c %n:%x {} \;
2,289
Posted By hergp
sed 's/^ //' infile >outfile
sed 's/^ //' infile >outfile
29,881
Posted By kshji
Example user1:12345678:3.5:2.5:8:1:2:3 ...
Example

user1:12345678:3.5:2.5:8:1:2:3
user2:12345679:4.5:3.5:8:1:3:2
user3:12345687:5.5:2.5:6:1:3:2
user4:12345670:5.5:2.5:5:3:2:1
user4:12345670:15.5:2.5:5:3:2:1...
Showing results 1 to 4 of 4

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