Tell grep
to treat your input as fixed string using -F
option.
grep -F '*^%Q&$*&^@$&*!^@$*&^&^*&^&' application.log
Option -n
is required to get the line number,
grep -Fn '*^%Q&$*&^@$&*!^@$*&^&^*&^&' application.log
More Related Contents:
- Use grep –exclude/–include syntax to not grep through certain files
- Identifying and removing null characters in UNIX
- How can I grep for a string that begins with a dash/hyphen?
- Grep for literal strings
- How does grep run so fast?
- How to grep for the whole word
- Print lines in one file matching patterns in another file
- Using grep for multiple search patterns
- Display filename before matching line
- grep a tab in UNIX
- Grepping for exact words with UNIX
- sed edit file in place
- Canonical vs. non-canonical terminal input
- How to use variables in a command in sed?
- What does ^M character mean in Vim?
- Why is 1/1/1970 the “epoch time”?
- What is the difference between a symbolic link and a hard link?
- Is there a Unix utility to prepend timestamps to stdin?
- sed or awk: delete n lines following a pattern
- How do I use the nohup command without getting nohup.out?
- nginx error connect to php5-fpm.sock failed (13: Permission denied)
- How to concatenate multiple lines of output to one line?
- Explain awk command
- Why always ./configure; make; make install; as 3 separate steps?
- What is special about /dev/tty? [closed]
- Unix:merge multiple CSV files with same header by keeping the header of the first file
- unix command line execute with . (dot) vs. without
- How do I change a shell scripts character encoding?
- A cron job that will never execute
- Why does RSA encrypted text give me different results for the same text