I/O question


 
Thread Tools Search this Thread
# 1  
I/O question

Hi,

I have a simple .ksh file that list the contents of a folder. The contents of the folder need to be checked (make sure they are there). I have the output printed to a log. I then FTP to a windows server where the log is read.

The problem is when I read the log file in windows there are no line breaks.

I used \n

e.g

ls /home/Joe/ListFiles \n


Thanks for the help
# 2  
Never Mind... it works whe I open in WordPad..

Ahhhh
Smilie
 

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #975
Difficulty: Easy
In July 2009, Alan Cox quit his Linux kernel development role as the TTY layer maintainer after disagreement with Linus Torvalds about who should pay for beers during a trip to Amsterdam.
True or False?

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Question about $*

Hi, I have shell scrit code like below, but I have need few clarification on this. I have explained my understanding and doubts after this code. abcd() { print $(date +%y%m%d:%H%M%S) "$*" } exec >> /root/file1.log 2>&1 My understanding is abcd() is a function it... (3 Replies)
Discussion started by: stew
3 Replies

2. UNIX for Dummies Questions & Answers

Help me these Question??

1. How the Unix system identify the Other User to access for file permission? 2. What command we use to convert the extension of a file name? 3. What command use to convert other editing file to Unix based text file? Please answer of these Question???Its necessary for me?? (3 Replies)
Discussion started by: pradipta_pks
3 Replies

3. UNIX for Dummies Questions & Answers

Question

I was given a computer that has been wiped clean and has never had windows installed how do I format the hardrive so I can install windows XP (3 Replies)
Discussion started by: gemini61
3 Replies

4. UNIX for Dummies Questions & Answers

a question

I was experimenting with redirection. Manual says >&digit --> standard output is redirected to the file descriptor digit I tried exec 3>myout exec >&3 This sent all the output to myout. Nothing was coming on the screen. I was thinking duplication will result in output similar to what... (7 Replies)
Discussion started by: ranj@chn
7 Replies

5. UNIX for Dummies Questions & Answers

A question?

using my unix os, can i do any autoexec.bat editing in order to execute selected programs that i use most often? :confused: (1 Reply)
Discussion started by: alecks1975
1 Replies

6. Linux

I have a question...

hello,I want to get a free linux(English).How to get it?? (2 Replies)
Discussion started by: Jerry_wang
2 Replies

7. UNIX for Dummies Questions & Answers

cd-r vs. cd-rw question

I'm trying to put together a script that will burn some data to a cd....is there a way to tell from the command line whether the cd in the drive is a cd-r or a cd-rw? I'd like to blank the cd 1st if it's a cd-rw, but I want to automate this instead of asking for user input. Thanks!! (4 Replies)
Discussion started by: jalburger
4 Replies

8. UNIX for Dummies Questions & Answers

another question?

what happens if the script doesn't get Y,y,N, or n? Will it just loop back up and ask the question again? I tried to get mine to give me another response to tell me my input was invalid, but ran into problems with it. (8 Replies)
Discussion started by: wmosley2
8 Replies

9. UNIX for Dummies Questions & Answers

Next Question:

what is the function of swap in linux why i have to create apsolutely a particion for the swap when i install (i installed lnx4win mandrake and made an automat. disk particion and the install program one of my disk partitions that was 3gb devidet in 4 one native 700mb swap 600mb and the others i... (1 Reply)
Discussion started by: user666
1 Replies

Featured Tech Videos