Question: Need help with UNIX command I need to convert requiem.dat so it can be used with Linux. I've tried using these commands: tr -d '

Need help with UNIX command

I need to convert requiem.dat so it can be used with Linux. I've tried using these commands: tr -d ' ' < file1 > file2 and dos2unix file1 , but I keep getting this error: /home/username/UnixCourse/sftpAsst/requiem.dat is a text file with Windows-style line termination.

It is not yet ready for use in Linux. at (eval 1) line 29.

Use sftp via the server cs252ft.cs.odu.edu1 to download the file /var/opt/cs252/mozart.zip) to your PC. Unpack it and examine the files inside. You should find that you have a mixture of text and binary files. These were all prepared on a Windows PC and follow Windows encoding conventions.

Use sftp, again via the cs252ft.cs.odu.edu server to upload those files from inside the zip archive from your PC to the directory you created in step 1. Any text files should be converted, if necessary, to Unix encoding conventions.

requiem.dat is the file that needs to be converted.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!