How to list the install date for RPM packages
rpm -qa –queryformat ‘%{installtime} %{name}-%{version}-%{release} %{installtime:date}\n’ | sort -nr +1 | sed -e ’s/^[^ ]* //’
How to list the install date for RPM packages
rpm -qa –queryformat ‘%{installtime} %{name}-%{version}-%{release} %{installtime:date}\n’ | sort -nr +1 | sed -e ’s/^[^ ]* //’
Tags: Uncategorized
I wanted to default the configuration of a number of ports on an old Cisco 3548. The latest version of IOS support on this system does not support the range command, so, had to manually run a small script (bash 1 liner on linux) and paste in the contents:
$ for i in `seq 40 [...]
Tags: Cisco · Coding · Networking · One Liners · Uncategorized
Installed Gnokii from the standard Ubuntu lucid repositories, however, it installed Gnokii 0.6.28. This was fine, but, upon testing came across an issue.
Notes: Phone Nokia 7250, Cable CA-42
Running in debug mode:
# gnokii –sendsms +MOBILE_NUMBER
….
debugging information
…
Please enter SMS text. End your input with <cr><control-D>:
would work fine to this stage. On entering a message it would some [...]
Tags: Linux · Networking · Operating System · Uncategorized
~]# vzquota show 102
vzquota : (warning) Quota is running, so data reported from quota file may not reflect current values
resource usage softlimit hardlimit grace
1k-blocks 95325856 104857600 104857600
inodes 683893 2000000 2200000
~]# vzquota setlimit 102 -b 113246208 -B 113246208
~]# vzquota show 102
vzquota : (warning) Quota is running, so data reported from quota file may [...]
Tags: Linux · Operating System · Uncategorized · Virtualisation
Installing Ubuntu on a new Dell R410 works, however, the network interfaces are not detected. It appears the network interfaces included in the Dell R410 are Broadcom BCM5716’s.
Apparently the bnx2 driver in included in Ubuntu 8.10 and later, however, no backported driver has been provided as yet.
A process for getting the interfaces working would be [...]
Tags: Linux · Networking · Operating System · Uncategorized