|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | 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 !! |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
hi,
I am using solaris10. I have to write a bourne shell script, which copies files for the said destination path which is passed as an argument to the script. it looks like this myscript.sh /var/test -->destination path now i would like to know what is the maximum length i can given as the destination path here? what is the maximum a solaris accepts? thans in advance. RaghuDeep Amilineni |
| Sponsored Links | ||
|
|
#2
|
|||
|
|||
|
These two commands may help you possibly:
getconf NAME_MAX . getconf PATH_MAX . |
| Sponsored Links | ||
|
|
#3
|
|||
|
|||
|
Quote:
but i get this message when i execute the command i get a message like this. # getconf PATH_MAX usage: getconf [-v specification] system_var getconf [-v specification] path_var pathname getconf -a |
|
#4
|
|||
|
|||
|
Sorry, please add the . char after PATH_MAX.
|
| Sponsored Links | ||
|
![]() |
| Tags |
| legth of the positional parameter, shell script, shell scripting, unix scripting, unix scripting basics |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Maximum command length in bourne shell | vineetd | Shell Programming and Scripting | 10 | 10-29-2009 10:12 AM |
| what is the maximum length of a unix shell variable which can be can passed to plsql | alokjyotibal | Shell Programming and Scripting | 1 | 02-23-2009 06:27 AM |
| Maximum Command Length | miltony | UNIX for Dummies Questions & Answers | 2 | 11-19-2005 10:25 AM |
| Maximum Command Length for Korn shell | miltony | UNIX for Dummies Questions & Answers | 2 | 11-15-2005 03:19 PM |
| Maximum file name length | rkkiran | UNIX for Dummies Questions & Answers | 4 | 01-30-2002 10:31 AM |
|
|