03-08-2018
How would you apply / adapt what you have learned from your other threads to this new but not that different problem?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a script which loop through a directory then report any file matches the given pattern,
say, the pattern is "a2006", this file would be returned
a20061101.txt
I would like to know how can I get the remaining of the filename, so
a20061101txt - a2006 = 1101.txt
Can anybody help? Thank... (2 Replies)
Discussion started by: mpang_
2 Replies
2. UNIX for Advanced & Expert Users
HI....
It's fallow up file ..
#./show.sh click enter button.. i am gettng the fallowup file. its keep on running every time why because there are lots of users working on it.
In that file i want to search pattern between two words
for ex:
SELECT DISTINCT... (7 Replies)
Discussion started by: ksr.test
7 Replies
3. Shell Programming and Scripting
I am trying to do some thing like this ..
In a file , if pattern found insert new pattern at the begining of the line containing the pattern.
example:
in a file I have this.
gtrow0unit1/gctunit_crrownorth_stage5_outnet_feedthru_pin
if i find feedthru_pin want to insert !! at the... (7 Replies)
Discussion started by: pitagi
7 Replies
4. Shell Programming and Scripting
This is my first post, please be nice. I have tried to google and read different tutorials.
The task at hand is:
Input file input.txt (example)
abc123defhij-E-1234jslo
456ujs-W-abXjklp
From this file the task is to grep the -E- and -W- strings that are unique and write a new file... (5 Replies)
Discussion started by: TestTomas
5 Replies
5. Shell Programming and Scripting
Hello,
I need to find all *.xml files that matched by pattern on Linux. I need to have written the file name on the screen and then change the pattern in the file just was found.
For instance.
I can start the script with arguments for keyword and for value, i.e
script.sh keyword... (1 Reply)
Discussion started by: yart
1 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I am able to get next line if it is matching a particular pattern. But i need a way to skip if next line also matches same pattern..
For example:
No Records
No Records
Records found
got it
Records found
Now i want to find 'Records found' after 'No Records' pattern matches..
... (5 Replies)
Discussion started by: nagpa531
5 Replies
7. Shell Programming and Scripting
Hello please help me on this,
pick the last one hour lines from the log, which have the prefix time format like this.
log message
log message
i tried to do grep, but that failed.
my code
grep '(date +)' log_file_path
This checking only the current time stamp. How to get the log... (16 Replies)
Discussion started by: santosh2626
16 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I am trying to get a result out of this but fails please help. Have two files /tmp/1 & /tmp/hosts.
/tmp/1
IP=123.456.789.01
WAS_HOSTNAME=abcdefgh.was.tb.dsdc
/tmp/hosts
123.456.789.01
I want this result in /tmp/hosts if hostname is already there dont want duplicate entry.
... (5 Replies)
Discussion started by: rajeshwebspere
5 Replies
9. UNIX for Advanced & Expert Users
Hi,
I have a file containing records of this format. I need to show output of all header of the sets containing recn:rvn records. The sets appear in my file like below.
#set 1
header1:hv1
rec1:rv1
rec2:rv2
rec3:rv3
.......
......
recn:rn
#set 2
header1:hv1
rec1:rv1
rec2:rv2... (3 Replies)
Discussion started by: adurga
3 Replies
10. Shell Programming and Scripting
The intended result should be :
PDF converters
'empty line'
gpdftext and pdftotext?xml version="1.0"?>
xml:space="preserve"><note-content version="0.1" xmlns:/tomboy/link" xmlns:size="http://beatniksoftware.com/tomboy/size">PDF converters
gpdftext and pdftotext</note-content>... (9 Replies)
Discussion started by: Klasform
9 Replies
LEARN ABOUT MOJAVE
nfsiod
NFSIOD(8) BSD System Manager's Manual NFSIOD(8)
NAME
nfsiod -- local NFS asynchronous I/O
SYNOPSIS
nfsiod [-n num_threads]
DESCRIPTION
nfsiod is deprecated. See nfs.conf(5) for NFS configuration info.
nfsiod controls the maximum number of asynchronous I/O threads used for NFS mounts. Historically, it has consisted of a daemon that never
exits. However, asynchronous I/O requests are now serviced by threads launched on demand in the kernel and the nfsiod command simply sets
the configuration limit.
Having asynchronous I/O threads improves performance but is not required for correct operation.
The options are as follows:
-n Specify maximum number of asynchronous I/O threads to be used.
If no maximum is specified, nfsiod displays the current value. The default value is 16. A client should allow enough threads to handle its
maximum level of concurrency.
The nfsiod utility exits 0 on success, and >0 if an error occurs.
SEE ALSO
nfs.conf(5), mount_nfs(8), nfsstat(1)
HISTORY
The nfsiod utility first appeared in 4.4BSD. It's use was deprecated in Darwin 9.
BSD
October 25, 2006 BSD