view counter

Linux Feed

Linux Support, Oracle Linux, Red Hat Enterprise Linux, SUSE, Oracle Unbreakable Enterprise Kernel and the Oracle Unbreakable Linux Support Program (ULN) resources, news, and support articles.

How to Remove Write Protection of any Flash Drives/Memory Cards

http://way2usefulinfo.blogspot.com/2014/07/how-to-remove-write-protection-of-any.html

Upcoming new v8-stable

A new rsyslog v8-stable is coming up soon. It will not just be the next iteration of 8.2, instead it will be a new feature release based on the current 8.3 devel. So be prepared to welcome 8.4. Frequent followers may wonder why 8.4 is ready. Originally, we planned to release it after the summer break. The reason is simple: its ready to come up, albeit with a little less functionality than originally anticipated.

Ping all IP’s in a subnet

 
We can use nmap command to ping all IP’s in subnet.
If you don’t have nmap installed in your machine install nmap with following command:
$ apt-get install nmap
Use following command to ping all IP’s in a subnet:
$ nmap -n -sP 192.168.2.0/26
Output:

Ping all IP’s in a subnet

 
We can use nmap command to ping all IP’s in subnet.
If you don’t have nmap installed in your machine install nmap with following command:
$ apt-get install nmap
Use following command to ping all IP’s in a subnet:
$ nmap -n -sP 192.168.2.0/26
Output:

How to resize a picture using command-line tools

Occasionally, I need to resize an image. For instance, Google+ refuses to use my favorite portrait as my profile picture. The reason is that the portrait is smaller than the minimum requirement of 250 x 250 pixels. To scale the image, I can opt for a GUI tool such as GIMP or Pinta. This post explores the scaling of pictures using command-line tools.

mutt – send mails with attachments

 
By using mutt we can send mails with attachments from command line.
Install mutt:
$ apt-get install mutt
Send mail with attachment:
$ mutt -s "PFA" -a attachment.txt user@example.com < body.txt

or

$ echo "body text here" | mutt -s "PFA" -a t.txt user@example.com
Send mail without attachment:

mutt – send mails with attachments

 
By using mutt we can send mails with attachments from command line.
Install mutt:
$ apt-get install mutt
Send mail with attachment:
$ mutt -s "PFA" -a attachment.txt user@example.com < body.txt

or

$ echo "body text here" | mutt -s "PFA" -a t.txt user@example.com
Send mail without attachment:

Top 10 Cloud Computing Certifications

http://www.cio.com/slideshow/detail/129043#slide10

How to fix yum [Errno -1] Metadata file does not match checksum

I recently upgraded my local yum repository server to RHEL6. After upgrading I noticed the below error when my el5 clients would attempting to install packages from the local repo with yum. [Errno -1] Metadata file does not match checksum Trying other mirror As it turns out the default checksum type was changed when upgrading […]

How to rename files in bulk

Consider this common scenario. A directory contains multiple files that are named using a common convention: for example, image-001.png, image-002.png, image-003.png, etc. You want to rename the files to, say, upload-001.png, upload-002.png, upload-003.png, etc. The coders among us can write a bash script to automate the process. For expedience, this post shows how to use the built-in rename command to achieve the same goal.

view counter