I'm using a read-while loop to preserve the word Failed within a text file. For example, if the word Failed exist twice in a single text file, my STDOUT should re-direct to a new text file and display Failed twice.
My output is attached to this thread. I would like output to display only 5 lines not 20 lines. Based on my script, my echo command is only calling variable one time, not four times, according to script output.
Below is my script:
I don't know exactly what is going on with output. Any suggestions on how to fix my output. My goal is to have output look like this:
Hi, I have a Ultra5 440MHz system running Solaris 2.6 (Rev 5.6) and have a problem with the keyboard. When I push a key it prints characters very quickly. If I push a key very fast I get maybe 3 characters.
So, I am thinking bad keyboard. I borrow a known good keyboard, samething and the... (3 Replies)
I am trying get "df -k" output from multiple hosts along with their hostnames via ssh, my script is appending the "df -k" output from all the nodes to a single file but not getting the hostnames for those nodes, just wondering how to pass more than one command via ssh or may be someone could come... (6 Replies)
Hello. I have an AIX machine at 6100-00.
We had some strange activity since filling up /tmp. One symptom is that who -r displays no output. It doesn't hang just no output is displayed.
We are going to boot the machine, but prior to that I'd like to dig a bit to see what may be causing the... (0 Replies)
hey, I'm trying to create the command that will create a file named user.txt that contains the output of the command cut -d: -f1,5 /etc/passwd, and displays itself afterwards.
I don't know how to bridge cat > user.txt with cut -d: -f1,5 /etc/passwd, or how display it afterwards. Any help would... (2 Replies)
Helllo UNIX Forum :)
Since I am posting on this board, yes, I am new to UNIX!
I read a copy of "UNIX made easy" from 1990, which felt like a making a "computer-science time jump" backwards ;)
So, basically I have some sort of understanding what the basic concept is.
Problem Description:... (6 Replies)
This is for an Oracle journal import. I was using a pl/sql package and oracle API's. Oracle added invoker rights to their API's and now my package won't run. I didn't want to use their API's anyway. The only reason i was using pl/sql and the API's (just a package) was to utilize a cursor. How... (2 Replies)
when i use ls command it works normal but when i using additional parameter with ls like ls -l , ls -a... it shows a error followed by the output.
# ls -l
./hgfs: Operation not applicable
total 12861
-rw-r--r-- 1 root root 0 Jun 1 21:12 1
drwxr-xr-x 2 root root ... (4 Replies)
Hello all! I am writing a script that takes in a directory name as input and if the directory exists, it shows the files inside the directory
here is what I have so far (incomplete) (mostly like pseudocode)
#/bin/sh
echo Please enter the name of a directory
read dir
grep $dir... (2 Replies)
Hi all,
I want to do an Unix Script to save the 'nmon' output on a text file and I don't know how to do it.
I need a Script for each monitoring and also one to multiple monitorings.
Thanks (6 Replies)
Discussion started by: Javi1990
6 Replies
LEARN ABOUT CENTOS
pk-debuginfo-install
PK-DEBUGINFO-INSTA(1) [FIXME: manual] PK-DEBUGINFO-INSTA(1)NAME
pk-debuginfo-install - Debugging Packages Installer
SYNOPSIS
pk-debuginfo-install [--help] [--verbose] [--simulate] [--no-depends]
DESCRIPTION
This manual page documents briefly the pk-debuginfo-install command.
pk-debuginfo-install is the command line client for installing debuginfo packages.
WHY DO I NEED DEBUGINFO PACKAGES ?
When a program crashes, it's often useful to send the developer a backtrace which contains symbol names and variable contents, rather than
memory addresses. To make this possible, extra packages called debug packages can be installed.
OPTIONS
This program follows the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included
below.
--help
Show summary of options.
--noninteractive
Do not be interactive and skip the confirmation before the packages are installed.
--verbose
Show extra debugging information.
--simulate
Don't actually install any packages, only simulate what would be installed.
--no-depends
Do not scan for, or install dependencies of the core packages.
--quiet
Do not display information or progress to the terminal.
RETURN VALUES
0
Success, at least one package was installed
1
Failed with miscellaneous internal error.
3
Failed to get software sources list.
4
Failed to enable software sources.
5
Failed as nothing to do.
6
Failed to find dependent packages.
7
Failed to install.
8
Failed to disable software sources.
SEE ALSO
pkmon (1). pkcon(1).
AUTHOR
This manual page was written by Richard Hughes <richard@hughsie.com>.
COPYRIGHT
Copyright (C) 2009 Richard Hughes
[FIXME: source] 29 July,2009 PK-DEBUGINFO-INSTA(1)