Search Results

Search: Posts Made By: itech4814
1,091
Posted By itech4814
It says there is no -q option for the grep...
It says there is no -q option for the grep command. I am using bash shell if that matters. Is there some kind of if statement I can use for checking the file for the entry??
1,091
Posted By itech4814
Help with deleting lines and saving them
I have a directory question where I ask the user which entry he wants to delete...

echo "Which entry?"
read entry
sed '/^'$entry'/d' file

This code does in fact delete that particular...
Showing results 1 to 2 of 2

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