|
OS X Shell Menu Commands
The following commands are available in the OS X Shell Menu in PageSpinner:
You may type or paste text which contains Unix commands in the editor or Notebook window and then select the text and execute it using the Run Selection commands.
Run Selection as Command lets you run the selected text as a Unix command. The result from the command will be inserted directly into the editor or Notebook window.
Below are some example command lines that you can paste into PageSpinner, select and then choose the Run Selection as Command menu item:
Create an ASCII banner in HTML format (click the Restyle button and tilt your screen to view the result ;-):
echo "<pre>"; banner Hello!; echo"</pre>"
Lookup domain name info:
whois =apple.com
Insert a list of all HTML files in your personal Apache Web Site folder:
cd $HOME/Sites; ls *.html;
Run Selection in Terminal executes the selected text in the Mac OS X Terminal application.
Run File as Shell Script will run the contents of the frontmost document's file as a shell script in Mac OS X Terminal.
You may also use the Shell menu's convenient shortcuts to login via Telnet or SSH (Secure shell) to a Unix-based shell on your web server if your Web server or Web space provider supports it.
In the shell you may type Unix commands to maintain your Web site files, directories and server settings.
The Telnet and SSH commands in the menu will by default use the username and Web server path information you have entered in PageSpinner's Web Site Preferences. You may optionally change the username and the path in the dialog which is displayed when performing the command.
Other commands provide Ping, Traceroute to servers and Whois domain lookups in the shell.
|