![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Basic Linux Shell Scripting for Oracle DBAs | iBot | Oracle Updates (RSS) | 0 | 04-06-2008 05:10 AM |
| basic shell scripting question | convenientstore | Shell Programming and Scripting | 3 | 05-27-2007 10:21 PM |
| Shell scripting basic doubt | sendhilmani123 | Shell Programming and Scripting | 3 | 08-04-2006 06:07 AM |
| scripting guru's pls help me with scripting on AIX | thatiprashant | Shell Programming and Scripting | 1 | 01-20-2006 07:58 PM |
| What is a good place to learn basic shell scripting? Thanks! | deutchap6verse5 | Shell Programming and Scripting | 2 | 03-08-2005 02:55 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
basic scripting help
I would like to know:
1. How is `command` used? 2. How is '$command' used? For example, a script file that checks for apache tomcat processes that I created has the following lines: test set suffix=` grep "6.0.18"` set command = `ps -ef $suffix` echo $command //?? hoping this works... #`command` //?? Errors when I run the file: ./test: line 4: unexpected EOF while looking for matching ``' ./test: line 5: syntax error: unexpected end of file Can anyone help me find my mistakes? ![]() |
![]() |
| Bookmarks |
| Tags |
| eval, script, variables |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|