Hi,
A bit of a dumb question here. Sorry folks.
Suppose I have this file which is being updated at irregular intervals (a few seconds, a few minutes, who knows) by a background process.
I 'vi' this file with the intention of editing it, so it opens up a temp copy as the usual... (8 Replies)
Hi
I know from reading O Riley's Classic Shell Scripting' that the .profile file is " the shells configuration file" but I am unable to find a reference to what "..profile" means. I have searched on the net, Sams Teach Yourself Unix, Unix Visual Quickstart Guide and Linux in a Nutshell. I have... (2 Replies)
Hi Friends,
Can any of you explain me about the below line of code?
mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`
Im not able to understand, what exactly it is doing :confused:
Any help would be useful for me.
Lokesha (4 Replies)
Dear friends, following is the output of a script from which I want to remove spaces and new-line characters.
Example:-
Line1 abcdefghijklmnopqrstuvwxyz
Line2 mnopqrstuvwxyzabcdefghijkl
Line3 opqrstuvwxyzabcdefdefg
Here in above example, at every starting line there is a “tab” &... (4 Replies)
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
I have a bunch of random character lines like ABCEDFG. I want to find all lines with "A" and then change any "E" to "X" in the same line. ALL lines with "A" will have an "X" somewhere in it. I have tried sed awk and vi editor. I get close, not quite there. I know someone has already solved this... (10 Replies)
Okay, so I have a rather large text file and will have to process many more and this will save me hours of work.
I'm not very good at scripting, so bear with me please.
Working on Linux RHEL
I've been able to filter and edit and clean up using sed, but I have a problem with moving lines.
... (9 Replies)
Dear Ladies & Gents,
I have a requirement to delete all the log files in /var/log/test directory that are older than 10 days and their first line begin with "MSH" or "<?xml" or "FHS". I've put together the following BASH script, but it's erroring out:
for filename in $(find /var/log/test... (2 Replies)
Hi everybody,
I am new at Unix/Bourne shell scripting and with my youngest experiences, I will not become very old with it :o
My code:
#!/bin/sh
set -e
set -u
export IFS=
optl="Optl"
LOCSTORCLI="/opt/lsi/storcli/storcli"
($LOCSTORCLI /c0 /vall show | grep RAID | cut -d " "... (5 Replies)
Hi,
There are 2 users (T886072 & T864764) that need to be provided full (rwx) access to a directory. I made the changes to the directory permissions using chmod and setfacl :
root@digidb2:# chmod 700 /u02/ftpfiles/MFRS16/discount_rates/
root@digidb2:# setfacl -s... (3 Replies)
Discussion started by: anaigini45
3 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)