• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Linux Questions

ding5550123

Senior member
I have a lot of questions about Debian Linux.

1. Does it acept windows files (ex *.txt, *.doc ect.)

2. Does any program run in it (Like a game that works on windows)

3. What hardware works with it (ex. wi-fi card, external floppy drive, ect)

4. Does it come with a database app

Thats it. Expect other posts.
 
Originally posted by: ding5550123
I have a lot of questions about Debian Linux.

1. Does it acept windows files (ex *.txt, *.doc ect.)

2. Does any program run in it (Like a game that works on windows)

3. What hardware works with it (ex. wi-fi card, external floppy drive, ect)

4. Does it come with a database app

Thats it. Expect other posts.

1) If you have an application that can open the files under linux, then yes.

2) Not only does linux have many native applications, but you can run many windows programs using an "emulator" called wine or the non-free cedega

3) It works with most hardware except for some odd devices and you might need to use ndiswrapper for some wifi cards

4) Yes, MySQL
 
Originally posted by: ding5550123
I have a lot of questions about Debian Linux.

1. Does it acept windows files (ex *.txt, *.doc ect.)
Anything can open a text file. OpenOffice does alright with word documents.
2. Does any program run in it (Like a game that works on windows)
As stated, some windows apps are supported through wine/cedega. Other than games you mostly can just use open source replacements.
3. What hardware works with it (ex. wi-fi card, external floppy drive, ect)
Tricky question. What've you got?
4. Does it come with a database app
Several. I'm sure postgres and mysql are in the apt repositories as well as other less well known ones.
 
Originally posted by: xeemzor
2) Not only does linux have many native applications, but you can run many windows programs using an "emulator" called wine or the non-free cedega
Wine Is Not an Emulator.
 
Originally posted by: kamper
Originally posted by: xeemzor
2) Not only does linux have many native applications, but you can run many windows programs using an "emulator" called wine or the non-free cedega
Wine Is Not an Emulator.

Hence the quotes. I know it's not an emulator, but I didn't want to confuse him and calling it an emulator is the easiest way to explain it to someone. But of course we always have to use the correct terminology to explain things to other people. :disgust:
 
Originally posted by: xeemzor
Originally posted by: kamper
Originally posted by: xeemzor
2) Not only does linux have many native applications, but you can run many windows programs using an "emulator" called wine or the non-free cedega
Wine Is Not an Emulator.

Hence the quotes. I know it's not an emulator, but I didn't want to confuse him and calling it an emulator is the easiest way to explain it to someone. But of course we always have to use the correct terminology to explain things to other people. :disgust:
Ok, I'll think about that while I'm driving my "plane" to school tomorrow 😀
 
Originally posted by: ding5550123
I have a lot of questions about Debian Linux.

1. Does it acept windows files (ex *.txt, *.doc ect.)

Linux uses a different end of line character than Windows, so text files must be converted from one system to the other. There is a utility in Linux for this, and then any editer can be used (can't recall the name though but I am sure someone here would know)

If you don't use this, all lines in a text file end up being one long line.

 
Originally posted by: kamper

Ok, I'll think about that while I'm driving my "plane" to school tomorrow 😀

I guess if you consider when Chrysler actually made a jet powered car to be a pseudo plane, then sure 😉
 
Originally posted by: xeemzor
Originally posted by: kamper

Ok, I'll think about that while I'm driving my "plane" to school tomorrow 😀
I guess if you consider when Chrysler actually made a jet powered car to be a pseudo plane, then sure 😉
Have they done it with a city bus yet? I'm gonna need a flying city bus to make this one work. 😛 (Edit: no, I don't actually drive the bus, just ride)

(Sorry OP for the horrible thread hijack. Any more questions?)
 
Linux uses a different end of line character than Windows, so text files must be converted from one system to the other. There is a utility in Linux for this, and then any editer can be used (can't recall the name though but I am sure someone here would know)

Not necessarily true. Many tools will read files with DOS line endings just fine, I know vim does and I just tested gedit and Abiword and they were fine too. They can trip up some things, like shell script won't run properly with the wrong line endings, but in general it's not a problem.

 
Originally posted by: Varun
Originally posted by: ding5550123
I have a lot of questions about Debian Linux.

1. Does it acept windows files (ex *.txt, *.doc ect.)

Windows uses a different end of line character than the rest of the world,
Fixed.
so text files must be converted from one system to the other. There is a utility in Linux for this, and then any editer can be used (can't recall the name though but I am sure someone here would know)

If you don't use this, all lines in a text file end up being one long line.
I think you're probably used to moving *nix files to windows and experiencing this problem.
 
using wordpad instead of notepad makes moving files from *nix to windows much more bearable. vi for windows is even better.

redhat (not sure about others) has a "dos2unix" and a "unix2dos" for the text files, so if you (for some odd reason) make a shell script in windows, and move it to Linux and want to run it.
 
my fav for config files is editpad lite. It can open a directory full of files all at one go, and do a "find and replace". Very handy for fixing a few things on an html website, like a changed directory, link, or phone number, etc.
 
Originally posted by: skyking
my fav for config files is editpad lite. It can open a directory full of files all at one go, and do a "find and replace". Very handy for fixing a few things on an html website, like a changed directory, link, or phone number, etc.

for file in *.whatnot; do
mv $file $file.old
sed 's/FINDSTRING/REPLACESTRING/g' $file.old > $file
rm -f $file.old
done

Pretty much. 😛

I think that Vim MAY have that functionality.. and of course emacs could do that plus email you about it and probably make you some toast if you realy realy wanted it to. 😉
 
perl -pi -e "s/\r//;" *

Originally posted by: kamper
Originally posted by: Varun
Originally posted by: ding5550123
I have a lot of questions about Debian Linux.

1. Does it acept windows files (ex *.txt, *.doc ect.)

Windows uses a different end of line character than the rest of the world,
Fixed.

Every OS-set uses different line endings. It's not like Windows is the odd-one-out. Of Mac, *nix, and Windows, each uses a different one of \r\n, \n, \n\r.

 
Originally posted by: CTho9305
perl -pi -e "s/\r//;" *

Originally posted by: kamper
Originally posted by: Varun
Originally posted by: ding5550123
I have a lot of questions about Debian Linux.

1. Does it acept windows files (ex *.txt, *.doc ect.)

Windows uses a different end of line character than the rest of the world,
Fixed.

Every OS-set uses different line endings. It's not like Windows is the odd-one-out. Of Mac, *nix, and Windows, each uses a different one of \r\n, \n, \n\r.
Alright, it was a bit of a cheap shot. But macs haven't used a different line ending for several years now.
 
Do most digital cameras support Linux?

Depends. A lot of them show up as regular USB/Firewire storage devices now so you just plug them in and mount them like a normal drive. Others have proprietary communication protocols so you need to hope that something like gphoto2 supports it if you have one of those.
 
Back
Top