![]() |
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 |
| SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems . |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| cannot telnet/ftp to solaris machine by straight cable makes problem .. | mahadib | SUN Solaris | 7 | 09-17-2008 06:50 AM |
| how to transfer a file from unix to window machine | balireddy_77 | Shell Programming and Scripting | 3 | 10-12-2007 04:44 AM |
| How to unzip a file ftped from Window box? | terala_s | UNIX for Advanced & Expert Users | 10 | 06-24-2007 02:38 PM |
| how can I copy a file from unix to window machine? | fredao | UNIX for Advanced & Expert Users | 6 | 12-04-2006 11:18 PM |
| runnig script from window machine | sjumma | UNIX for Dummies Questions & Answers | 2 | 06-21-2006 01:16 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
strange problem regarding zip/unzip from window to solaris machine
Hi ,
I faced a very strange problem when I unzip a zip file on my solaris workstation. Actually I wanted to transfer a folder, say it TEST which contains some sub-folders inside it from windows to solaris machine. So I zipped this folder to TEST.ZIP on my windows machine. Then from my windows machine, I started ftp from command prompt and connected to my solaris machine and I copied this TEST.ZIP folder using put command to my solaris mahcine in bin mode. On my solaris machine, I extracted this folder by following command :- $ unzip TEST.ZIP It unzipped the folder and produced a TEST folder. But the problem is that when I opened any file from any of the sub-folders of this TEST folder using vi editor, in every line it is showing "^M" i.e., control + M character which I dont intended. Firstly I could not know how these control chars are getting appended. But when I searched on google for solving the problem, I could only find the reason but not its solution. The reason for these control char is that in window every line is terminated by Enter or Return key which in solaris mahcine appeared as these control chars. Anybody who have any idea, please help me ASAP. Regards, Raj Kumar Arora |
|
||||
|
Quote:
or cp *.cc *.cc.old which failed because the cp or mv command failed for * wildcard. I cant manually change for each file as I am having a bunch of files. Any alternative ? Regards, Raj Kumar Arora |
|
||||
|
Quote:
only ^M in file by typing /^M enter; then that too didnt worked out. The reason is that it pertains combination of the two chars ^ and M as a single char and not two different chars. I came to known this conclusion by deleting the char ( using x key in escape mode). It needs to press only one time the x key for deleting this combination of these two chars. Regards, Raj Kumar Arora |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|