I'd like to make a script that I can execute every time I sign on to my linux box that keeps track of the time and allows to me to add a remark to a file. So basically once I log in, I run the script, and it outputs the date and time to a text file (log.txt). But that isn't my problem.
I need... (1 Reply)
Dear Techs,
In the past on a different box (HP) I use to be able to complete something I was typing by entering a portion of the filename in the pwd and I would hit the Esc key and it would match the rest of the filename. I did this without understanding how it was setup.
Now I am on a new... (1 Reply)
Server: IBM p770
OS: AIX 6.1 TL5 SP1
When one of our develoeprs types "bash" on the command line to switch shells, it hangs. For some reason, two bash processes are created....the first bash process spawns a second bash process in the same console, causing a hang. Anyone have any idea what... (2 Replies)
echo "dddd$dddd"|sed 's/$//' will return dddd
echo "dddd$ddd"|tr -d '$' will return dddd
I need to replace it with any other character or just live a blank space instead
Thank you! (8 Replies)
Hi
As a dummy my question is very simple. When typing cw I've read (many times) that a '$' should appear at the end of the word I'm about to change. However, it doesn't, and in my case the word is instantly deleted and so ready to be changed!
Can somebody tell me why this is, or maybe I... (4 Replies)
Hello everyone,
I'm struggling with this command:
awk '!/^\+/{ORS=FS}/^\+/{ORS=RS}1' file1 > file2
What I want to do is to move any line that starts with the + sign 1 up, so its the continuation of the previous.
The above command is messing the whole output, can you please let me know... (8 Replies)
Hello.
Using a bash script , I have a variable name for the file I want to modify
FILE_TO_EDIT="/etc/my_config_file"And I have a variable name for the parameter to change
PARAMETER="fallback_node"
PARAMETER_NEW_VALUE="http://my_server_name.com/new_path"
A config file may contain :
1°)... (2 Replies)
Dear Concern,
Please go through the article
https://www.unix.com/hp-ux/134072-typing-sign-creates-new-line.html
As per the article, we need to initiate below commands. But after creating new session, we face same problem. Please advise.
stty intr "^c"
stty kill "^u"
Please find below... (6 Replies)
Discussion started by: makauser
6 Replies
LEARN ABOUT CENTOS
pesign-client
PESIGN-CLIENT(1) General Commands Manual PESIGN-CLIENT(1)NAME
pesign-client - command line tool for signing UEFI applications
SYNOPSIS
pesign [--in=infile | -i infile]
[--out=outfile | -o outfile]
[--export=exportfile | -e exportfile]
[--token=token | -t token]
[--certificate=nickname | -c nickname]
[--unlock | -u] [--kill | -k] [--sign | -s]
[--pinfd=pinfd | -f pinfd]
[--pinfile=pinfile | -F pinfile]
DESCRIPTION
pesign is a command line tool for manipulating signatures and cryptographic digests of UEFI applications.
OPTIONS --unlock
Unlock the specified token. A PIN - specified by one of --pinfd, --pinfile, or the environmental variable PESIGN_TOKEN_PIN - is
required for this operation to succeed. The PIN may be empty, if that is what is required for the token specified with --token.
--pinfd=pinfd
When using --unlock, read the token's PIN from the open file descriptor pinfd.
--pinfile=pinfile
When using --unlock, read the token's PIN from the file pinfile.
--sign
Sign the binary specified by infile.
--detached
When used with --sign, write the signature to outfile.
--in=infile
When used with --sign, specify the input binary.
--out=outfile
When used with --sign, specify output file. If --detached is specified, this will be a DER-formatted signature. Otherwise, the
output will be the signed PE binary.
--token=token
When used with --unlock or --sign, use the specified NSS token's certificate database.
--certificate=nickname
When used with --sign, use the certificate database entry with the specified nickname for signing.
--kill
Terminate the signing server.
SEE ALSO pesign(1)AUTHORS
Peter Jones
Mon Oct 15 2012 PESIGN-CLIENT(1)