05-02-2008
version management tool......
I changed the script like this
#!/usr/bin/bash
mkdir `date '+%m-%d-%y'`
cd `date '+%m-%d-%y'`
source .profile
export CVSROOT=server:sgullapalli@linux1:/polaris/local/cvsroot
/opt/sfw/bin/cvs co -r br_name module
cd dir1/dir2/dir3
bash build.sh
but now i'm getting errors like:
sh: source: not found
sh: CVSROOT=server:sgullapalli@linux1:/polaris/local/cvsroot: is not an identifier
10 More Discussions You Might Find Interesting
1. Solaris
sorry,my english is poor.
who can install win2003 and solaris10 in one pc ?
my win2000server in hda1
so
frist install win2003 in hda5
second install solaris10 in hda2
but after install over,the win2003 can't logon in. alway let me press<ctrl>+<alt>+<del>.
why? (1 Reply)
Discussion started by: keyi
1 Replies
2. UNIX for Advanced & Expert Users
I have an E420 server that has a TPE Slot / NIC installed.
However there is no interface file installed eg /etc/hostname.hme0 or equivalent.
I have placed a private ip entry int the hosts file to accompany the loop back entry i.e.
127.0.0.1 localhost
172.16.0.10 loghost se420
... (1 Reply)
Discussion started by: jimthompson
1 Replies
3. IP Networking
I have an E420 server that has a TPE Slot / NIC installed.
However there is no interface file installed eg /etc/hostname.hme0 or equivalent.
I have placed a private ip entry int the hosts file to accompany the loop back entry i.e.
127.0.0.1 localhost
172.16.0.10 loghost se420
... (1 Reply)
Discussion started by: jimthompson
1 Replies
4. UNIX for Dummies Questions & Answers
I just download solaris 10, from sun.com, I have them ziped in my HD,
How can I install them, so I can run solaris10, my present os is RH9;
THANKS (5 Replies)
Discussion started by: mxlst14
5 Replies
5. Solaris
Hello all.
I am a new user Solaris10, on a sunblade100. And I need help.
How to send an e-mail on command line under solaris 10 ?
I try mailx-s "subject" snacks@yahoo.fr without success.
I would like to know why?
What files do I configure?
Thank you in advance.
best regards. (3 Replies)
Discussion started by: SnackS
3 Replies
6. Solaris
hi to all,
I am newuser can anyone tell me from where i get the sun solaris 10 dumps.
plz mail me at (no email addresses - read the RULES of these forums) (2 Replies)
Discussion started by: quickgun
2 Replies
7. Solaris
Hi All
How can we verify if any of the parameters we have change in Solaris10 after reboot. Like is there any command? Please advice
Thanks (3 Replies)
Discussion started by: imran721
3 Replies
8. Solaris
On one of our server inetd service has stuck in transition state , tried restarting it but it does not do any thing and there is no associated inetd process for the same , how can i start it .. w/o rebooting it
svcs inetd
STATE STIME FMRI
online* 16:44:55... (3 Replies)
Discussion started by: fugitive
3 Replies
9. Solaris
Technical Prose: Solaris integration with Active Directory - Part I
follow this guide,install solarisgcc,and dev libraries required.
But after configure i get
checking for res_search... yes
checking for krb5_init_context in -lkrb5... yes
checking for ldap_initialize in -lldap... yes... (0 Replies)
Discussion started by: Linusolaradm1
0 Replies
10. Solaris
I want to run solaris10 with my pxelinux server
i put on pxelinux.cfg/default this
LABEL solaris 10
kernel mboot.c32
append -solaris solaris/boot/platform/i86pc/kernel/unix -v -m verbose install dhcp nowin nfs://192.168.0.2/jumpstart/config.tar -B install_media=192.168.0.2:/solaris... (0 Replies)
Discussion started by: Linusolaradm1
0 Replies
LEARN ABOUT OPENSOLARIS
setusershell
getusershell(3C) Standard C Library Functions getusershell(3C)
NAME
getusershell, setusershell, endusershell - get legal user shells
SYNOPSIS
#include <unistd.h>
char *getusershell(void);
void setusershell(void);
void endusershell(void);
DESCRIPTION
The getusershell() function returns a pointer to a legal user shell as defined by the system manager in the file /etc/shells. If
/etc/shells does not exist, the following locations of the standard system shells are used in its place:
/bin/bash /bin/csh
/bin/jsh /bin/ksh
/bin/ksh93 /bin/pfcsh
/bin/pfksh /bin/pfsh
/bin/sh /bin/tcsh
/bin/zsh /sbin/jsh
/sbin/pfsh /sbin/sh
/usr/bin/bash /usr/bin/csh
/usr/bin/jsh /usr/bin/ksh
/usr/bin/ksh93 /usr/bin/pfcsh
/usr/bin/pfksh /usr/bin/pfsh
/usr/bin/sh /usr/bin/tcsh
/usr/bin/zsh /usr/sfw/bin/zsh
/usr/xpg4/bin/sh
The getusershell() function opens the file /etc/shells, if it exists, and returns the next entry in the list of shells.
The setusershell() function rewinds the file or the list.
The endusershell() function closes the file, frees any memory used by getusershell() and setusershell(), and rewinds the file /etc/shells.
RETURN VALUES
The getusershell() function returns a null pointer on EOF.
BUGS
All information is contained in memory that may be freed with a call to endusershell(), so it must be copied if it is to be saved.
NOTES
Restricted shells should not be listed in /etc/shells.
SunOS 5.11 1 Nov 2007 getusershell(3C)