08-17-2009
Quote:
Originally Posted by
figaro
Moreover, I regularly need to dos2unix files coming from USB sticks from Windows machines anyway, so the option seems so superfluous.
dos2unix(1) only tranlates carriage return + linefeed (Dos/Windows end of line) to linefeed only (Unix and MAC end of line), it does nothing with filesystems.
Windows cannot mount or read Unix filesystems unless it has had a utility installed to enable it to do so, so a USB stick to be used to transfer files between Windows and Unix is best formatted with a NTFS, FAT32 or DOS filesystem which both Linux and Windows can mount and read.
10 More Discussions You Might Find Interesting
1. Linux
Hello Everybody
I am planning to install Fedora core 8 on an extra PC I have; what I wanna do is to boot from a USB stick then install Fedora from an ISO image I already have via FTP. Could any one tell me how to create bootable USB Stick for Fedora as I already found how to install from FTP... (0 Replies)
Discussion started by: ahmed_nasr2001
0 Replies
2. UNIX for Dummies Questions & Answers
I have a P-Series Machine running AIX 5.3, it has a USB Port on the front of the server, can I use a USB Stick on AIX platforms?? if so how..:rolleyes: (2 Replies)
Discussion started by: BEVAN
2 Replies
3. BSD
I inserted a 8GB usb stick in a number of machine with FreeBSD 7.1, but the medium was not detected:
$ dmesg | grep MB
usable memory = 4263022592 (4065 MB)
avail memory = 4082540544 (3893 MB)
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
ad0: 238475MB <WDC WD2500BEVT-00ZCT0... (6 Replies)
Discussion started by: figaro
6 Replies
4. Filesystems, Disks and Memory
Dummies questions, perfect for this. I cannot mount my idiotic usb stick on Slackware, I input the following on non-graphic mode as root:
Mount -t vfat /dev/sdc1/usbstick
usbstick is the folder i created for mounting my USB, the file system is FAT, and everytime I input that I get some kind... (2 Replies)
Discussion started by: Dax01
2 Replies
5. Shell Programming and Scripting
Hello,
i am using a solaris thinclient that tries to connecting to a terminalserver. (RDP) Everything works fine, but the usb redirection. If i put in a usb stick i always get 2 usb-drives mounted. If i look in /tmp/SUNWut/mnt/<name of the host> i see 2 devices. One with the name of the... (2 Replies)
Discussion started by: anarcy
2 Replies
6. Ubuntu
Hey Guys
I have an Ubuntu CD and I was thinking of creating like a bootable hard drive with various OS so that I can just boot OSs with t drive and not require the CDs. I was just wondering is there a way I can do this, like have Ubuntu boot from a USB stick? If yes how is that possible(even if I... (3 Replies)
Discussion started by: rbansal2
3 Replies
7. SCO
hi
Howto mount an USB stick under SCO 5.0.7?
BTW ist it possible to mount USB stick in the command line using 'tools' at the Boot: prompt from OpenServer Release 5.0.7 installation CD? (1 Reply)
Discussion started by: ccc
1 Replies
8. Ubuntu
I'd like to install the OS on my stick. I would like to be able to save my works there and install apps or customize the OS.
What can I do
Ps. At home I use an iMac, but in the school where I work there are only PC...
Ty (2 Replies)
Discussion started by: Fabio_Puricelli
2 Replies
9. SCO
I am trying to use a USB (Pen?) drive on Unixware 7.1.4.
The USB stick is in the machine and the machine recognises it when I enter usbprobe as follows:
Path - Address Description
-----------------------------
+++++++ BUS #2
0 - 1 - HUB "UHCI Root Hub"
1 - 2 - HID "Chicony Wireless Device"... (1 Reply)
Discussion started by: BernP
1 Replies
10. BSD
I would probably set all my rubber points here to get some real help for creating a boot device on a usb-stick. There is no CD-drive on this machine, thats why I need to use a usb-stick. And scrumming in a CD-drive to fuddle around in the fstab or something like that is out of reach.
My wisdom so... (9 Replies)
Discussion started by: 1in10
9 Replies
LEARN ABOUT OSF1
dos2unix
dos2unix(1) General Commands Manual dos2unix(1)
NAME
dos2unix - mtools utility to convert a DOS file to UNIX
SYNOPSIS
dos2unix msdosfile
OPTIONS
None
OPERANDS
Name of the file to convert.
DESCRIPTION
The dos2unix command converts a file from DOS format to UNIX format. The converted file replaces the original file.
Subdirectory names that contain the '/' or '' separator are supported. If you use the '' separator or wildcards, you must enclose file
names in quotes to protect them from the shell.
The mcd command can be used to establish the device and the current working directory (relative to DOS), otherwise the default is A:.
EXIT STATUS
The following exit values are returned: Success. Failure.
ENVIRONMENT VARIABLES
The following environment variables affect the execution of dos2unix: If set, this variable names the file that contains the name of the
current mtools working directory as established by the mcd command. If this variable is not set, the file $HOME/.mcwd is used.
FILES
Contains the name of the current mtools working directory as established by the mcd command. If this file does not exist, the default
mtools working directory is A:. Executable file
SEE ALSO
Commands: mcopy(1), mread(1), mtools(1) mtype(1), mwrite(1)
dos2unix(1)