02-16-2007
Hi
I tried dos2unix and unix2dos in Linux and it worked.
Regarding CygWin, I think its a great program to practice basic Unix commands but I was looking for something that tightly integrates with the DOS command prompt.
By this I mean, if I start at c:\> of DOS I should be able to type ls and see a Unix like listing of directories. Or if I tab, it auto completes the rest of the file name.
My manager installed a program like that at my previous employer, but I should have made a note of what program he used.
He would type Unix commands on DOS as if it were a Unix machine.
I'll try out the other emulators and see how they work. So far I've only tried Cygwin and VIM for Windows.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Is there some way I could run UNIX in a window by itself on a Win2K PC? I have to use this PC at work, and I'd like to run UNIX in the background, so I can learn the system during the inevitable lulls (my job is boring as hell).
Any help would be appreciated...thanks! (7 Replies)
Discussion started by: liquidcross
7 Replies
2. UNIX Desktop Questions & Answers
I now that there are emulators like WINE and NetTerm, and even Hummingbird is a good on as well, but are there any emulators for Windows to emulate UNIX???:confused: I am looking to brush up on my UNIX skills, but I cannot afford to by a small UNIX workstation right now. Anyone got any... (8 Replies)
Discussion started by: MIRV
8 Replies
3. Solaris
Hi all, I guess I'm going to get lots of annoyed people asking about windows on a unix forum but here goes.
I have a win XP machine and need to run some sofware that was written on and compiled on a sun os 3 machine. Does anyone know of any emulators that will run in the windows enviromment to... (2 Replies)
Discussion started by: northernalex
2 Replies
4. UNIX for Dummies Questions & Answers
iam new to unix , i would like to practice unix commands at home, can anyone help me to know if there are any emulators that i can download to practice or any trial versions that can be installed to practice.
Regards
dep (1 Reply)
Discussion started by: dep
1 Replies
5. Solaris
Hi to everybody!!
Being an Amiga junkie for almost 20 years, I recently decided to start learning a couple of thing about UNIX.
My first hardware choice was a Sun U10 and than a U60!
Have managed so far to set up the machines to work well with Solaris9, they really are very good but I miss my... (0 Replies)
Discussion started by: kokkiklhs
0 Replies
6. Windows & DOS: Issues & Discussions
I have been using NetTerm on various Windows flavors for a while and have just run into a problem with printer passthru (transparent printing) that I can analyse but not resolve.
The setup is a Epson TM60 POS Label Printer connected XON/XOFF via COM1 on a Win98SE system. This is controlled... (3 Replies)
Discussion started by: MickZA
3 Replies
7. UNIX for Dummies Questions & Answers
My situation is that we have production unix scripts that ftp files over to a windows server. I'm not sure if its a 2000 or 2003 server as I dont work on server, more on the unix side. It turns out that they are changing servers on the network. So they are migrating our data over from say Server 1... (1 Reply)
Discussion started by: NycUnxer
1 Replies
8. AIX
Hi Friends,
I have this script for ftping files from AIX server to local windows xp.
#!/bin/sh
HOST='localsystem.net'
USER='myid_onlocal'
PASSWD='mypwd_onlocal'
FILE='file.txt' ##This is a file on server(AIX)
ftp -n $HOST <<END_SCRIPT
quote USER $USER
quote PASS $PASSWD
put $FILE... (1 Reply)
Discussion started by: rajsharma
1 Replies
9. UNIX for Dummies Questions & Answers
I have searched and searched this topic but without looking at source code ; my next step maybe , I find the same ambiguous information.
My main question is how is the target code translated? It is stated that there are variables created that hold the data that the emulated CPU would hold in... (12 Replies)
Discussion started by: theKbStockpiler
12 Replies
10. Shell Programming and Scripting
hi guys,
i need a script to sftp the file from windows to unix server ....(before that i have to check whether the file exists in the windows server or not
and again i have to reverse sftp the files from unix to windows server.....
regards,
Vasa Saikumar. (13 Replies)
Discussion started by: hemanthsaikumar
13 Replies
LEARN ABOUT DEBIAN
linux::distribution::packages
Linux::Distribution::Packages(3pm) User Contributed Perl Documentation Linux::Distribution::Packages(3pm)
NAME
Linux::Distribution::Packages - list all packages on various Linux distributions
SYNOPSIS
use Linux::Distribution::Packages qw(distribution_packages distribution_write);
$linux = new Linux::Distribution::Packages({'format' => 'csv', 'output_file' => 'packages.csv'});
$linux->distribution_write();
# Or you can (re)set the options when you write.
$linux->distribution_write({'format' => 'xml', 'output_file' => 'packages.xml'});
# If you want to reload the package data
$linux->distribution_packages();
DESCRIPTION
This is a simple module that uses Linux::Distribution to guess the linux distribution and then uses the correct commands to list all the
packages on the system and then output them in one of three formats: native, csv, and xml.
Distributions currently working: debian, ubuntu, fedora, redhat, suse, gentoo, slackware, redflag.
The module inherits from Linux::Distribution, so can also use its calls.
EXPORT
None by default.
TODO
* Add the capability to correctly get packages for all recognized distributions. * Seperate out parsing from writing. Parse data to hash
and give access to hash. Then write the formatted data from the hash.
AUTHORS
Judith Lebzelter, <judith@osdl.org> Alberto Re, <alberto@accidia.net>
COPYRIGHT AND LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.5 or,
at your option, any later version of Perl 5 you may have available.
perl v5.10.1 2006-04-19 Linux::Distribution::Packages(3pm)