?
Solved

Bash question:

Posted on 1998-11-16
2
Medium Priority
?
183 Views
Last Modified: 2010-04-21
What will hepen if I do this:
echo "\$0&\$0">_;chmod +x _;./_  

0
Comment
Question by:pucko
2 Comments
 
LVL 1

Expert Comment

by:arthurd
ID: 2007883
Why don't you try it and find out for yourself?  
0
 
LVL 51

Accepted Solution

by:
ahoffmann earned 20 total points
ID: 2007884
Something similar to:
echo "\$0&">_;chmod +x _;./_  
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses

807 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