Tag: — tepezcuintle @ 22:18
RPM Commands
by Jeff Hunter, Sr. Database Administrator
This document contains an overview of the principal RPM commands for
installing, uninstalling, upgrading, querying, listing, and checking RPM packages
on your Red Hat Linux system.
# rpm -ivh foo-2.0-4.i386.rpm
# rpm -i ftp://ftp.redhat.com/pub/redhat/RPMS/foo-1.0-1.i386.rpm
# rpm -i http://oss.oracle.com/projects/firewire/dist/files/kernel-2.4.20-18.10.1.i686.rpm
Used to install a RPM package. Note that RPM packages have file naming conventions
like foo-2.0-4.i386.rpm, which include the package name (foo), version (2.0), release (4),
and architecture (i386). Also notice that RPM understands FTP and HTTP protocols for installing
and querying remote RPM files.
# rpm -e foo
To uninstall a RPM package. Note that we used the package name foo,
not the name of the original package file foo-2.0-4.i386.rpm above.
# rpm -Uvh foo-1.0-2.i386.rpm
# rpm -Uvh ftp://ftp.redhat.com/pub/redhat/RPMS/foo-1.0-1.i386.rpm
# rpm -Uvh http://oss.oracle.com/projects/firewire/dist/files/kernel-2.4.20-18.10.1.i686.rpm
Continua”RPM is your friend”
Tag: — tepezcuintle @ 2:38
One of the Linux command line tools I had initially under-estimated is netcat or just nc. By default, netcat creates a TCP socket either in listening mode (server socket) or a socket that is used in order to connect to a server (client mode). Actually, netcat does not care whether the socket is meant to be a server or a client. All it does is to take the data from stdin and transfer it to the other end across the network.
Continua”Cool stuff you can do with netcat”
Tag: — tepezcuintle @ 20:25
Introduction
Bash features a lot of built-in checks and comparisons, coming in quite handy in many situations. You’ve probably seen if statements like the following before:
if [ $foo -ge 3 ]; then
The condition in this example is essentially a command. It may sound strange, but
surrounding a comparison with square brackets is the same as using the
built-in test command, like this:
Continua”Conditions in bash scripting ( if statements )”
Tag: — tepezcuintle @ 5:43
For Linux users who are fortunate enough to be playing with the Desktop Effects on their favorite Linux distribution - mine is Ubuntu, here’s a list of keyboard shortcuts for the Compiz Fusion Desktop Effects that you may have been looking for. I have put together a list mainly because I’ve had a hard time finding a comprehensive list from a single location. I may have missed something, so please let me know. One more thing, the Super key is the Windows key in case you are wondering. Here are the shortcuts.
Continua”Compiz Fusion Keyboard shortcuts”