Solved

Bash question:

Posted on 1998-11-16
2
174 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 10 total points
ID: 2007884
Something similar to:
echo "\$0&">_;chmod +x _;./_  
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone 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

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
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 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…
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.

809 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