Hi guys,
i have a script called readnametest.i had written like this
# !/bin/ksh
echo "enter your name please"
read x;
echo " your name is $x"
i am getting an error like "readnametest.ksh: ^M: not found." while executing this one.Could any one please explain me on why this... (4 Replies)
Hi,
I am beginer to Linux. I have installed Redhat Linux AS 4.0 on my System.Later I created a User Oracle10g for Installing Oracle.Then I logged onto Oracle10g user and crated a Bash Profile and when I run that profile there was an error in that Profile. from then If I type any of Linux Command... (2 Replies)
Hello everyone,
I am using Linux and tcsh shell. I am trying to run a free open source program( which is in the form of a binary file), but every time I run it it gives me an error saying:
newhtsg_v1.0:Command not found.
I have set permission also for the same.
What else can I do to make... (4 Replies)
hello
every time i run the following code
for val in fileX fileY fileZ
do
$val=`ls -l $val | awk '{print $5}'`
done
i got error message command not found , i tried to add ' and " but nothing works
its only worked wen remove $val=
but i want the name of the file and the value
... (9 Replies)
I have Suse linux-2.6.31.5-0.1.
When I try to set breakpoint in application or kernel modules it gives me command not found error.
For instance
when I typed the command
b xyz.c:47
it gives me an error:
"If 'b' is not a typo you can use command-not-found lookup the package that contains... (4 Replies)
I installed in VM the Mandriva Linux.
But when I fire the make command it gives me command not found error.
Seems make is not installed.
I also checked in Mandriva control center and no development package is seen there.
Will pls let me know how to proceed and get make and other development... (2 Replies)
can any1 please tell me what is problem with following code:
i=1;
cat test| while read CMD;
do
Var$i=$CMD; or Var$i=$(echo $CMD) ;
let i++
doneI keep getting error :
line 4: Var1=sometext: command not found (2 Replies)
$ cat nu
who | wc -l
$ ls -l nu
-rwxr-x--- 1 _ _ 11 Jul 30 12:37 nu //the nu is displayed in green color
$ nu
bash: nu: command not found
I am using a book from 1986 on Unix System V, Release 3, and the Unix system I am connecting to is from my college.
Below is the notes from the book:... (4 Replies)
Could you let me know if my path is having bourne bash
echo $PATH
/u01/app/oracle/product/10.2.0/db_1/bin:/usr/sbin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/oracle/bin
$ which bash
/bin/bash
$ which ls
alias ls='ls --color=tty'
/bin/ls
Below is... (3 Replies)
Hi ,
I am an Oracle developer. trying to write a shell script to compile all the forms that are modified in last 1 hour.
Script Body
cat cmp.sh
for f in `find ./*fmb* -mmin -60`; do "`frmcmp_batch.sh userid=ba/ba@testdb batch=yes module=$f module_type=form compile_all=yes... (2 Replies)
Discussion started by: imrandec85
2 Replies
LEARN ABOUT PHP
fs_newcell
FS_NEWCELL(1) AFS Command Reference FS_NEWCELL(1)NAME
fs_newcell - Changes the kernel-resident list of a cell's database servers
SYNOPSIS
fs newcell -name <cell name> -servers <primary servers>+
[-linkedcell <linked cell name>] [-help]
fs n -n <cell name> -s <primary servers>+
[-l <linked cell name>] [-h]
DESCRIPTION
The fs newcell command removes the Cache Manager's kernel-resident list of database server machines for the cell specified by the -name
argument and replaces it with the database server machines named by the -servers argument.
Each time the machine reboots, the Cache Manager constructs the kernel list of cells and database server machines by reading the local
/etc/openafs/CellServDB file. This command does not change the CellServDB file, so any changes made with it persist only until the next
reboot, unless the issuer also edits the file. The output of the fs listcells command reflects changes made with this command, because that
command consults the kernel-resident list rather than the CellServDB file.
This command can introduce a completely new cell into the kernel-resident list, but cannot make a cell inaccessible (it is not possible to
remove a cell's entry from the kernel-resident list by providing no values for the -server argument). To make a cell inaccessible, remove
its entry from the CellServDB file and reboot the machine.
If the -name argument names a DCE cell, then the -servers argument names DFS Fileset Location (FL) Server machines. The -linkedcell
argument specifies the name of the AFS cell to link to a DCE cell for the purpose of DFS fileset location.
CAUTIONS
Some commands, such as the aklog or klog.krb5 commands, work correctly only when the information is accurate for a cell in both the
CellServDB file and the kernel-resident list.
OPTIONS -name <cell name>
Specifies the fully-qualified cell name of the AFS or DCE cell.
-servers <primary servers>+
Specifies the fully-qualified hostnames of all AFS database server machines or DFS Fileset Location (FL) Server machines for the cell
named by the -name argument. If FL Server machines are specified, the local machine must be running the AFS/DFS Migration Toolkit
Protocol Translator.
-linkedcell <linked cell name>
Specifies the name of the AFS cell to link to a DCE cell for the purpose of DFS fileset location.
-help
Prints the online help for this command. All other valid options are ignored.
EXAMPLES
The following example changes the machine's kernel-resident list of database server machines for the ABC Corporation cell to include the
machines "db1.abc.com" and "db2.abc.com":
% fs newcell -name abc.com -servers db1.abc.com db2.abc.com
The following example links the DCE cell "dce.abc.com" to the AFS cell "abc.com". The AFS client contacts the Fileset Location (FL) servers
"db1.dce.abc.com" and "db2.dce.abc.com" for fileset location information as it interprets a DFS pathname.
% fs newcell -name dce.abc.com
-servers db1.dce.abc.com db2.dce.abc.com
-linkedcell abc.com
PRIVILEGE REQUIRED
The issuer must be logged in as the local superuser root.
SEE ALSO CellServDB(5), fs_listcells(1)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 FS_NEWCELL(1)