I'm currenting trying to parse the out put of the following command.
iostat -xtc -r |grep cmdk0
which produces the output
cmdk0,0.2,0.0,1.2,0.0,0.0,0.0,39.7,0,0,0,0,0,0,0,99
I'm then trying to get the data to look like this:
rw=0.2
ws=0.0
krs=1.2
kws=0.0
wait=0.0
actv=0.0... (2 Replies)
Aloha! I have just over 1k of users that have permissions that they shouldn't under our system. I need to parse a provided list of usernames, check their permissions file, and strip the permissions that they are not allowed to have. If upon the permissions strip they are left with no permissions,... (6 Replies)
File 1
<html>ta da....unique file name I want to give file=>343...</html>
<html>da ta 234 </html>
<html>pa da 542 </html>
and so on...
File 2
343
234
542
and so on, each line in File 1 one also corresponds with each line in File 2
I have tried several grep, sed, while .. read, do,... (4 Replies)
I am trying to show each word on a separate line, but read in all the words on one command line. Below is the code I have right now:
read name
MyString=$name
name2=" "
echo $MyString | awk -v ORS="" '{ gsub(/./,"&\n") ; print }' | \
while read char
do
if
then
... (8 Replies)
I have log file which contains 1000s of lines something like this.
INFO |2010-08-29 14:23:37,078|SERIAL_ID=1283109816352|ST=2010-08-2914:23:36|DP_DEVICE=11.22.33.44:4420|TYPE=TransactionLo
g|LOG_LEVEL=6|CLASS=Superior... (7 Replies)
Hi
I am having an xml file with lines like these
<d name="T2tt_350_100" title="T2tt_012j_350_100_428p4_pPF_PU" add="1" color="4" ls="1" lw="2" normf="1" xsection="0.070152" EqLumi="94651.6"... (2 Replies)
I have a test file with the following format, It contains the username_date when the user was locked from the database.
$ cat lockedusers.txt
TEST1_21062016
TEST2_02122015
TEST3_01032016
TEST4_01042016
I'm writing a ksh script and faced with this difficult scenario for my... (11 Replies)
Discussion started by: humble_learner
11 Replies
LEARN ABOUT REDHAT
psi
PSI(1) User Commands PSI(1)NAME
Psi - jabber client
SYNOPSIS
psi [--profile=PROFILE] [--remote|--choose-profile]
DESCRIPTION
[--status=STATUS [--status-message=MSG]] [--uri=URI]
Psi - The Cross-Platform Jabber/XMPP Client For Power Users
OPTIONS --choose-profile
Display Choose Profile dialog on startup. Cannot be used together with --remote.
-h, --help
Show this help message and exit.
--profile=PROFILE
Activate program instance running specified profile. Otherwise, open new instance using this profile (unless used together with
--remote).
--remote
Force remote-control mode. If there is no running instance, or --profile was specified but there is no instance using it, exit with-
out doing anything. Cannot be used with --choose-profile.
--status=STATUS
Set status. STATUS must be one of `online', `chat', `away', `xa', `dnd', `offline'.
--status-message=MSG
Set status message. Must be used together with --status.
--uri=URI
Open XMPP URI. (e.g. xmpp:someone@example.org?chat) For security reasons, this must be the last option.
-v, --version
Show version information and exit.
SEE ALSO
Go to <http://psi-im.org/> for more information about Psi.
Psi 0.14 January 2012 PSI(1)