Search Results

Search: Posts Made By: chandan.chaman
1,457
Posted By chandan.chaman
Try this - awk -F "^" '{print $1}'...
Try this -

awk -F "^" '{print $1}' op.dat
1,433
Posted By chandan.chaman
Please try below command. It renames all files...
Please try below command. It renames all files in directory/subdirectories.


find . -type f -name "*?" | while read file; do mv "$file" "${file%?}"; done
975
Posted By chandan.chaman
Try this - sed 's/'"$str1"'/|/' xyz_file.txt ...
Try this -
sed 's/'"$str1"'/|/' xyz_file.txt


Please use CODE tags as required by forum rules!
1,085
Posted By chandan.chaman
Below code might help you. awk -F 892 ' (++i)...
Below code might help you.
awk -F 892 ' (++i) {print i + substr ($2,1,3) }' <filename>
1,320
Posted By chandan.chaman
You can use grep -il <string you want to search...
You can use grep -il <string you want to search for> *
or
grep -ic <string you want to search for> *
Showing results 1 to 5 of 5

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