Hi,
Thanks to all you folks (KevinADC, hansini, pludi) for giving me direction.
Iam not using any extensive perl stuff. Only basics or may be small part of perl.(Iam yet to go in for big programs, though!!)
Below is the perl part iam using on unix. I have put these contents in a shell script and running it. This saves my time (by opening in vi, editing, saving).
I plan to use the same on windows too.(Just editing a file contents).
The file contents in the shell script on unix (just the perl part) iam giving below:
I shall update how it works on windows after i download and install perl on windows. I hope i will create a batch script and put in these contents and check the same.
thanks for your help, i didnt realise you could download the operating system from sun.com:D
Ive just had a new hard drive installed 20 GIG for unix and x windows. How can i connect this hard drive for unix and x windows only? and are there any helpful tutorials for starters??
Many thanks (4 Replies)
i want to install ScO UNIX 5.1 in a windows 98 system.
i want it as a DUAL BOOT system. can i doit? If yes How.
and also i want to network unix with my clients. is it poosible to network both unix & windows thru a single network card.
if yes how?
also i wanted to know that thru a switch can i... (3 Replies)
Hello,
Can someone please tell me if it is possible to install a Unix Os on a system that already has a Windows XP? If so, how do i go about it doing it?: (6 Replies)
I used the following commands to store the discription of "sed" into a unix file:
man sed > sed.txt
But, after I download the file "sed.txt" to a Windows XP system, the file can not be displayed correctly. How to change the format of a Unix file to a Windows one? (5 Replies)
I have very basic question:
I have 2 windows sytem & 1 Unix system & wanted to put all three system into one network to each other.
what kind of other hardware I need? like cable , router?
can anybody tell me the configuration? like how to connect to external hardware to put into network?
... (9 Replies)
Hi,
I am a new member here. I am in my final year of engineering in Computer & Information Systems. Wanted to know, how file management is done in both windows and unix. Kindly, tell me anyone who knows it in detail, or has any links regarding it.
Thanks (1 Reply)
i need to ftp a file from windows to a unix machine by executing a sript(perl/shell/php) from that unix machine.i can also use HTML and javascript to build forms. (3 Replies)
Guys,
sftp between Unix & Windows
I'd like to get good software or a way to how to configure sftp between ( windows to Unix ) and ( Unix to windows ) to be automatic login between the different operating systems without asking password ..
Pls assist in this regard … (3 Replies)
Pl. let me know whether Sun Solaris Server (Unix OS) is compatible with Windows Server or Vise Versa. Can i update the data first in Windows Server and then copied it to Sun Solaris Server or Vise Versa. (1 Reply)
I am not too familiar with linux, so please keep that in mind while reading this post. We have a few linux servers joined to the domain, and linux services for windows running. I have a user that can connect to one linux server, but not another.
I ran the cat /etc/passwrd and noticed the user... (0 Replies)
Discussion started by: dcatcha
0 Replies
LEARN ABOUT CENTOS
perl::ostype
Perl::OSType(3) User Contributed Perl Documentation Perl::OSType(3)NAME
Perl::OSType - Map Perl operating system names to generic types
VERSION
version 1.003
SYNOPSIS
use Perl::OSType ':all';
$current_type = os_type();
$other_type = os_type('dragonfly'); # gives 'Unix'
DESCRIPTION
Modules that provide OS-specific behaviors often need to know if the current operating system matches a more generic type of operating
systems. For example, 'linux' is a type of 'Unix' operating system and so is 'freebsd'.
This module provides a mapping between an operating system name as given by $^O and a more generic type. The initial version is based on
the OS type mappings provided in Module::Build and ExtUtils::CBuilder. (Thus, Microsoft operating systems are given the type 'Windows'
rather than 'Win32'.)
USAGE
No functions are exported by default. The export tag ":all" will export all functions listed below.
os_type()
$os_type = os_type();
$os_type = os_type('MSWin32');
Returns a single, generic OS type for a given operating system name. With no arguments, returns the OS type for the current value of $^O.
If the operating system is not recognized, the function will return the empty string.
is_os_type()
$is_windows = is_os_type('Windows');
$is_unix = is_os_type('Unix', 'dragonfly');
Given an OS type and OS name, returns true or false if the OS name is of the given type. As with "os_type", it will use the current
operating system as a default if no OS name is provided.
SEE ALSO
o Devel::CheckOS
SUPPORT
Bugs / Feature Requests
Please report any bugs or feature requests through the issue tracker at <https://github.com/dagolden/perl-ostype/issues>. You will be
notified automatically of any progress on your issue.
Source Code
This is open source software. The code repository is available for public review and contribution under the terms of the license.
<https://github.com/dagolden/perl-ostype>
git clone git://github.com/dagolden/perl-ostype.git
AUTHOR
David Golden <dagolden@cpan.org>
CONTRIBUTORS
o Jonas B. Nielsen <jonasbn@hoarfrost.local>
o Paul Green <Paul.Green@stratus.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2013 by David Golden.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.16.3 2013-03-20 Perl::OSType(3)