LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices

Old

PlayShell 0.2-WP10

Posted 04-01-2012 at 04:23 AM by konsolebox

PlayShell 0.2-WP10 was released today.

page: http://playshell.sourceforge.net/
files: http://sourceforge.net/projects/play...hell/0.2-WP10/
Senior Member
Posted in Projects
Views 599 Comments 0 konsolebox is offline
Old

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

Posted 04-01-2012 at 12:54 AM by konsolebox
Updated 07-28-2014 at 12:39 PM 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.

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

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

killtree3 - This version kills...
Senior Member
Posted in Howtos
Views 1963 Comments 0 konsolebox is offline
Old

Intermediate C - getch-term

Posted 03-31-2012 at 04:27 AM by rainbowsally
Updated 04-09-2012 at 01: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 459 Comments 0 rainbowsally is offline
Old

Reconciling block devices by major number / minor number

Posted 03-30-2012 at 06: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 1339 Comments 0 anomie is offline
Old
Rating: 2 votes, 3.00 average.

Bottle Gourd AKA Lauki (in Hindi)

Posted 03-30-2012 at 01:17 PM by TheIndependentAquarius
Updated 07-04-2014 at 02:30 AM by TheIndependentAquarius

Notice: Spoon measurement : 6mlIngredients:
  • 1 spoon small yellow Mustard seeds (Aka Sarson in Hindi).
  • 1/2 spoon Cumin seeds (Aka Zeera in Hindi).
  • 8 Black Pepper corns (Aka Kali Mirch in Hindi).
  • 9 cloves Garlic (Aka Lesun in Hindi).
  • 2 medium Green chillies (Aka Hari mirch in Hindi).
  • 1 spoon Coriander powder (Aka Dhania in Hindi).
  • 1/4 spoon Turmeric powder (Aka Haldi in Hindi).
  • 1/2 spoon Salt.
  • 1 medium Onion.
  • 1 Bottle Gourd of length 25cm, and width 18cm.
  • 3 spoons Oil for frying.
...
Senior Member
Posted in Recipes
Views 8444 Comments 4 TheIndependentAquarius is offline

  



All times are GMT -5. The time now is 07:52 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration