Howdie everyone...
I have a shell script RemoveFiles.sh
Inside this file, it only has two commands as below:
rm -f ../../reportToday/temp/*
rm -f ../../report/*
My problem is that when i execute this script, nothing happened. Files remained unremoved. I don't see any error message as it... (2 Replies)
I need to write a tcsh script which would compare files in the two folders and then send me a mail saying which of the files are missing.For eg
1) I have this folder1 containing all the files which must land on folder2 on a daily basis.
2) If a file is present in folder1 but not in... (6 Replies)
Hello Freinds
I have just started off with Unix (TCSH) although I have a pretty sound background with C-programming. Kindly convey any error in foll script.
#include<stdio.h>
#include<math.h>
#define PI 3.142857
main ()
{
float r, A;
printf("Enter the value of radius: ");
scanf(" %f... (12 Replies)
Hey guys...
I'm learning some shell scripting on OS X using the tcsh shell.
For some reason... my while loop isn't executing right (or more likely I am doing something wrong.)
Something as simple as this doesn't work:
#!/bin/tcsh
set g = 0
while ($g <10)
echo "this" $g
@ g =... (2 Replies)
Hi, I'm trying to break a large csv file into smaller files and use unique values for the file names. The shell script i'm using is tcsh and i'm after a gawk one-liner to get the desired outcome. To keep things simple I have the following example with the desired output.
fruitlist.csv
apples... (6 Replies)
Hi All,
I wrote a tcsh script, but being a beginner it took me lots of efforts and on top of that I am still struggling with little modifications here and there.
kindly have a loop.
Line1 : I want it to run maximum of "Max" Which I am providing outside loop. So how the "for" should be... (10 Replies)
I cant figure out how the complete function works in tcsh.
1. I whould like it to complete after writing my_program.py with either start or stop.
I have tried to do something like this in .cshrc.user:
complete my_program.py \
'c/start/' \
'c/stop/'
However i cant get it to... (1 Reply)
My script work on Linux but not work in sun os.
my script.
logFiles="sentLog1.log sentLog2.log"
intial_time="0 0"
logLocation="/usr/local/tomcat/logs/"
sleepTime=600
failMessage=":: $(tput bold)Log not update$(tput rmso) = "
successMessage="OK"
arr=($logFiles)... (7 Replies)
Hi,
I have a shell script in tcsh to which I pass an argument, the length of which can vary. The possible values of the argument are the letters -c,s,i,q,a. and also a combination of these letters. (e.g: cs,si,ca,iq,qa,csq,acs,csia ..etc). The order of the letters does not matter.
My problem... (2 Replies)
Discussion started by: Vaisakh P
2 Replies
LEARN ABOUT OSX
mountd
MOUNTD(8) BSD System Manager's Manual MOUNTD(8)NAME
mountd -- service remote NFS mount requests
SYNOPSIS
Obsolete. See nfsd(8).
DESCRIPTION
The mountd daemon was formerly the server for NFS mount requests from NFS clients. This functionality has been moved into the NFS server
daemon nfsd(8).
Please refer to nfsd(8) for NFS server documenation.
The following is a list of former mountd options that are now available as nfsd(8) options:
mountd option nfsd option Description
-n-N allow non-root mounts
-r-R allow regular file mounts
exportsfile -F exportsfile alternate exports file
However, such configuration options are normally specified via nfs.conf(5).
When the NFS server is started, it loads the export host addresses and options into the kernel using the nfssvc(2) system call. After chang-
ing the list of exports (either directly or indirectly via a change in netgroup membership), the administrator should send a hangup signal to
the nfsd daemon to get it to reload the export information:
kill -s HUP `cat /var/run/nfsd.pid`
For backwards compatibility, the following should also work:
kill -s HUP `cat /var/run/mountd.pid`
Any errors encountered while processing the export entries will be logged via syslog(3).
FILES
/etc/exports the list of exported filesystems
/var/run/mountd.pid the pid of the currently running mountd
/var/run/mountdtab the current list of outstanding mounts served
/var/run/mountdexptab
information about exported file systems and directories (UUIDs, handles, ...)
SEE ALSO nfsd(8), exports(5), nfs.conf(5), nfsstat(1), portmap(8), showmount(8)HISTORY
The mountd utility first appeared in 4.4BSD. It's functionality was merged into nfsd(8) in Darwin 9.
BSD November 10, 2006 BSD