Create path which has length=1023.


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Create path which has length=1023.
# 1  
Old 11-16-2008
Create path which has length=1023.

Hi,

Please help me..

PATH_MAX=1023
I need output as below:

/mansa/filesssssssssssssssssssssssssssssssssssssssss

Please send me code in ksh shell script..

while [[ i < PATH_MAX ]] ; do




done

Thanks,
Mansa
# 2  
Old 11-16-2008
What is the practical business problem you are solving?
# 3  
Old 11-16-2008
your threads look too much like homework... if you can prove you post are no homework, please contact one of the mods to reopen the threads.

thank you...
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to create 2 different path folders?

Hi all, I am new to this forum. A_NAME=$5 DEPT="abc" DEPT_NAME="cdf" echo " Name:" $A_NAME | tee -a ${LOG_FILE_NAME} echo "dept :" $DEPT | tee -a ${LOG_FILE_NAME} echo "dname :" $DEPT_NAME | tee -a ${LOG_FILE_NAME} echo "parse_parms done" | tee -a ${LOG_FILE_NAME}... (11 Replies)
Discussion started by: Boost
11 Replies

2. Red Hat

How to create PATH for a application?

hi every one In linux, how to create a PATH for a application ? i searched, but no positive response any one like me got stuck with this problem? (3 Replies)
Discussion started by: rajeshz
3 Replies

3. Shell Programming and Scripting

Find the length of a path

Hey, I got a question: how do I find the length of a path ? this is the context: I used this funtion find: DIR="/home/name/directory" find DIR -name "*.extension" The output is then: /home/name/directory/filename.extension What I'd like to have is only the last part:... (3 Replies)
Discussion started by: Miki1579
3 Replies

4. UNIX for Dummies Questions & Answers

Create File with specific Length

We have utility running on Unix which generates Files with records greater than 32760 , (max supported by Mainframe) .Our requirement is to transfer is file to Mainframe .When we ftp the in binary format it automatically wraps it up..so we are good there... But now we need to zip and send the file... (2 Replies)
Discussion started by: nishantrk
2 Replies

5. Linux

How to create zip file without path?

Hello, I have generated a PHP script that creates files needed for EPUB file. I have a temp directory where these files are created into and then needs to be zipped. The directory structure is: mimetype content.opf index.html stylesheet.css toc.ncx META-INF META-INF/container.xml ... (4 Replies)
Discussion started by: spaze
4 Replies

6. Shell Programming and Scripting

Makefile cant create new install path

..... (2 Replies)
Discussion started by: mercury
2 Replies

7. UNIX for Dummies Questions & Answers

Maximum length of a path given as an argument to a shell script

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... (3 Replies)
Discussion started by: raghu.amilineni
3 Replies

8. UNIX for Dummies Questions & Answers

Want to create 3 different new directories under the same path

Hi, Iam new to UNIX...My requirement is to create 3 dir as an hierarchy under /var/opt/temip.The output should be /var/opt/temip/GP_Int/GPTTS/AUTO. I have tried the following script...But only GP_int folder is getting created and not other folders...Can someone help??? #!/usr/bin/ksh #script... (1 Reply)
Discussion started by: Llb
1 Replies

9. Shell Programming and Scripting

Create Variable for a PATH

Hello all, I need to create a variable that contains a path to a program. I'd like to reference that variable later in the script to execute the program. Does anyone have any ideas how I can accomplish this? Thanks, Mark :) (2 Replies)
Discussion started by: mmignot
2 Replies

10. UNIX for Dummies Questions & Answers

OS can't see beyond 1023 cylinders

I'm trying to install SCO 5.0.5 onto a workstation for test purposes. I've had no problems during the installation and everything seems to have gone well until I look at the disk space available - it's a 40 Gb IDE hard drive but the OS only seems to be seeing the first 1023 cylinders. Have tried... (3 Replies)
Discussion started by: kath
3 Replies
Login or Register to Ask a Question