LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

A random selection from Ghostscript 9.05

Posted 04-01-2012 at 10:55 AM by SourceHorse
Updated 04-01-2012 at 10:57 AM by SourceHorse (correct order of lines 4 and 5)

Code:
 _______    |\_
| o   o |   /o \\
| o   o |  (_. ||
| o   o |   /__\\
'-------'   )___(

The Source Horse
Article 1
A random selection from Ghostscript 9.05
Introducing The Source Horse: a trail log of free program execution paths. Like architecture, programming should be done with great care. This will be about reading programs, not writing them. I will start with ghostscript. Ghostscript is a portable implementation of PostScript,...
LQ Newbie
Posted in Uncategorized
Views 522 Comments 0 SourceHorse is offline
Old

Streamripper and friends. Recording internet radio.

Posted 04-01-2012 at 10:31 AM by stretchedthin

Streamripper is a linux command line application that makes it easy to record internet radio. As well as showing how to use this command line tool I take a look at StreamRipStar one of the many front ends for Streamripper. A little bit of audacity editing is thrown in at the end as well.

Here is the screencast
Streamripper and friends. Recording internet radio.
Member
Posted in Uncategorized
Views 626 Comments 0 stretchedthin is offline
Old

Bash functions to list and kill or send signals to process trees

Posted 03-31-2012 at 11:54 PM by konsolebox
Updated 06-14-2015 at 08:54 AM by konsolebox

These functions can be used in scripts or interactive shells to manipulate process trees. At least bash version 3.0 is needed. May also work with some earlier versions.

kill_tree - Creates a list of processes based from a parent process ID first then sends the signal to all of them synchronously.

kill_tree_2 - Same as killtree but it doesn't create a list first. It immediately kills processes as it goes through every level.

kill_tree_3 - This version...
Senior Member
Posted in Howtos
Views 3340 Comments 0 konsolebox is offline
Old

Intermediate C - getch-term

Posted 03-31-2012 at 03:27 AM by rainbowsally
Updated 04-09-2012 at 12:23 PM by rainbowsally (bum list bullets fixed)

Intermediate. That doesn't mean you have to be an intermediate C programmer to use this. It just means that it will probably be more understandable to those who are at about this level of programming skill.

Features:
  • getch()
  • simple ansi sequence to keycode converter
  • expandable

There are several versions of getch()-like functionalities on the net but none of them handle ansi sequences well (or at all) and none of them are very clear as to what they do or why.
...
Member
Posted in Uncategorized
Views 617 Comments 0 rainbowsally is offline
Old

Reconciling block devices by major number / minor number

Posted 03-30-2012 at 05:20 PM by anomie

Background

I had a task earlier this week to reconcile block devices between two directories. Simple - one can do so by reviewing major number / minor number, and then noting the match. Thus:

Code:
$ ls -l /dev/oracleasm/disks/ASMDISK2 
brw-rw---- 1 oracle dba 253, 267 Mar 21 13:58 /dev/oracleasm/disks/ASMDISK2

$ ls -l /dev/mapper/lun0015p1 
brw-rw---- 1 oracle dba 253, 267 Mar 21 13:52 /dev/mapper/lun0015p1
......
Senior Member
Posted in Uncategorized
Views 2297 Comments 0 anomie is offline

  



All times are GMT -5. The time now is 12:22 PM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration