LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices

Old

Object oriented programming perl

Posted 06-06-2011 at 02:55 PM by karthik3152

perl Object Oriented:
There are many chances that you may get confused with Perl Object Programming

To make the point clear let us first look at references at Perl

@friends = ("Rachael","Phoebs");
%animals = ('donald' => 'duck','mickey' => 'mouse' );



To intiaize references to a variable use:
In case of array:
$ref = \@friends
In case of hashes
ref = \%animals;
In case...
LQ Newbie
Posted in Uncategorized
Views 375 Comments 0 karthik3152 is offline
Old

OpenSUSE 11.4 continued

Posted 06-05-2011 at 07:58 PM by TwinReverb

Today I continued with a fresh 11.4 DVD 32bit of OpenSUSE. During installation I found the option to go with a LVM encrypted (i.e. LUKS+LVM) so I went with that after deleting all partitions on the machine. (I found out after install that it chose 256bit encryption. A little overboard for a netbook, but I don't mind so much.

So I got it installed, copied stuff back over from my backup external hard drive, and proceeded.

Then the NetworkManager icon disappeared (segfault...
Member
Posted in Uncategorized
Views 1908 Comments 1 TwinReverb is offline
Old

Slacker installs OpenSUSE 11.4

Posted 06-05-2011 at 04:46 AM by TwinReverb

So I figured I'd try OpenSUSE 11.4 on my netbook (Asus 900A) today, and write down my experience with it as I go.

First, when booting the installer, I noticed that during the configuration phase, when partitioning my hard drive, it picked some odd options (to me), like putting root and /home on extended partitions, etc. I thought to myself, no big deal, I'll custom partition with the root size it had decided (5GB). Well /dev/sda2 was already a LUKS but I told it I wanted to start...
Member
Posted in Uncategorized
Views 426 Comments 0 TwinReverb is offline
Old

RPM commands

Posted 06-03-2011 at 03:41 AM by blue_print
Updated 06-03-2011 at 04:23 AM by blue_print

RPM package is a powerful utility to manage the software in all major Linux distributions. RPMs can be used to,
  • Install packages
  • Remove packages
  • Upgrade packages
  • Verify packages

Here are some useful command to manage RPM packages,



1. Getting detailed information about the package httpd

Code:
rpm -qi httpd
2. Determining which package installed the file /etc/httpd/conf.d/httpd-portal.conf,

Code:
rpm
...
Member
Posted in Linux Basics
Views 641 Comments 0 blue_print is offline
Old

hiding the GUI of an application

Posted 06-03-2011 at 02:11 AM by neonsignal

The GUI of an X windows application can be 'hidden' by creating a dummy frame buffer:
Code:
Xvfb :display-number -screen 0 1x1x8
This frame buffer can then be used to run the application:
Code:
DISPLAY=:display-number application
Senior Member
Posted in Uncategorized
Views 417 Comments 0 neonsignal is offline

  



All times are GMT -5. The time now is 02:45 PM.

Main Menu
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