Archive for the ‘Linux’ Category

Retrieve Your Public IP Address From The Command Line.

There are many reasons that you want to know your public IP address and getting that is easy by visiting some of the sites that allow you to view that information, but what if you wanted to do it from the command line? What if you wanted to script that? To upload the result to [...]

Comments (13)

Convert And Download Youtube Videos Online.

While it is not new that Youtube videos can be downloaded to a local drive, now you can convert the format to a Windows or Mac friendly formats even before downloading the videos to your local drive.
This has been done using expensive software in the past, but now it is done online, and for free.
To [...]

Comments (2)

How To Find Files And Folders In Linux.

This is “find” command tutorial.
The command find will search location you specify for files that match the supplied search criteria.
The search is recursive which means that find will search the location that you specify and all the subdirectories that it find in there.
If you type
# find –help
You’ll see the help text which starts by listing:
Usage: [...]

Comments (4)

Installing Yum On Redhat Enterprise Linux 4.

I have one server hosted by a third party which runs Red Hat Enterprise Linux 4 and it doesn’t have yum installed.
To install yum on Red Hat Enterprise Linux 4 you need to install the dependencies first.
Here is a quick and dirty way of doing it.
First download all the required packages.
Download the main yum rpm.
# [...]

Comments (2)

How to Manually Add A Repository To Yum.

Some 3rd part repositories have their own rpm that you can use.
Here is how to do it manually in Cent OS.
For example if you have a repository that exists at subdomain.domain.com.
Note: Replace subdomain, domain, and com with your link.
# cd /etc/yum.repos.d
Add a file that points to the repository name and location.
# nano subdomain
Now type the [...]

Comments (4)