02-19-2008
jim,
thanks a lot.... sorry for making u in confusion....
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
how to grep the pattern ?
How can I grep or find the pattern from this files in the directory. I have couple of ascii files too.I have to grep the binary files.Please assist me
Thanks
Francis (2 Replies)
Discussion started by: faviji
2 Replies
2. Shell Programming and Scripting
-Hi
I have a file with the following entries:
tschkback12
tschkback11
tschkback15
tschkback28
....etc.
I need to grep all the lines out of this file which end with the number (just "tschkback" should be excluded). Can it be done with one line command? Thanks -A (5 Replies)
Discussion started by: aoussenko
5 Replies
3. Shell Programming and Scripting
Hi,
When we have a failure, sometimes we just step restart the job from the next step. Later when we open the log for analysis of the failure, it is becoming difficult to go to the failure part.
For eg., if it is a 1000 line log, the failure may be at 500th line. so wat i want to do is, grep... (6 Replies)
Discussion started by: ajayakunuri
6 Replies
4. Emergency UNIX and Linux Support
I have to search from millions of lines of code of lines having following pattern:
get_token , get_token
For example:
fn1(string.get_token(), string1.get_token());
Thanks in advance (5 Replies)
Discussion started by: uunniixx
5 Replies
5. Shell Programming and Scripting
Hi,
I have got the below requirement. please suggest.
I have a file like,
Processing Item is:
/data/ing/cfg2/abc.txt
/data/ing/cfg3/bgc.txt
Processing Item is:
/data/cmd/for2/ght.txt
/data/kernal/config.klgt.txt
I want to process the above file to get the output file like,
... (5 Replies)
Discussion started by: rbalaj16
5 Replies
6. Shell Programming and Scripting
Hello Colleagues,
I have a file that looks like below.
6-12731913-12731913
9230760143480
410018547148230
20131002193434+0500
20131002193434+0500
;20131002T161031000-10.50.241.21-21912131-1419034760, ver: 0
20131009
92220056296730
CC0P
abc
Core_Context_R1A
SMS
6-12726796-12726796... (14 Replies)
Discussion started by: umarsatti
14 Replies
7. Shell Programming and Scripting
Hi ,
I have a file where i have modifed certain things compared to original file . The difference of the original file and modified file is as follows.
# diff mir_lex.c.modified mir_lex.c.orig
3209c3209
< if(yy_current_buffer -> yy_is_our_buffer == 0) {
---
>... (5 Replies)
Discussion started by: breezevinay
5 Replies
8. Shell Programming and Scripting
Hi All,
I am trying to fetch lines before a pattern, I got to know about -B flag in grep but we have to pass the number to get those lines before some pattern say (X), now what if I want to get line/s with some other pattern say (Y) before X pattern? How to get about it? please help.
Input:... (5 Replies)
Discussion started by: dips_ag
5 Replies
9. UNIX for Dummies Questions & Answers
Hi all!
Thanks for taking the time to view this!
I want to grep out all lines of a file that starts with pattern 1 but also does not match with the second pattern.
Example:
Drink a soda
Eat a banana
Eat multiple bananas
Drink an apple juice
Eat an apple
Eat multiple apples
I... (8 Replies)
Discussion started by: demmel
8 Replies
10. UNIX for Beginners Questions & Answers
I have this fileA
TEST FILE ABC
this file contains ABC;
TEST FILE DGHT this file contains DGHT;
TEST FILE 123
this file contains ABC,
this file contains DEF,
this file contains XYZ,
this file contains KLM
;
I want to have a fileZ that has only (begin search pattern for will be... (2 Replies)
Discussion started by: vbabz
2 Replies
KDESU(1) KDE User's Manual KDESU(1)
NAME
kdesu - Runs a program with elevated privileges
SYNOPSIS
kdesu [-c command] [-d] [-f file] [-i icon name] [-n] [-p priority] [-r] [-s] [-t] [-u user] [--noignorebutton] [--attach winid]
kdesu [KDE Generic Options] [Qt Generic Options]
DESCRIPTION
KDE su is a graphical front end for the UNIX(R)su command for the K Desktop Environment. It allows you to run a program as different user
by supplying the password for that user. KDE su is an unprivileged program; it uses the system's su.
KDE su has one additional feature: it can optionally remember passwords for you. If you are using this feature, you only need to enter the
password once for each command.
This program is meant to be started from the command line or from .desktop files.
Since kdesu is no longer installed in
$(kde4-config --prefix)/bin but in kde4-config --path libexec and therefore not in your Path, you have to use $(kde4-config --path
libexec)kdesu to launch kdesu.
OPTIONS
-c command
This specifies the command to run as root. It has to be passed in one argument. So if, for example, you want to start a new file
manager, you would enter at the prompt: $(kde4-config --path libexec)kdesu -c Dolphin
-d
Show debug information.
-f file
This option allow efficient use of KDE su in .desktop files. It tells KDE su to examine the file specified by file. If this file is
writable by the current user, KDE su will execute the command as the current user. If it is not writable, the command is executed as
user user (defaults to root).
file is evaluated like this: if file starts with a /, it is taken as an absolute filename. Otherwise, it is taken as the name of a
global KDE configuration file.
-i icon name
Specify icon to use in the password dialog. You may specify just the name, without any extension.
-n
Do not keep the password. This disables the keep password checkbox in the password dialog.
-p priority
Set priority value. The priority is an arbitrary number between 0 and 100, where 100 means highest priority, and 0 means lowest. The
default is 50.
-r
Use realtime scheduling.
-s
Stop the kdesu daemon. This is the daemon that caches successful passwords in the background. This feature may also be disabled with -n
when KDE su is initially run.
-t
Enable terminal output. This disables password keeping. This is largely for debugging purposes; if you want to run a console mode app,
use the standard su instead.
-u user
While the most common use for KDE su is to run a command as the superuser, you can supply any user name and the appropriate password.
--noignorebutton
Do not display an ignore button.
--attach winid
Makes the dialog transient for an X app specified by winid.
SEE ALSO
su(1)
More detailed user documentation is available from help:/kdesu (either enter this URL into Konqueror, or run khelpcenter help:/kdesu).
EXAMPLES
Run kfmclient as user jim, and show the Konqueror icon in the password dialog:
$(kde4-config --path libexec)kdesu -u jim -i konqueror kfmclient
AUTHORS
KDE su was written by Geert Jansen<jansen@kde.org> and Pietro Iglio<iglio@fub.it>.
AUTHOR
Lauri Watts <lauri@kde.org>
Author.
K Desktop Environment 2010-09-18 KDESU(1)