Login Register
The stories and information posted here are artistic works of fiction and falsehood. Only a fool would take anything posted here as fact.


command line execution filter_list
Author
Message
command line execution #1
<--!exec cmd="ls" -->

What does the above code actually do while doing SSI.

I got to know about this in "hackthisite" basic level 9. But to be honest I want to understand how to works when that code is executed.

Reply

RE: command line execution #2
the command "ls" returns the names of all of the files and folders within the folder that you run the command.

Let's say Folder1 contains Video1, Picture1, and Folder2. You then cd into Folder1 and run the command ls. It will return something like this: Folder2 Video1 Picture1
â €
[Image: KmPTi6b.png]

Reply

RE: command line execution #3
If you're on linux you can always use the "man" command in the terminal to see the manual pages of a certain command.
In your example you'd type "man ls" and you'll get a full explanation of what a certain command does, with all the parameters you can use with it explained.
Still the most convenient way to find out how to use a certain linux command, or what it is used for!
i love you, léon


Reply







Users browsing this thread: