The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 04-27-2008
wmantly wmantly is offline
Registered User
  
 

Join Date: Apr 2008
Location: NYC
Posts: 2
Question How to....

Hello!, I have been using debian based GNU/linux for a few years now and have recently started using more complex shell scripts, I have a few questions that have been causing me issue during the last few days:

1: How to tell the file name of the current shell script?

2: How do I run A program/script from another directory but make it run from the directory that it lives in, EX: ~/script1.sh starts ~/randomdir/script2.sh will tell me that's it cant find dependent.txt witch is in ~/randomdir/ ?

3: I have A LAMP server running on my desktop, I would like to start qemu from a web front end, how do I start a program from a PHP/pyton/perl(I use PHP the most) that will run on my desktop?

Thank you for your help in advance.
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 04:11 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0