Sponsored Content
Full Discussion: simple script in solaris
Top Forums Shell Programming and Scripting simple script in solaris Post 302359235 by tomjones on Tuesday 6th of October 2009 05:35:46 AM
Old 10-06-2009
simple script in solaris

i am using
SunOS ReportServer 5.8 Generic_108528-29 sun4u sparc SUNW,Sun-Blade-2500

and i just wrote a simple script like below:

#!/sbin/sh

df -k

exit 0

when i run it i get response as below

check.sh: not found

please what am i doing wrong
 

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
bscv(7D)							      Devices								  bscv(7D)

NAME
bscv, bscbus, i2bsc - Blade support chip interface driver DESCRIPTION
The bscv, bscbus and i2bsc drivers interface with the Blade support chip used on Sun Microsystem's Blade server products. These drivers provide a conduit for passing control, environmental, cpu signature and event information between Solaris and the Blade support chip. These drivers do not export public interfaces. Instead they make information available via picl, prtdiag, prtfru and related tools. In addition, these drivers log Blade support chip environmental event information into system logs. FILES
/platform/sun4u/kernel/drv/sparcv9/bscbus 64-bit ELF kernel driver /platform/sun4u/kernel/drv/sparcv9/bscv 64-bit ELF kernel driver /platform/sun4u/kernel/drv/sparcv9/i2bsc 64-bit ELF kernel driver /platform/i86pc/kernel/drv/bscbus 32-bit ELF kernel file (x86 only) /platform/i86pc/kernel/drv/bscv 32-bit ELF kernel file (x86 only) ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ |ATTRIBUTE TYPE |ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Architecture |Limited to systems with | | |Blade Support Chip | +-----------------------------+-----------------------------+ |Availability |SUNWcar.u, SUNWcar.i | +-----------------------------+-----------------------------+ SunOS 5.10 22 August 2003 bscv(7D)
All times are GMT -4. The time now is 01:18 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy