This code will give the first part, but how can I remove it and get the whole string without the first part?
echo "first second third etc"|cut -d " " -f1
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You should have a look at
info cut, which will explain whatf1means.Actually we just need fields after(and) the second field.
-ftells the command to search by field, and2-means the second and following fields.