10-10-2012
I think it is good to sometime build apps without using tools like yum and aptitude, from time to time.
It's good to keep our skills current on how to actually troubleshoot library problems that arise; and to just depend on tools like yum or aptitude hides what is going on.
... kind of like when people use a GUI to do things they can do in the shell easier; they start to lose their core / basic understanding of the shell and the filesystem, etc.
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Howdie everyone...
I have a shell script RemoveFiles.sh
Inside this file, it only has two commands as below:
rm -f ../../reportToday/temp/*
rm -f ../../report/*
My problem is that when i execute this script, nothing happened. Files remained unremoved. I don't see any error message as it... (2 Replies)
Discussion started by: cheongww
2 Replies
2. Shell Programming and Scripting
Hi,
I have a challenging task,in which i have to find the duplicate files by its name and size,then i need to take anyone of the file.Then i need to open the file and find for more than one pattern and count of that pattern.
Note:These are the samples of two files,but i can have more... (2 Replies)
Discussion started by: jerome Sukumar
2 Replies
3. UNIX and Linux Applications
Hello all,
I need help for build server call as Password management / centralized password management server.
My situation and example:
I have 600 server in my server room running on Linux then I need 1 server only can create login/password and then user can login to all 600 server no... (2 Replies)
Discussion started by: sheikh76
2 Replies
4. IP Networking
I have a client machine that was built and loaded with SCO UNIX 2.1.3, (yes it is old). The machine worked fine on the closed network that I tested on in my shop. I then had to change it to the network that it would be connected to. Below is the host file, router and subnet mask file that I usually... (0 Replies)
Discussion started by: NC user
0 Replies
5. IP Networking
Hello all,
I was wondering which way do you use to manage you IPs?
For example in our case we have excel sheets and we export them in html first and import it to a server running apache, so to be visible from all.
But i was wondering if there are any way (prefer a way running in web server)... (2 Replies)
Discussion started by: @dagio
2 Replies
6. Shell Programming and Scripting
My script work on Linux but not work in sun os.
my script.
logFiles="sentLog1.log sentLog2.log"
intial_time="0 0"
logLocation="/usr/local/tomcat/logs/"
sleepTime=600
failMessage=":: $(tput bold)Log not update$(tput rmso) = "
successMessage="OK"
arr=($logFiles)... (7 Replies)
Discussion started by: ooilinlove
7 Replies
7. IP Networking
hi all. and sorry for the random question, but this sparkled a raging flame-war at work and i want more points of view
situation
a router, with linux of some sort,
dhcp client requesting for ip in wan1 (as usual with wan ports)
dhcp server listening in lan1, and assigning ip (as usual... (9 Replies)
Discussion started by: broli
9 Replies
8. What is on Your Mind?
Original post from this thread on browser caching.
To add to this, it is an effective security measure to clear absolutely all cached data (cookies, web content, ....) when closing the browser - i.e. in case of a shutdown. It takes a bit of work to re-login to all the sites but websites will not... (7 Replies)
Discussion started by: bakunin
7 Replies
LEARN ABOUT CENTOS
yum-shell
yum(8) yum(8)
NAME
yum - Yellowdog Updater Modified shell
SYNOPSIS
yum shell [filename]
DESCRIPTION
yum includes an interactive shell for conducting multiple commands or sets of commands during a single execution of yum. These commands can
be issued manually or passed to yum from a file. The commands are much the same as the normal yum command line options. See here yum(8) for
that information. There are a few additional commands documented below.
config
[argument] [value]
args: debuglevel, errorlevel, obsoletes, gpgcheck, assumeyes, exclude
If no value is given it prints the current value.
If value is given it sets that value.
repo
[argument] [option]
list: lists repositories and their status
enable: enable repositories. option = repository id
disable: disable repositories. option = repository id
transaction
[argument]
list: lists the contents of the transaction
reset: reset (zero-out) the transaction
solve: run the dependency solver on the transaction
run: run the transaction
Examples
The following are examples of using the yum shell.
list available packagename*
groupinfo 'Some Group'
install foo
remove bar
update baz
run
That will list available packages matching the glob 'packagename*'. It will return information on the group 'Some Group' It will
then queue the following commands into the transaction: install foo, remove bar, update baz. Then the 'run' command will resolve
dependencies for the transaction commands and run the transaction.
SEE ALSO
yum (8)
http://yum.baseurl.org/
AUTHORS
See the Authors file included with this program.
BUGS
There of course aren't any bugs, but if you find any, they should be sent to the mailing list: yum@lists.baseurl.org or filed in bugzilla.
Seth Vidal yum(8)