Sponsored Content
Full Discussion: Development of Unix
Top Forums UNIX for Dummies Questions & Answers Development of Unix Post 302233203 by Perderabo on Saturday 6th of September 2008 05:28:39 PM
Old 09-06-2008
I won't be dragged into a windows verses unix discussion. I'm a Unix guy but my company uses both and so Windows expertise is valuable to me. This includes the ability to script on Windows and that is why a discussion about Powershell is interesting. Mostly I script in bat files on Windows, but when XP came out, I took the trouble to learn VBS/WSH as well. VBS is a powerful language, but Microsoft seems to have pulled the plug on it and introduced Powershell instead. I am reluctant to learn another language that may be discarded in a few months. Is Powershell really worth learning?
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Unix Serial Driver Development

Hi Friends, I have an immediate requiement to develop a virtual serial communication driver for UNIX based system. The driver should be able to receive all the data, transmitted through the serial port. My goal is to get all the data transmitted through the serial port, do some modification in... (1 Reply)
Discussion started by: santhoshac
1 Replies

2. UNIX for Dummies Questions & Answers

Need Help !....pls i require All n Everything About Unix -History,Development..evrthg

i need to know abt Unix Development,History,Features n Everything..... :confused: (2 Replies)
Discussion started by: Shank
2 Replies

3. Shell Programming and Scripting

Difference between development and Production unix servers for a application??

Hi all I am running a major script of my application in development for implementing code changes for process improvement in time. The script runs in production once in a month . It takes 8 hours 30 mins in Production server . what surprice me is , when I run the same script in development server... (9 Replies)
Discussion started by: sakthifire
9 Replies

4. UNIX for Dummies Questions & Answers

Best development language to monitor the unix server

Hi, I am supposed to create the website to perform some monitoring and management activities on unix server. Activities includes cpu usage,displays currently runing processes,deleting files on the server and so on. Please tell which is best web based language(.net or java) to develop... (6 Replies)
Discussion started by: S_venkatesh
6 Replies

5. What is on Your Mind?

Move From Unix Administration to Development???

Hi Guys, I am into unix administration past few years, i am interested in development, Purely from the Job Market View, should i shift from administration and move to development, will it reduce the options i have (i mean not many companies are into development) Suggestions/Opinions ??? (4 Replies)
Discussion started by: mpdevul
4 Replies

6. Shell Programming and Scripting

scope of oracle plsql development /unix shell scripting

I am working in production support in an leading bank and more of my job is more in oracle/plsql. I am learning unix shell scripting and have started development in the same.I would like to know regarding the scope of these two in the industry.Also would like to know about other scripting... (2 Replies)
Discussion started by: jesthomas
2 Replies

7. What is on Your Mind?

UNIX Admin rail roaded to be java/jboss guy for development

Any Unix Admins out there who were tasked with upgrading and maintaining java/jboss installs and possibly related apps? How did it work out? Any tools to allow developers to tweak their java settings, like a console? I just started looking into this, if anyone has experience I'd appreciate... (0 Replies)
Discussion started by: allenhibbert
0 Replies

8. Shell Programming and Scripting

Switching from production to development envirornment in UNIX

I had a unix scripts in prod. I need to made changes in those scripts which I don't have the edit access. I need to move those scripts from prod to dev to edit. Please tell me how to switch from production to development, So that I can made changes in dev and again move those scripts to Prod. ... (3 Replies)
Discussion started by: Rajeswararao
3 Replies

9. Linux

UNIX Utility Development Conventions?

I'm slowly hacking away at a zsh script that shows some promise as a command line tool. I want to learn more about the conventions regarding command line tool development in Unix (and/or macOS), but don't really know where to look for this information. What is the correct way, or convention, to... (2 Replies)
Discussion started by: MonilGomes
2 Replies
File::Which(3)						User Contributed Perl Documentation					    File::Which(3)

NAME
File::Which - Portable implementation of the `which' utility SYNOPSIS
use File::Which; # exports which() use File::Which qw(which where); # exports which() and where() my $exe_path = which('perldoc'); my @paths = where('perl'); - Or - my @paths = which('perl'); # an array forces search for all of them DESCRIPTION
"File::Which" was created to be able to get the paths to executable programs on systems under which the `which' program wasn't implemented in the shell. "File::Which" searches the directories of the user's "PATH" (as returned by "File::Spec->path()"), looking for executable files having the name specified as a parameter to "which()". Under Win32 systems, which do not have a notion of directly executable files, but uses special extensions such as ".exe" and ".bat" to identify them, "File::Which" takes extra steps to assure that you will find the correct file (so for example, you might be searching for "perl", it'll try perl.exe, perl.bat, etc.) Steps Used on Win32, DOS, OS2 and VMS Windows NT Windows NT has a special environment variable called "PATHEXT", which is used by the shell to look for executable files. Usually, it will contain a list in the form ".EXE;.BAT;.COM;.JS;.VBS" etc. If "File::Which" finds such an environment variable, it parses the list and uses it as the different extensions. Windows 9x and other ancient Win/DOS/OS2 This set of operating systems don't have the "PATHEXT" variable, and usually you will find executable files there with the extensions ".exe", ".bat" and (less likely) ".com". "File::Which" uses this hardcoded list if it's running under Win32 but does not find a "PATHEXT" variable. VMS Same case as Windows 9x: uses ".exe" and ".com" (in that order). Functions which($short_exe_name) Exported by default. $short_exe_name is the name used in the shell to call the program (for example, "perl"). If it finds an executable with the name you specified, "which()" will return the absolute path leading to this executable (for example, /usr/bin/perl or C:PerlBinperl.exe). If it does not find the executable, it returns "undef". If "which()" is called in list context, it will return all the matches. where($short_exe_name) Not exported by default. Same as "which($short_exe_name)" in array context. Same as the `where' utility, will return an array containing all the path names matching $short_exe_name. BUGS AND CAVEATS
Not tested on VMS or MacOS, although there is platform specific code for those. Anyone who haves a second would be very kind to send me a report of how it went. File::Spec adds the current directory to the front of PATH if on Win32, VMS or MacOS. I have no knowledge of those so don't know if the current directory is searced first or not. Could someone please tell me? SUPPORT
Bugs should be reported via the CPAN bug tracker at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=File-Which <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=File-Which> For other issues, contact the maintainer. AUTHOR
Adam Kennedy <adamk@cpan.org> Per Einar Ellefsen <pereinar@cpan.org> Originated in modperl-2.0/lib/Apache/Build.pm. Changed for use in DocSet (for the mod_perl site) and Win32-awareness by me, with slight modifications by Stas Bekman, then extracted to create "File::Which". Version 0.04 had some significant platform-related changes, taken from the Perl Power Tools `which' implementation by Abigail with enhancements from Peter Prymmer. See <http://www.perl.com/language/ppt/src/which/index.html> for more information. COPYRIGHT
Copyright 2002 Per Einar Ellefsen. Some parts copyright 2009 Adam Kennedy. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. SEE ALSO
File::Spec, which(1), Perl Power Tools: <http://www.perl.com/language/ppt/index.html>. perl v5.16.2 2009-09-26 File::Which(3)
All times are GMT -4. The time now is 03:55 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy