![]() |
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 |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Need to get pid of a process and have to store the pid in a variable | samudha | UNIX for Dummies Questions & Answers | 7 | 08-05-2008 04:24 AM |
| How to Store command O/P to a variable... | smartbuddy | UNIX for Dummies Questions & Answers | 7 | 08-24-2007 08:49 AM |
| To store the output in a variable | Sudhakar333 | Shell Programming and Scripting | 2 | 07-10-2007 09:45 AM |
| {Urgent very need help} script for conn oracle and get the content | bucci | Shell Programming and Scripting | 15 | 02-22-2007 09:12 AM |
| store awk results in a variable | forever_49ers | Shell Programming and Scripting | 1 | 09-19-2006 11:51 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
how to store the first content of the folder in a variable?(Urgent)
Hi All,
I need urgent help. Because just now i have to give this code to my client. I have a folder name is Testing. this Testing folder contains the following 3 files. 1.txt 2.txt 2.txt Now I want to store the first value of my folder in a variable say suppose $a. Means i want that $a=1.txt (It will take from the folder Testing) Can anybody please tell me the scripting to how to do it??? Please let me know ASAP. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|