Sponsored Content
Top Forums Shell Programming and Scripting Remove all kernel except 2.6.18-308.24.1.el5 Post 302747077 by adam25ca on Thursday 20th of December 2012 01:18:51 PM
Old 12-20-2012
Remove all kernel except 2.6.18-308.24.1.el5

Hello All,

I would like to remove all kernel in the system except 2.6.18-308.24.1.el5.
I was trying something like

Code:
rpm -qa|grep kernel|grep -v 2.6.18-308.24.1.el5|yum remove

it did not work. any help?

Thanks
 

5 More Discussions You Might Find Interesting

1. SuSE

max number of slabs per kernel module (kernel 2.6.17, suse)

Hi All, Is there a max number of slabs that can be used per kernel module? I'm having a tough time finding out that kind of information, but the array 'node_zonelists' (mmzone.h) has a size of 5. I just want to avoid buffer overruns and other bad stuff. Cheers, Brendan (4 Replies)
Discussion started by: Brendan Kennedy
4 Replies

2. IP Networking

Mac Filtering in REDHAT-el5

Need help to filter the MAC address for the specific ipaddress., HOW?? I had try the rule for: iptables -A FORWARD -i eth1 -s 192.168.129.57 -m mac --mac-source 00:02:6F:48:8A:85 -j ACCEPT But Not working now and if you have any alternate solution Help us.:confused::confused: (1 Reply)
Discussion started by: thakshina
1 Replies

3. Solaris

Which file is read by kernel to set its default system kernel parameters values?

Hi gurus Could anybody tell me which file is read by kernel to set its default system kernal parameters values in solaris. Here I am not taking about /etc/system file which is used to load kernal modules or to change any default system kernal parameter value Is it /dev/kmem file or something... (1 Reply)
Discussion started by: girish.batra
1 Replies

4. Red Hat

Remove older kernel

I upgraded from 2.6.32 to the 2.6.37.4 kernel and i 'm now booted from the new kernel .. but the size of the root file system / is increased substantially due to /usr/src .. and the new kernel is working fyn for us .. so i would like to remove the older kernel .. i tried to remove the 2.6.32... (6 Replies)
Discussion started by: fugitive
6 Replies

5. Linux

Unload kernel module at boot time (Debian Wheezy 7.2, 3.2.0-4-686-pae kernel)

Hi everyone, I am trying to prevent the ehci_hcd kernel module to load at boot time. Here's what I've tried so far: 1) Add the following line to /etc/modprobe.d/blacklist.conf (as suggested here): 2) Blacklisted the module by adding the following string to 3) Tried to blacklist the module... (0 Replies)
Discussion started by: gacanepa
0 Replies
ZGREP(1)						      General Commands Manual							  ZGREP(1)

NAME
zgrep - search possibly compressed files for a regular expression SYNOPSIS
zgrep [ grep_options ] [ -e ] pattern filename... DESCRIPTION
Zgrep invokes grep on compressed or gzipped files. These grep options will cause zgrep to terminate with an error code: (-[drRzZ]|--di*|--exc*|--inc*|--rec*|--nu*). All other options specified are passed directly to grep. If no file is specified, then the standard input is decompressed if necessary and fed to grep. Otherwise the given files are uncompressed if necessary and fed to grep. If the GREP environment variable is set, zgrep uses it as the grep program to be invoked. EXIT CODE
2 - An option that is not supported was specified. AUTHOR
Charles Levert (charles@comm.polymtl.ca) SEE ALSO
grep(1), gzexe(1), gzip(1), zdiff(1), zforce(1), zmore(1), znew(1) ZGREP(1)
All times are GMT -4. The time now is 12:00 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy