05-12-2010
Put that startup.sh file in .bashrc file.
which is in your home directory.
This User Gave Thanks to posix For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am trying to install GCC-3.1.1 on an SGI Indigo2. I already have MIPSpro 7.2.1 installed. However, when I try to configure GCC-3.1.1, I get the message "cc ERROR: cc -o conftest -g failed, You must set the environment variable CC to a working compiler."
What is the name of the MIPSpro c++... (1 Reply)
Discussion started by: mdbanas
1 Replies
2. Programming
I am trying to install GCC-3.1.1 on an SGI Indigo2. I already have MIPSpro 7.2.1 installed. However, when I try to configure GCC-3.1.1, I get the message "cc ERROR: cc -o conftest -g failed, You must set the environment variable CC to a working compiler."
What is the name of the MIPSpro c++... (1 Reply)
Discussion started by: mdbanas
1 Replies
3. UNIX for Dummies Questions & Answers
I want to set a variable to be any number of dashes. Rather than doing the following:
MYVAR="------------------"
I'd like to be able to set the variable to, say, 80 dashes but don't want to have to count 80 dashes. Is there a way to do this? (2 Replies)
Discussion started by: photh
2 Replies
4. Shell Programming and Scripting
L=0
cat test.sh | while read line
do
L='expr $1 + 1'
echo $L
done
echo $l
>>> the echo $L at the end produces 0 but i actually want it to produce the number of lines - any idea why this is happening? (16 Replies)
Discussion started by: penfold
16 Replies
5. Shell Programming and Scripting
How do you set a varible with information that contains a string and also another variable? For example:
subject="Attention: $name / This $type needs your attention"
The $xxxx are of course other variables that I instantiated earlier. Is it like Java where you have to use double quotes and... (1 Reply)
Discussion started by: briskbaby
1 Replies
6. UNIX for Dummies Questions & Answers
In my script, I have the following command....
du -sk `ls -ltd sales12|awk '{print $11}'`|awk '{print $1}'
it returns the value
383283
I want to modify my script to capture that value into a variable. So, I try doing the following...
var1=`du -sk `ls -ltd sales12|awk '{print... (5 Replies)
Discussion started by: tumblez
5 Replies
7. Shell Programming and Scripting
I am working within a while loop and i am trying to set a variable that will read out each count of the files. the problem is the count variable i have set up gives me a total and not the individual count of each file. in the data area there is 4 abc.dat and 1 def.dat.
how can i do this???
... (2 Replies)
Discussion started by: Pablo_beezo
2 Replies
8. Shell Programming and Scripting
I have the following script and would like to know how to set the variable correctly.
FTP downloads the .rpm to the current directory, so the RPM command needs to know the directory it is in.
I could use ./test-application-1.0.i386.rpm to execute the command, but is there a way to set the... (6 Replies)
Discussion started by: nolamiami
6 Replies
9. UNIX for Advanced & Expert Users
Is there anyway in which i can set a permanent global variable in unix, which when initialised with a value and modified during any shell script, would retain its value even if i logout and login
I dont know whether i am being able to express my need clearly but basically what i want is a... (3 Replies)
Discussion started by: arindamlive
3 Replies
10. Shell Programming and Scripting
I need to pass letter like "c" for "-copy" and need to read by variable $sel_mod, My I know the good way of writing the script.
Example:
Select one of the Clone Mode ( '-copy', '-differential', '-precopy', '-nopcopy')
Type the Clone mode : c
Thanks in advance,
Ashan
... (6 Replies)
Discussion started by: ashanabey
6 Replies
LEARN ABOUT XFREE86
bos_startup
BOS_STARTUP(8) AFS Command Reference BOS_STARTUP(8)
NAME
bos_startup - Starts a process without changing its status flag
SYNOPSIS
bos startup -server <machine name> [-instance <instances>+]
[-cell <cell name>] [-noauth] [-localauth] [-help]
bos startu -s <machine name> [-i <instances>+]
[-c <cell name>] [-n] [-l] [-h]
DESCRIPTION
The bos startup command starts, on the server machine named by the -server argument, either:
o All AFS server processes not currently running but marked with the "Run" status flag in the /etc/openafs/BosConfig file.
o Each process specified by -instance argument, even if its status flag in the BosConfig file is "NotRun".
To start a process and set its BosConfig status flag to "Run", use the bos start command instead.
OPTIONS
-server <machine name>
Indicates the server machine on which to start processes. Identify the machine by IP address or its host name (either fully-qualified
or abbreviated unambiguously). For details, see bos(8).
-instance <instances>+
Names each process to start. Use the process name assigned with the -instance argument to the bos create command. The output from the
bos status command lists the names.
-cell <cell name>
Names the cell in which to run the command. Do not combine this argument with the -localauth flag. For more details, see bos(8).
-noauth
Assigns the unprivileged identity "anonymous" to the issuer. Do not combine this flag with the -localauth flag. For more details, see
bos(8).
-localauth
Constructs a server ticket using a key from the local /etc/openafs/server/KeyFile file. The bos command interpreter presents the ticket
to the BOS Server during mutual authentication. Do not combine this flag with the -cell or -noauth options. For more details, see
bos(8).
-help
Prints the online help for this command. All other valid options are ignored.
EXAMPLES
The following command starts all processes marked with status flag "Run" in the BosConfig file on the machine "fs3.abc.com" that are not
currently running.
% bos startup fs3.abc.com
The following command starts the buserver, kaserver, ptserver, and vlserver processes running on the machine "db2.abc.com", even if their
status flags in the BosConfig file are "NotRun".
% bos startup -server db2.abc.com
-instance buserver kaserver ptserver vlserver
PRIVILEGE REQUIRED
The issuer must be listed in the /etc/openafs/server/UserList file on the machine named by the -server argument, or must be logged onto a
server machine as the local superuser "root" if the -localauth flag is included.
SEE ALSO
BosConfig(5), KeyFile(5), UserList(5), bos(8), bos_create(8), bos_start(8), bos_status(8)
COPYRIGHT
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas
Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.
OpenAFS 2012-03-26 BOS_STARTUP(8)