guys forget the find command coz with find command u can't get condational output like grep. I will give small example :-
Apr 10 09:12 aacbl222_12aug1998.lqc
Apr 10 09:12 sscbl4534_4sep2001.lqc
Apr 10 09:12 ah66fmi_5jan1997.lqc
Apr 10 09:12 y313h1_7sep1998.lqc
May 11 09:12... (5 Replies)
Hi,
I'm trying to print every line from first field to the fourth from a file containing more.
$ cat input
a b c d e f g
a b c d e f gI'm trying
awk '{for (i=1; i <= NF-3; i++) print $i}' awkTest.datbut it printsa
b
c
d
a
b
c
dSo, I easily guess I'm wrong. :)
Of course, I want:a b... (5 Replies)
Hi,
I have below text file
01.02.2014,asdas,arse,aere,4tfsd
12.03.2014,sdte,45gf,8iuj,qw343w
01.02.0214,aetre,sdfgter,asfrwe
I have writen below code to print only first field that is only date field from text file
#!/bin/ksh
echo "enter week"
read week
while read -r... (6 Replies)
I want to print line by line only the first field from txt file
input file
etr,t7tu,e45xdt,e45exgt,cdgfe
aqw34aw,45edgf,45estd,sert34
a232e,4etedf,w345er,qw345rw,
qw354,q34asf,tw45f,q3drsf
required o/p file
etr
aqw34aw
a232e
qw354 (1 Reply)
Hello,
I have a text file in the below format:
Source Destination State Lag Status
CQA02W2K12pl:D:\CAQA ... (10 Replies)
Discussion started by: pocodot
10 Replies
LEARN ABOUT SUSE
apparmor_parser
APPARMOR_PARSER(8) AppArmor APPARMOR_PARSER(8)NAME
apparmor_parser - loads AppArmor profiles into the kernel
SYNOPSIS
apparmor_parser [-adrR] [--add] [--debug] [--replace] [--remove]
[--preprocess] [--Include n] [--base n] [ --Complain ]
apparmor_parser [-hv] [--help] [--version]
DESCRIPTION
apparmor_parser is used to import new apparmor.d(5) profiles into the Linux kernel. The profiles restrict the operations available to
processes by executable name.
The profiles are loaded into the Linux kernel by the apparmor_parser program, which takes its input from standard input. The input supplied
to apparmor_parser should be in the format described in apparmor.d(5).
OPTIONS -a, --add
Insert the AppArmor definitions given into the kernel. This is the default action. This gives an error message if a AppArmor definition
by the same name already exists in the kernel, or if the parser doesn't understand its input. It reports when an addition succeeded.
-r, --replace
This flag is required if an AppArmor definition by the same name already exists in the kernel; used to replace the definition already
in the kernel with the definition given on standard input.
-R, --remove
This flag is used to remove an AppArmor definition already in the kernel. Note that it still requires a complete AppArmor definition
as described in apparmor.d(5) even though the contents of the definition aren't used.
-p, --preprocess
Parse the profile(s) and process include directives and output the result to stdout.
-I n, --Include n
Add element n to the search path when resolving #include directives defined as an absolute paths.
-b n, --base n
Set the base directory for resolving #include directives defined as relative paths.
-C, --Complain
Load the profile in complain mode.
-h, --help
Give a quick reference guide.
-v, --version
Print the version number and exit.
-d, --debug
Given once, only checks the profiles to ensure syntactic correctness. Given twice, dumps its interpretation of the profile for
checking.
BUGS
None known. If you find any, please report them to bugzilla at <http://bugzilla.novell.com>.
SEE ALSO apparmor(7), apparmor.d(5), subdomain.conf(5), change_hat(2), and <http://forge.novell.com/modules/xfmod/project/?apparmor>.
NOVELL /SUSE 2007-04-11 APPARMOR_PARSER(8)