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
apport-cli
apport-cli(1) General Commands Manual apport-cli(1)NAME
apport-cli - Command line client for reporting problems
SYNOPSIS
apport-cli
apport-cli -c report
apport-cli -f -p package
apport-cli -f -P pid
DESCRIPTION
apport automatically collects data from crashed processes and compiles a problem report in /var/crash/. This is a command line frontend for
reporting those crashes to the developers. It can also be used to report bugs about packages or running processes.
For desktop systems with a graphical user interface, you should consider installing the GTK or Qt user interface (apport-gtk or apport-qt).
apport-cli is mainly intended to be used on servers.
When called without any options, it processes the pending crash reports and offers to report them one by one. You can also display the
entire report to see what is sent to the software developers.
OPTIONS -c report, --crash-file=report
Instead of walking over the new crash reports in /var/crash/, report a particular report in an arbitrary file location. This is
useful for copying a crash report to a machine with internet connection and reporting it from there.
-f, --file-bug
Report a (non-crash) problem. Requires specifying --package or --pid. This will automatically attach information about your operat-
ing sytem and the package version etc. to the bug report, so that the developers have some important context.
-p package, --package=package
When being used in --file-bug mode, specify the package to report the problem against.
-P pid, --pid=pid
When being used in --file-bug mode, specify the PID (process ID) of a running program to report the problem against. This can be
determined with e. g. ps -ux.
ENVIRONMENT
APPORT_IGNORE_OBSOLETE_PACKAGES
Apport refuses to create bug reports if the package or any dependency is not current. If this environment variable is set, this
check is waived. Experts who will thoroughly check the situation before filing a bug report can define this in their ~/.bashrc or
temporarily when calling the apport frontend (-cli, -gtk, or -qt).
AUTHOR
apport and the accompanying tools are developed by Martin Pitt <martin.pitt@ubuntu.com>.
Martin Pitt August 01, 2007 apport-cli(1)