Hi Unix gurus,
I have a file. I need to insert sequential number at the starting of the file. Fields are delimited by "|". I know the starting number.
Example:
File is as follows
|123|4test|test
|121|2test|test
|x12|1test|test
|vd123|5test|test
starting number is : 120
... (7 Replies)
Hey!
I'm working on a script that will add a user, create some configfiles, and add a crontab for the user.
The crontab looks like the following:
@reboot /home/user/program config.conf &
I would like for this process to start at the end of my script under the corresponding username by... (0 Replies)
Hi guys,
got a problem here with sed on the command line.
If i have a string as below:
online xx:wer:xcv: sdf:/asdf/http:https-asdfd
How can i match the pattern "http:" and replace the start of the string to the pattern with null?
I tried the following but it doesn't work:
... (3 Replies)
hello everyone
my file contains many records, the following is a sample:
BEGIN
ASX1500000050002010120000000308450201012000177
ASX1100002000000201012000000038450201012000220
ASX1600100005000201012000000038450020101200177
ASX1900100006000201067000000058450020101200177... (2 Replies)
Dear board,
(I am trying to post this the 3rd time, seems there's some conflicts with my firefox with this forum, now use IE)
------
yes, I have searched the forum, but seems my ? is too complicated.
------------origianl file ---------------
\storage\qweq\ertert\ertert\3452\&234\test.rec... (4 Replies)
I have to replace the specific encypted value in the file which is will be a taken as input from user always.PADWD appears two times in the document of which I need to replace the line which start with double quotes. Please help.
"PADWD"\1\"LL9@99V@N=3M0O4I4;J43KH6"---Sample line in the file.
... (6 Replies)
hi,
I need some unix command to replace the following thing. The line shuld start with oly numbers. If it starts with anything other than number it shuld be taken back to the last line.
My file:
1234|test
weye|test1|break
576|test|break|title
2369|test|line|break
tite|break... (7 Replies)
Hi,
I am trying to remove lines once a string is found till another string is found including the start string and end string. I want to basically grab all the lines starting with color (closing bracket). PS: The line after the closing bracket for color could be anything (currently 'more').... (1 Reply)
Replace String at the start of each line (3 Replies)
Discussion started by: Mahesh_RPM
3 Replies
LEARN ABOUT DEBIAN
kumoctl
KUMOCTL(1) General Commands Manual KUMOCTL(1)NAME
kumoctl - show kumofs status
SYNOPSIS
kumoctl address[:port=19750] command [options]
DESCRIPTION
Show status of kumo-manager and send control commands to kumo-manager.
COMMANDS
status show status of the cluster
attach attach all new servers and start replace
attach-noreplace
attach all new servers
detach detach all fault servers and start replace
detach-noreplace
detach all fault servers
replace
start replace without attach/detach
full-replace
start full-replace (repair consistency)
backup [suffix=20090304]
create backup with specified suffix
enable-auto-replace
enable auto replace
disable-auto-replace
disable auto replace
STATUS
hash space timestamp
The time that the list of attached kumo-servers is updated. It is updated when new kumo-server is added or existing kumo-server is
down.
attached node
The list of attached kumo-servers. (active) is normal node and (fault) is fault node or recoverd but not re-attached node.
not attached node
The list of recognized but not-attached nodes.
AUTO REPLACING
By default, you have to attach new kumo-servers manually using kumoctl command. If the auto replacing is enabled, new kumo-servers are
attached automatically. This is experimental feature.
EXAMPLE
$ kumoctl mgr1 status
$ kumoctl mgr1 attach
SEE ALSO kumo-manager(1).
kumoctl July 2009 KUMOCTL(1)