If I have string { I_love_shell_scripts}
anyone knows how to have output {stpircs_llehs_evol_I}
by using shell and perl ?I know in perl, there is reverse() funcation, but
can it be done by not using reverse()? (3 Replies)
Hi ,
I want to change the order of a string using sed command . Is it possible ?
$echo "abc123xyz" | sed 's/\()*\) \(*\)/\2\1/'
abc123xyz
$ echo "abc123xyz" |sed 's/\()*\) \(*\) \()*\)/\2\1\3/'
abc123xyz
I want to change the string ,
abc123xyz as
xyz123abc .
Is it... (5 Replies)
Hi,
I would like to create a daily incremental backup of a directory with all of the files within and add a timestamp (year-month-day) to the tar.gz file.
I have the following, but it doesn't backup the inside files of the directory.
#!/bin/bash
tar -czf... (1 Reply)
let says, i have this number as 000002080, i want to add 1 to make it 000002081, and then i want to add 1 to 000002082, add 1 to 000002083, 84.
i=000002080
TOT=$(echo "scale=9; $i + 1" | bc)
echo $TOT
it shows 2081, i want to retain 000002081, 000002082, 000002082, 000002084. (2 Replies)
Hi Friends,
I have a text file which has about 200,000 records in it. we have a string which repeats in each and every record. So we have to write a script in ksh which finds that string on each line and replaces it with a new string(incremental value) for a set every four records.
To be... (12 Replies)
Dear help!
I want to print
The number i is number i
let i=1 to 5
output
should be like
The number 1 is number 1
The number 2 is number 2
The number 3 is number 3
The number 4 is number 4
The number 5 is number 5
Would be gr8 if you mke this with awk
Thanks (7 Replies)
I have this below string in a variable
cutString=21222222222222222122222222222222
this string is nothing but hex values depicted as below
21:22:22:22:22:22:22:22:21:22:22:22:22:22:22:22
so what i want to achieve is swap the lower order with higher order values in the... (3 Replies)
Hi, i have a strange prob. log file contains ip, protocol, user name, agent . these can be in any order. If log contains the above order able to fetch all details but if details are in diff order not able to fetch all details.
using below command.
grep -A50 "Entry " "/logs/file.log" \
|grep... (6 Replies)
Hi Guys,
am trying to write logic to do incremental value using linux
Example:
a=00.00.00.01
My b should be like this
b=00.00.00.02
and when it reaches 99 my b should look like this
b=00.00.01.99
Appreciate your help guys
Please use CODE tags when displaying sample input, sample... (14 Replies)
Discussion started by: buddi
14 Replies
LEARN ABOUT OSX
idmapd
RPC.IDMAPD(8) BSD System Manager's Manual RPC.IDMAPD(8)NAME
rpc.idmapd -- NFSv4 ID <-> Name Mapper
SYNOPSIS
rpc.idmapd [-v] [-f] [-d domain] [-p path] [-U username] [-G groupname] [-c path]
DESCRIPTION
rpc.idmapd is the NFSv4 ID <-> name mapping daemon. It provides functionality to the NFSv4 kernel client and server, to which it communi-
cates via upcalls, by translating user and group IDs to names, and vice versa.
The options are as follows:
-v Increases the verbosity level (can be specified multiple times).
-f Runs rpc.idmapd in the foreground and prints all output to the terminal.
-d domain Set domain to domain. This is used internally by NFSv4 and is typically assigned by the system administrator. By default,
domain is set to be the FQDN of the host, minus the hostname.
-p path Specifies the location of the RPC pipefs to be path. The default value is "/var/lib/nfs/rpc_pipefs".
-U username Specifies the NFSv4 nobody user to be username. The default value is "nobody".
-G groupname
Specifies the NFSv4 nobody group to be groupname. The default value is "nobody".
-c path Use configuration file path.
-C Client-only: perform no idmapping for any NFS server, even if one is detected.
-S Server-only: perform no idmapping for any NFS client, even if one is detected.
EXAMPLES
rpc.idmapd -d "citi.umich.edu" -f -vvv
Runs rpc.idmapd with the domain "citi.umich.edu" in the foreground, printing all messages to console, and with a verbosity level of 3.
FILES
/etc/idmapd.conf
SEE ALSO idmapd.conf(5)AUTHORS
The rpc.idmapd software has been developed by Marius Aamodt Eriksen <marius@citi.umich.edu>.
BSD February 3, 2003 BSD