• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/37

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

37 Cards in this Set

  • Front
  • Back
  • 3rd side (hint)

What does the -h switch do?

sets a hash-mark progress indicator

What rpm switch prints percentage progress?

--percent

What switch is used to query all installed packages?
-a

-bash-3.2# rpm -qa
libcap-1.10-26
make-3.81-3.el5
libICE-1.0.1-2.1
time-1.7-27.2.2
hesiod-3.1.0-8
libSM-1.0.1-3.1
desktop-file-utils-0.10-7
libXdmcp-1.0.1-2.1
svrcore-4.0.4-3.el5
libcroco-0.6.1-2.1
setserial-2.17-19.2.2
zip-2.31-2.el5
eject-2.1.5-4.2.el5
libaio-0.3.106-5
libXrender-0.9.1-3.1
libXfontcache-1.0.2-3.1
redhat-logos-4.9.16-1
fontconfig-2.4.1-7.el5
ntsysv-1.3.30.2-2.el5
xorg-x11-utils-7.1-2.fc6
readahead-1.3-8.el5
mlocate-0.15-1.el5.2
rhel-instnum-1.0.9-1.el5
dbus-python-0.70-9.el5_4
mkbootdisk-1.5.3-2.1
pstack-1.2-7.2.2
pygtk2-libglade-2.10.1-12.el5
gnome-doc-utils-0.8.0-2.fc6


 

What does rpm -p do?


 


'-p, --package URLFILE'

queries package not installed


 


'Query an (uninstalled) package URLFILE.'

What two switches display the capabilities requirements of a package?

-R and --requires

What switch is used to specify the rpm database path?

--dbpath

What rpm switch tells rpm to only perform installation tests?
--test
What switch causes rpm to ignore package and file conflicts?
--force
What does the switch -w do?
displays debugging information
What is the switch -c used for?

displaying a list of configuration files

What is the switch -d used for?

displaying a list of documentation files

What does the rpm switch
--replacefiles do?
allows rpm to replace files owned by another package
What 2 switches are used to verify package files?
-K and --checksig
What rpm switch tells rpm to replace a package with a new copy?
--replacepkgs
What switch is used to remove one or more packages?

-e

What switch will display all verifiable information about each file?
--dump

-bash-3.2# rpm -ql --dump tcpdump
/usr/sbin/tcpdump 784824 1257953438 a93a54adadd068e2313812fdc2bc536b 0100755 root root 0 0 0 X
/usr/sbin/tcpslice 148568 1257953438 5e64d0b70b1b07cd71d852c18d62129a 0100755 root root 0 0 0 X
/usr/share/doc/tcpdump-3.9.4 4096 1257953438 00000000000000000000000000000000 040755 root root 0 0 0 X
/usr/share/doc/tcpdump-3.9.4/CHANGES 28717 1127196334 7f33ed98d79f4ab387cc54e05a6acfd4 0100644 root root 0 1 0 X
/usr/share/doc/tcpdump-3.9.4/LICENSE 873 971131104 1d4b0366557951c84a94fabe3529f867 0100644 root root 0 1 0 X
/usr/share/doc/tcpdump-3.9.4/README 9788 1097546519 bb7dcf46556b19088f48b2182507ce5e 0100644 root root 0 1 0 X
/usr/share/man/man8/tcpdump.8.gz 24781 1257953437 7c02bd98a865e3c76670e306cf69f9b2 0100644 root root 0 1 0 X
/usr/share/man/man8/tcpslice.8.gz 3743 1257953437 c997004020e67b20c164993c7cdba16e 0100644 root root 0 1 0 X

What does the rpm query switch -i do?


 


'rpm -qi tcpdump'

displays summary package information

 


-bash-3.2# rpm -qi tcpdump
Name        : tcpdump                      Relocations: /usr
Version     : 3.9.4                             Vendor: Red Hat, Inc.
Release     : 15.el5                        Build Date: Wed 11 Nov 2009 10:30:39 AM EST
Install Date: Wed 13 Oct 2010 04:20:44 PM EDT      Build Host: ls20-bc2-14.build.redhat.com
Group       : Applications/Internet         Source RPM: tcpdump-3.9.4-15.el5.src.rpm
Size        : 1001294                          License: BSD
Signature   : DSA/SHA1, Mon 23 Nov 2009 03:56:23 AM EST, Key ID 5326810137017186
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL         : http://www.tcpdump.org
Summary     : A network traffic monitoring tool.
Description :
Tcpdump is a command-line tool for monitoring network traffic.
Tcpdump can capture and display the packet headers on a particular
network interface or on all interfaces.  Tcpdump can display all of
the packet headers, or just the ones that match particular criteria.


Install tcpdump if you need a program to monitor network traffic.

What does rpm -s do?

displays the state of each file in a package
What two switches are used to verify installed packages?

-v and --verify

What two switches can be used to upgrade a package?

-U and --upgrade

What switch shows the scripts associated with a package?
--scripts
What switch tells rpm not to verify package architecture?
--ignorearch
What is the most basic rpm installation command?
rpm -i
What switch tells rpm to install documentation?

--includedocs

What does the rpm switch --oldpackage do?
allows upgrading to an older package
What does rpm -f do?
queries the package owning
What is the most common rpm installation command?
rpm -ivh
What switch tells rpm not to check dependencies?
--nodeps
What rpm switch will set an alternate root path?
--root
What 2 switches can be used to query installed packages?
-q and --query
What does the switch --provides do?
displays the capabilities a package provides
What two switches will display queried data in a custom format?
--qf or --queryformat
What does rpm --whatprovides do?
Displays which packages provide capability
What does the -v switch do?
sets mode to verbose
What switch tells rpm not to run pre- and post-install scripts?

--noscripts

What does the switch -l do?
displays a list of files in a package
What does rpm --whatrequires do?
Queries packages requiring capability