Hi Can any one help me remove the unwanted data? I would want to remove the complete event id 4910 ( the type there is INFO), that means, I have to remove starting from 7th - 19th lines. can any one of you please help?
Thanks, (24 Replies)
Hello,
Can anyone pls. provide me with the command for deleting files older then 15 days with a restriction to keep at least 5 files in a directory even if they are older then 15 days.
Any help will be highly appreciated.
Thanks,
Pulkit (4 Replies)
What is the correct way to delete unwanted applications from a MACbook
running OS/X 10.4.1.1.
It is sufficient to drag and drop from Applications folder to Trash, then clear
Trash? (2 Replies)
Hi All,
I want to clean my Solaris Server ( Removing Unwanted files and folders in Server ) .Kindly any one tell me the steps in doing this activity,
regards
Rj (1 Reply)
Experts ,
Below is the data:
--- Physical volumes ---
PV Name /dev/dsk/c1t2d0
VG Name /dev/vg00
PV Status available
Allocatable yes
VGDA 2
Cur LV 8
PE Size (Mbytes) 8
Total PE 4350
Free PE 2036
Allocated PE 2314
Stale PE 0
IO Timeout (Seconds) default
--- Physical volumes ---... (5 Replies)
hi
i have a set of similar files. i want to delete lines until certain pattern appears in those files. for a single file the following command can be used but i want to do it for all the files at a time since the number is in thousands.
awk '/PATTERN/{i++}i' file (6 Replies)
Hi,
Can any one help me, in deleting the records from the database table based on the following condition:
script should take a configurable parameter as input. The input is nothing but “no. of years”.
For example, if I enter 2 as input parameter, then the 2 year old records should get... (2 Replies)
Hi,
I have a flaty file from which i am fetching few columns in tablular form as below code.
Now i want to fetch the column 6 and 7 in below code only if it either of them is non zero.However below startement
awk -F, '$6==0 && $7==0{exit 1}' ${IFILE}
is not working..Not sure where is the... (36 Replies)
I collect data in a file in below format(Month Day Year Size) in RedHat Linux. Now i want to calculate the data size date wise. As i code shell script after long time, i forgot the features and syntax. Can anyone help me regard this please.
Feb 8 2014 15
Feb 10 2014 32
Feb 10 2014 32
Feb 12... (2 Replies)
Hi everyone,
I have a microbial diversity table in the format ;k__kingdom; p__phylum, etc, somer rows have descriptions before the :k__ (like the af028349.1 below) is there a way I can get rid of this text (which is different every time) and keep all the other columns?
Thanks a bunch!
;... (1 Reply)
Discussion started by: Juan Gonzalez
1 Replies
LEARN ABOUT OSF1
asa
asa(1) General Commands Manual asa(1)NAME
asa - Interprets carriage-control characters
SYNOPSIS
asa [file...]
STANDARDS
Interfaces documented on this reference page conform to industry standards as follows:
asa: XCU5.0
Refer to the standards(5) reference page for more information about industry standards and associated tags.
OPTIONS
None
OPERANDS
The pathname of a file to be read. If this parameter is omitted, standard input is read.
DESCRIPTION
The asa command writes its input files to standard output, mapping carriage-control characters from the text files to line-printer control
sequences.
The first character of every input line is removed and, depending on the character removed, an action performed on that character and the
rest of the line. If the character removed is: The rest of the line is output without change. A newline character is output, followed by
the rest of the input line. A form-feed character is output, followed by the rest of the input line. The newline character of the previ-
ous line is replaced with a carriage-return character, which is output, followed by the rest of the input line. If + is the first character
in the input, + has the same effect as the space character. [Tru64 UNIX] The character is output, followed by the rest of the input line.
EXIT STATUS
The following exit values are returned: Successful completion. An error occurred.
EXAMPLES
To view a file (created by a program using FORTRAN-style carriage control characters) on a terminal: asa file To format the FORTRAN output
of a.out and direct it to the printer: a.out | asa | lp
ENVIRONMENT VARIABLES
The following environment variables affect the execution of asa: Provides a default value for the internationalization variables that are
unset or null. If LANG is unset or null, the corresponding value from the default locale is used. If any of the internationalization vari-
ables contain an invalid setting, the utility behaves as if none of the variables had been defined. If set to a non-empty string value,
overrides the values of all the other internationalization variables. Determines the locale for the interpretation of sequences of bytes
of text data as characters (for example, single-byte as opposed to multi-byte characters in arguments and input files). Determines the
locale for the format and contents of diagnostic messages written to standard error. Determines the location of message catalogues for the
processing of LC_MESSAGES.
SEE ALSO
Commands: lp(1)
Standards: standards(5)asa(1)