10-29-2019
Welcome!
Thanks for posting back with your positive results.
This User Gave Thanks to Neo For This Post:
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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)
Discussion started by: Lokesha
4 Replies
2. Shell Programming and Scripting
hi All,
cat file_name | awk /^~/'{print $1","$2","$3","$4}' | sed -e 's/~//g'
Can this be done by using sed or awk alone (4 Replies)
Discussion started by: harshakusam
4 Replies
3. Shell Programming and Scripting
I wrote a script to delete files which are older than "x" days, if the size of the directory is greater than "y"
#!/bin/bash
du -hs $1
while read SIZE ENTRY
do
if ;
then
find $1 -mtime +$2 -exec rm -f {} \;
echo "Files older than $2 days deleted"
else
echo "free Space available"... (4 Replies)
Discussion started by: JamesCarter
4 Replies
4. Shell Programming and Scripting
Hi all,
can any one suggest me the script to grep multiple strings from ps -ef
pls correct the below script . its not working/
i want to print OK if all the below process are running in my solaris system. else i want to print NOT OK.
bash-3.00$ ps -ef | grep blu
lscpusr 48 42 ... (11 Replies)
Discussion started by: steve2216
11 Replies
5. Shell Programming and Scripting
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)
Discussion started by: shis100
7 Replies
6. Shell Programming and Scripting
logs:
"/home/abc/public_html/index.php"
"/home/abc/public_html/index.php"
"/home/xyz/public_html/index.php"
"/home/xyz/public_html/index.php"
"/home/xyz/public_html/index.php"
how to use "cut" or "awk" or "sed" to get the following result:
abc
abc
xyz
xyz
xyz (8 Replies)
Discussion started by: timmywong
8 Replies
7. Solaris
The system don't boot.
on the screen appears following:
press enter to maintenance (or type CTRL-D to continue)...I checked with format command.
... the slices "0-root","1-swap","2-backup" exist.
...the slises "3-var","6-usr" -unassigned. :( (16 Replies)
Discussion started by: wolfgang
16 Replies
8. UNIX for Dummies Questions & Answers
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies
9. Shell Programming and Scripting
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
FLAME(1) General Commands Manual FLAME(1)
NAME
flame -- reply to Usenet News posting automatically
SYNOPSIS
flame [options] [filename]
DESCRIPTION
Flame is a AI tool providing an automated method for replying to articles posted to Usenet News. Special care is paid to allow the user to
specify the type of reply he desires. The following options are supported by flame:
-- Take input from stdin.
-x regexp
Crosspost to all newsgroups matching regexp.
-n number
Post this reply number times.
-b Reply in BIFF MODE.
-d Delay response until original posting expires.
-m Misdirect to a random Author.
-r ROT13 quotes from original posting.
-g regexp
Reply to all messages in newsgroups matching regexp.
-A Call the Author Assh*le in 12 languages.
-B Bait the Author.
-C Accuse the Author of communist leanings.
-D Denigrate the Author.
-E Picks apart the Author's educational background.
-F Accuse the Author of fascist leanings.
-G Post using Greek insult module.
-H Accuse the Author of homophobic leanings.
-I Question the Author's intelligence.
-J Accuse the Author of purchasing Japanese imports.
-K Accuse the Author of working for the KGB, MOSSAD, CIA, or MI5 as appropriate.
-L Post using Latin insult module.
-M Insult the Author's mother.
-N Accuse the Author of Neo-Nazi leanings.
-O Quote obscure references proving falsehood of the posting.
-P Question the Author's parentage.
-Q Accuse the Author of deviant sexual practices.
-R Accuse the Author of racist leaning.
-S Accuse the Author of sexist leanings.
-T Accuse the Author of cross dressing.
-U State that the Author just doesn't understand anything.
-V Pretend sympathy for Author's virgin sensibilities.
-W Accuse the Author of voting for George Bush.
-X Prepend obscene adjectives wherever syntactically correct.
-Y Accuse the Author of PLO membership.
-Z Accuse the Author of Zionist leanings.
ENVIRONMENT
The environment variable FLAME_TYPE can be set to any combination of the above parameters, and will be used as the default flame type to
generate.
The environment variable OBSCENE points to a file containing miscellaneous obscene adjectives for the -X option above.
MACROS
Macro Support will be added to the next release of flame.
AUTHOR
Unknown
FILES
.lastflame
This file contains the number of the last article flamed. Used when flameing an entire newsgroup.
.prefflame
This file contains the user's preferred flames.
.altflame
This file contains alternate phrasing of some of the more standard flames. Used to keep the program from flaming itself.
SEE ALSO
rn(1), more(1), newsrc(5), readnews(1), Pnews(1), Rnmail(1)
DIAGNOSTICS
Self Documenting.
BUGS
Occasionally, flame will turn on the user, and flame all outgoing postings. When this happens, the best thing to do reinstall your news
software and flame.
FLAME(1)