Occasionally I get a PC in my shop which has a broken or non working cd drive. One of the mail tools I use is a disk called Hirens Boot CD. Yes I know its considered Warez however it is by far the best collection of tools for a PC tech around so I use it all the time. I will leave finding the actual disc up to you however once you have it you may want to create a USB drive with Hirens for situations when you dont have your cd or the cd option is unavailable.
I have an iPod Touch 2G that is fairly messed up and both the power button and home buttons are currently not working properly which makes taking screenshots much harder than normal in iPhone firmware 2.X and 3.X. If you have installed Cydia however on your iPhone or iPod Touch then you can launch the screen capture from the command line without issue. Once you have taken a screen capture you can then email the photos to yourself or SCP (Secure Copy) them to your computer. To launch the iPhone screen capture utility from the command line follow the directions below.
To find out how to install a certain command or utility via yum you can use list or the “whatprovides” option as shown below.
This is an example of using yum with the list option to find any packages with “send” in the name.
- yum list *SEND*
Using this command will provide results like the below.
- [root@server ~]# yum list *SEND*
- Loading "installonlyn" plugin
- Setting up repositories
- Reading repository metadata in from local files
- Available Packages
- mgetty-sendfax.x86_64 1.1.33-9.fc6 base
- nautilus-sendto.x86_64 0.7-5.fc6 base
- nautilus-sendto-bluetooth.x86_64 0.7-5.fc6 base
- perl-Email-Send.noarch 2.192-2.el5.rf rpmforge
- perl-Jabber-SimpleSend.noarch 0.03-1.el5.rf rpmforge
- perl-Mail-SendVarious.noarch 0.3-1.el5.rf rpmforge
- perl-Mail-Sender.noarch 0.8.16-1.el5.rf rpmforge
- perl-Mail-Sendmail.noarch 0.79-1.2.el5.rf rpmforge
- perl-Net-SenderBase.noarch 1.01-1.el5.rf rpmforge
- perl-X11-SendEvent.noarch 1.3-1.2.el5.rf rpmforge
- sendip.x86_64 2.5-2.el5.rf rpmforge
- sendmail.x86_64 8.13.8-2.el5 base
- sendmail-cf.x86_64 8.13.8-2.el5 base
- sendmail-devel.x86_64 8.13.8-2.el5 base
- sendmail-devel.i386 8.13.8-2.el5 base
- sendmail-doc.x86_64 8.13.8-2.el5 base
If you are unable to provide the command or utility you are looking for using the list option then try whatprovides as shown below when trying to install iostat.
The iostat command is used to check disk input/output statistics in real time. The iostat utility is installed with yum via the sysstat package as shown below.
- yum install sysstat
Issuing this command will look similar to the below and provide the iostat command when finished.
Installing nmap on CentOS Linux is very easy using the yum utility. Just issue the below command from the CLI and nmap will be installed.
- [root@server ~]# yum install nmap
Using nmap is easy. The below performs the default scan on an IP address.
- [root@server ~]# nmap IPADDRESS