Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Using tee command with ablity to provide input for prompts Post 303007831 by Scott on Wednesday 22nd of November 2017 06:38:24 AM
Old 11-22-2017
If you provide the -y option to yum, you won't be asked about it. In case there are multiple questions (such as when it's also asking you about GPG keys), you may consider piping yum through yes, or creating a response file and piping that through yum.
This User Gave Thanks to Scott For This Post:
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

script providing input to application prompts

Hi! I want to write a script that will create an archive (via tar) that will restrict the size of the tar file. The size can be constrained using the keyword 'k' and providing the size restriction. The problem is that the script needs to know (detect) when the tar command prompts the user (which... (2 Replies)
Discussion started by: mitch8
2 Replies

2. Shell Programming and Scripting

log script input and output using tee ?

hi, new to to forum... i've been trying to create a script in tcsh but i'm having a problem with one thing... the script has to keep log of it's input and output so i'm using tee -a log | script | tee -a log this keeps the logs as asked, but it gives me an extra empty prompt (not in the... (0 Replies)
Discussion started by: moseschrist
0 Replies

3. Shell Programming and Scripting

running a command without having to provide the path

ok, i am aware of adding the directory where the files are located into the .profile file but the problem is, its not working for me. can someone please spell out how to properly edit these configuration files so i can run a command anywhere on the system without having to be in the... (2 Replies)
Discussion started by: Terrible
2 Replies

4. Solaris

pkgadd pkgask still prompts for user input

I create a succesful pkgask 'response' file: pkgask -r xyz.pkg I then attempt to use the 'response' file with pkgadd: pkgadd -nr /home/user/response -d /home/user/xyz.pkg the prompts for user input still appear. I have also tried an 'admin' file but that still prompts for user input as... (1 Reply)
Discussion started by: prkfriryce
1 Replies

5. Shell Programming and Scripting

tee + more command

script1: #!/bin/ksh more test.txt script2: calling the script1 #!/bin/ksh /tmp/script1.sh 2>&1 | tee tee.log where test.txt contains ~1200 lines. When I execute the script2 the more command does not print pagewise it goes to the end of the line, when I remove the tee command it... (4 Replies)
Discussion started by: prasad111
4 Replies

6. Shell Programming and Scripting

Provide input in sqlplus script

Hi guys. I m creating scripts which input multiple value , inside sqlplus script when it prompt/accept do anybody know how to provide multiple value inside sqlplus script when it prompt. like, enter value for first: enter value for second: enter value "save file as " : I m try... (11 Replies)
Discussion started by: tapia
11 Replies

7. UNIX for Advanced & Expert Users

Equivalents of tee command to find exit status of command

Hi, Want to log the output of command & check the exit status to find whether it succeeded or failed. > ls abc ls: abc: No such file or directory > echo $? 1 > ls abc 2>&1 | tee log ls: abc: No such file or directory > echo $? 0 Tee commands changes my exit status to be always... (7 Replies)
Discussion started by: vibhor_agarwali
7 Replies

8. Shell Programming and Scripting

how to run a command line with another user without prompts for password

Hi, I'm writing a script, in the script I need to use tcpdump to capture some packets however it needs root priviledge my computer is configured by school and I have no real root priviledge so I can't use sudo on my computer,like Code: sudo tcpdump ...... I have to use a limited... (1 Reply)
Discussion started by: esolve
1 Replies

9. Shell Programming and Scripting

Help with tee command

In the current directory , I have seven files . But when I use the following command , it lists eight files ( 7 files + file_list.xtx) ls -1 | tee file_list.xtx | while read line; do echo $line ; done Does the tee command create the file_list.xtx file first and then executes the ls -1... (1 Reply)
Discussion started by: kumarjt
1 Replies

10. Shell Programming and Scripting

Provide 2 inputs when prompts

Hi All, I am a novice to UNIX, i need to know is there a way to provide 2 inputs when the shell prompts and i need to assign those 2 values to 2 separate variables. I dont want to give those values as a arguments (while running the script). Thanks in advance!! (1 Reply)
Discussion started by: prasanna2166
1 Replies
YUM-CHANGELOG(1)						   User Manuals 						  YUM-CHANGELOG(1)

NAME
yum-changelog SYNOPSIS
The yum-changelog package DESCRIPTION
yum-changelog(1) is a Yum plugin for viewing package changelogs before/after updating. yum will invoke yum-changelog(1) plugin if the --changelog option or the changelog command is used with yum. OPTIONS
--changelog Show changelog delta of updated packages COMMANDS
changelog Show changelog data of packages listed (same format as the list command). The first argument is required and is either "all" for all the changelog entries, a date for the changelog entries since a specified point in time or a number for a given number of changelog entries. FILES
/etc/yum/pluginconf.d/changelog.conf The system wide configuration file. See yum-changelog.conf(5) for more information. EXAMPLES
# yum changelog 2008-Jan yum* Listing changelogs since: 2008-01-18 yum-versionlock-1.1.11-1.fc8.noarch installed * Wed Jan 30 17:00:00 2008 Tim Lauridsen <timlau@fedoraproject.org> - mark as 1.1.11 changelog stats. 33 pkgs, 12 source pkgs, 1 changelog # yum update ktechlab --changelog Loading "changelog" plugin Setting up Update Process Setting up repositories [..] Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Package ktechlab.i386 0:0.3-6 set to be updated --> Running transaction check Changes in packages about to be updated: ktechlab - 0.3-6.i386 * Wed Nov 22 23:00:00 2006 Chitlesh Goorah - 0.3-6 - Rebuilt due to new gpsim-devel release BUGS
There are of course no bugs, but should you find any, you should first consult the FAQ section on http://yum.baseurl.org/wiki/Faq and if unsuccessful in finding a resolution contact the mailing list: yum-devel@lists.baseurl.org. To file a bug use http://bugzilla.redhat.com for Fedora/RHEL/Centos related bugs and http://yum.baseurl.org/report for all other bugs. AVAILABILITY
yum-changelog is available via: # yum install yum-changelog AUTHORS
Chitlesh Goorah <chitlesh@fedoraproject.org> Panu Matilainen <pmatilai@laiskiainen.org> James Antill <james@and.org> SEE ALSO
yum(1) 08 February 2007 YUM-CHANGELOG(1)
All times are GMT -4. The time now is 05:06 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy