Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

meaning of symbols like grave, !, @, ^,&,{}, \(back slash) etc.

Posted on 2004-09-22
5
Medium Priority
?
509 Views
Last Modified: 2013-12-27
What's the meaning of symbols like grave, !, @, ^,&,{}, \(back slash) etc?

for example in man find page, {} means current pathname.

does current pathname mean path + filename?

Thanks.
0
Comment
Question by:iamjhkang
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 18

Expert Comment

by:liddler
ID: 12130999
These symbols (called metacharacters) mean slightly different things depending on which shell you are using, but generally
`` execute the command in the back ticks
'' hard quotes (ignore any metacharacter)
"" soft quotes used for spaces
& run in background
! not
\ escape

in the find command you mention {} means path and filename, so
find /tmp -name "*.tmp" -exec rm {} \;
lists allof the .tmp file in the tmp directory and passes them to rm and put them all on one line (escapes the ;)
so the rm command would look like
rm 1.tmp; rm 2.tmp ; rm 3.tmp
etc
0
 
LVL 1

Author Comment

by:iamjhkang
ID: 12131433
Thanks.

Do you have any examples on other symbols?
0
 
LVL 18

Accepted Solution

by:
liddler earned 500 total points
ID: 12131560
0
 
LVL 1

Author Comment

by:iamjhkang
ID: 12138959
Thanks a log.
0
 
LVL 1

Author Comment

by:iamjhkang
ID: 12138963
lot*
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

596 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question