Sponsored Content
Full Discussion: simple script in solaris
Top Forums Shell Programming and Scripting simple script in solaris Post 302359275 by tomjones on Tuesday 6th of October 2009 07:03:24 AM
Old 10-06-2009
./check.sh: not found

i just tried that again,
its strange why it does not work
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

simple CSH Script behaves differently on Solaris and RedHat Linux

I have a simple csh-script on a Solaris Workstaion which invokes the bc calculator: #!/bin/csh set shz=2 set zshift=5 set shzp=`bc -l <<END \ scale = 3 \ -1. * $shz + $zshift \ END` echo $shzp The result ($shzp) in this case is 3 (-1*2+5). It works fine on Solaris 8. ... (2 Replies)
Discussion started by: two reelers
2 Replies

2. Solaris

Solaris JumpStarting?... Simple Yes/No Question... Unless the answer's 'No'

I'm reading through this guide, BigAdmin Feature Article: Using Solaris JumpStart With the Solaris 10 OS for x86/x64 Platforms, and I was wondering if there was more to the bash scripts than just the example given (see above link) like for begin1 and begin2 and finish1 and finish2. I don't know... (3 Replies)
Discussion started by: Bradj47
3 Replies

3. Solaris

How to create a simple background script on Solaris

I have a local account for a unix server. The idle timeout for the account is around 10 mins. I have to login to the server multiple times during the day. Is there a way to increase the idle timeout or may be a script that I can run on background so it is not idle. Something like echo date every 9... (3 Replies)
Discussion started by: vinaysa
3 Replies

4. Solaris

IP Forwarding on Solaris 10 (should be simple, but isn't!)

I'm having a hard time getting IP forwarding to work. I'll eventually have several interfaces, but all that matters for now is that two of them actually be able to IP forward. I have no network interfaces in the global zone, but both interfaces are in the same zone, Common. The IPs I've been... (0 Replies)
Discussion started by: cfalcon
0 Replies

5. Shell Programming and Scripting

[awk] Simple things not working on Solaris 10

Hi, Don't know if this is Solaris 10 or that the shell on Solaris 10 is working against me. But this works fine on HP-UX 11i, but not on Solaris 10: # cat /tmp/test_file 1:een 2:twee 3:drie # cat /tmp/test_file | /bin/nawk 'END {print $NF}' # cat /tmp/test_file | /bin/nawk '{} END... (5 Replies)
Discussion started by: ejdv
5 Replies

6. Solaris

Two simple questions about Solaris DCHP and Samba

I have two simple questions First is :can dhcp server NATIVE of solaris perform dhcp updates of bind via dnssec like dchpd on linux? Second: Is possible to build a pdc with samba and iplanet ldap server?Or is better with openldap? I never found howto or discussions about iplanet server. Thanks (0 Replies)
Discussion started by: Linusolaradm1
0 Replies

7. Shell Programming and Scripting

Help making simple perl or bash script to create a simple matrix

Hello all! This is my first post and I'm very new to programming. I would like help creating a simple perl or bash script that I will be using in my work as a junior bioinformatician. Essentially, I would like to take a tab-delimted or .csv text with 3 columns and write them to a "3D" matrix: ... (16 Replies)
Discussion started by: torchij
16 Replies

8. Solaris

Good and simple guide to configuring DHCP on Solaris 11?

I've been learning Solaris 11 for the past couple weeks and have been curious about setting up a DHCP server. Is there a good guide to start me off? Something pretty simple that I can understand? I read Oracle's documentation on it but I want something a little easier to understand. Thanks! (1 Reply)
Discussion started by: austinramsay
1 Replies

9. Shell Programming and Scripting

Can someone please show me a very simple "expect" script to change password in Solaris please?

Ladies & Gents, Can one of you gurus please show me a very simple "expect" script to change the password in Solaris in a script, please? Nothing fancy, no error checking, no nothing. Just to change the password of a new user, it's all. Many thanks in advance. U guys have honestly earned my... (1 Reply)
Discussion started by: Hiroshi
1 Replies
File::HomeDir::Windows(3)				User Contributed Perl Documentation				 File::HomeDir::Windows(3)

NAME
File::HomeDir::Windows - Find your home and other directories on Windows SYNOPSIS
use File::HomeDir; # Find directories for the current user (eg. using Windows XP Professional) $home = File::HomeDir->my_home; # C:Documents and Settingsmylogin $desktop = File::HomeDir->my_desktop; # C:Documents and SettingsmyloginDesktop $docs = File::HomeDir->my_documents; # C:Documents and SettingsmyloginMy Documents $music = File::HomeDir->my_music; # C:Documents and SettingsmyloginMy DocumentsMy Music $pics = File::HomeDir->my_pictures; # C:Documents and SettingsmyloginMy DocumentsMy Pictures $videos = File::HomeDir->my_videos; # C:Documents and SettingsmyloginMy DocumentsMy Video $data = File::HomeDir->my_data; # C:Documents and SettingsmyloginLocal SettingsApplication Data DESCRIPTION
This module provides Windows-specific implementations for determining common user directories. In normal usage this module will always be used via File::HomeDir. Internally this module will use Win32::GetFolderPath to fetch the location of your directories. As a result of this, in certain unusual situations (usually found inside large organisations) the methods may return UNC paths such as "\cifs.localhome$". If your application runs on Windows and you want to have it work comprehensively everywhere, you may need to implement your own handling for these paths as they can cause strange behaviour. For example, stat calls to UNC paths may work but block for several seconds, but opendir() may not be able to read any files (creating the appearance of an existing but empty directory). To avoid complicating the problem any further, in the rare situation that a UNC path is returned by "GetFolderPath" the usual -d validation checks will not be done. SUPPORT
See the support section the main File::HomeDir module. AUTHORS
Adam Kennedy <adamk@cpan.org> Sean M. Burke <sburke@cpan.org> SEE ALSO
File::HomeDir, File::HomeDir::Win32 (legacy) COPYRIGHT
Copyright 2005 - 2011 Adam Kennedy. Some parts copyright 2000 Sean M. Burke. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of the license can be found in the LICENSE file included with this module. perl v5.16.3 2012-10-19 File::HomeDir::Windows(3)
All times are GMT -4. The time now is 10:20 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy