Hi. I have been trying to send mail using the mailx command. I also tryed to use the mail command.
The thing is that when I try to send the email, i receive automatically to my mailbox a DAEMON response sayng that the mailhost is unknown...
The syntax I am using is this:
$mailx -s "this... (2 Replies)
This is probably a fairly simple question but I cant seem to get it to work.
Im trying to multiply an entire column in a file by a variable in my bash script but just cant seem to get it to work with awk.
Here is what I'm trying
$varr is some value
$line is my file
awk '{print... (1 Reply)
The goal:
I have a list of people in teams. The list looks something like this
$1 = Job Position (marketing, IT, PR)
$2 = Name
$3 = Team Name
$4 = Targeted member (somebody in field 2 targets somebody else)
$5 = Employment Status (full time/part time/etc)
The idea is to search through... (2 Replies)
Hi all,
I'm writing a program in bourne shell that compresses a file 3 different ways then displays a table of data with the compression type, original file size, compressed size and compression ratio. I've written most of it but reached 2 problems that won't allow me to finish it correctly.
The... (2 Replies)
Hello all,
I'm a beginner to shell/ awk script writing, and I'm trying to do something that looks like it shouldn't be (too) hard at all to do, but unfortunately, I can't seem to be able to find the right way to do it with awk.
I need to look for the time several processes start & end in a... (5 Replies)
I am trying to figure awk.
I have a file in my home directory called testawk.sh, have made it executable, and have run it... But don't see any output.
This is the contents of the file:
#!/usr/bin/awk -f
{ print " - HI -" }I enter ./testawk.sh in the prompt, press enter, and watch as the... (2 Replies)
Would really appreciate it if someone could point out my mistake in this line of code, i've been staring blankly at it trying everything i can think of some time now and coming up with nothing.
#!/bin/bash
echo "Enter Username"
read Username
awk -F: -v var=${Username} '/^var:/... (9 Replies)
Hi,
I have 2 .txt pads containing data.
I need a script which reads content of one .txt file, performs some operations and calculates a number which is stored in a variable.
Now , all the content of another .txt pad should be appended to first .txt pad at pre calculated nth line number.
... (4 Replies)
I tried running this.
dsh -w server1 'lsof /audit | awk '{ print $2 }''
It did not like above so I tried to escape the single parenthesis at the end.
dsh -w server1 'lsof /audit | awk '{ print $2 }\''
It then hung so I changed up the parenthesis to this. This worked.
dsh -w server1... (6 Replies)
Discussion started by: cokedude
6 Replies
LEARN ABOUT DEBIAN
onak
ONAK(1) General Commands Manual ONAK(1)NAME
onak - an OpenPGP compatible keyserver
SYNOPSIS
onak [ options ] command [ parameters ]
DESCRIPTION
Perform various keyserver actions.
Options
-b Treat keys on stdin as binary rather than ASCII armoured.
-c FILE
Use FILE as the config file instead of the default.
-f Display fingerprints when listing keys.
-u Update keys - output changes on stdout.
-v Verbose; increase loglevel.
Commands
add Read OpenPGP keys from stdin and add them to the keyserver database.
clean Read OpenPGP keys from stdin, run the key cleaning routines against them and dump to stdout.
delete Delete a given key from the keyserver.
dump Dump all the keys from the keyserver.
get Retrieves the requested key from the keyserver.
getphoto
Retrieves the first photoid on the requested key and dumps to stdout.
index Search for a key and list it.
vindex Search for a key and list it and its signatures.
EXAMPLES
onak index noodles
List all keys in the keyserver that contain the word noodles.
onak clean < dirty.key > clean.key
Clean up one or more PGP keys. Currently this will just dedupe UIDs.
gpg --export | onak -b add
Export all keys on your gnupg keyring and import them into the keyserver.
FILES
/etc/onak.conf default configuration file
NOTES
This man page could probably do with some more details.
AUTHOR
onak was written by Jonathan McDowell <noodles@earth.li>. It can be found at http://www.earth.li/projectpurple/progs/onak.html
ONAK(1)