Help answer threads with 0 replies.
Go Back > Blogs
User Name



Master Command history in Linux Bash

Posted 04-19-2012 at 07:16 PM by stretchedthin
Updated 04-19-2012 at 08:35 PM by stretchedthin

Before you learn any commands in Linux, get to know how you can make the most of the history functions in Bash. This will save you and your fingers a lot of wear and tear. Learning this and making sure your working in a terminal emulator that has good copy past functionality and your going to find the command line a pretty comfortable place.
Master Command history in Linux Bash
Posted in Uncategorized
Views 435 Comments 0 stretchedthin is offline

Cut and paste

Posted 04-19-2012 at 04:57 PM by peonuser
Updated 04-19-2012 at 05:32 PM by peonuser (typos)

The "legacy os" people pride themselves in how they support pentium 3 and pentium 4 systems. Funny. We still use linux on pentium I and pentium II machines.

Thanx to all the people who have viewed Over 236,000 views now.

Trying to think of a super simple example of cut and paste for a class. Here is what I came up with:

Play pretend here for a second. You are a new accountant for a company...
Posted in Uncategorized
Views 496 Comments 0 peonuser is offline

GUI coding. The 4 main parts of a typical GUI toolkit

Posted 04-19-2012 at 01:34 PM by rainbowsally
Updated 04-19-2012 at 01:51 PM by rainbowsally (clarification of 'metaobject' purpose in last line)

Let's start slow.

First of all, most of the GUI toolkits including QT4 are set up in the following steps, and in this order.
  1. Create an application, possibly with commandline args. (If not created explicitly this 'application' thing will already exist somewhere.)
  2. Create a main widget with the 'application' thingie as its parent.
  3. Show the main widget.
  4. Run the application event loop.

The 'application' is the main event dispatcher which translates X events...
Posted in Uncategorized
Views 419 Comments 0 rainbowsally is offline

GUI coding: First Stop QT4

Posted 04-18-2012 at 02:55 PM by rainbowsally
Updated 04-18-2012 at 02:57 PM by rainbowsally (misspelled title)

First of all, let me say that I've needed a widget that acts like a terminal -- like forever -- and I've checked out a LOT of toolkits having various degrees of success with each.

Perhaps oddly, tk was the best. QT4 was the worst. I subclassed a text editor widget and YOW! was it ever slow!! But I think we'll give QT another look and this is why.

I've checked out many toolkits including
  • tcl/tk (and variants)
  • xclass and xforms and it's descendants
  • fltk v 1.x
  • fltk
Posted in Uncategorized
Views 8733 Comments 2 rainbowsally is offline

Setting up Ubuntu / Squid Transparent Proxy

Posted 04-18-2012 at 06:28 AM by anthraxbb

New to Ubuntu and Linux, I hope someone will give sometime to help me out. I want to setup a transparent proxy server in ubuntu 10.04 or 11.04 using an Intel Pro 1000 MT Dual Network Adapter. My setup are as follows:

Modem > [eth0] Transparent Proxy [eth1] > Switch > Clients

Data obtain from Linksys E1000 Router:
- IP Address: 122.52.126.xx6
- Subnet Mask:
- Default Gateway: 122.52.126.xx5
- DNS 1:
LQ Newbie
Posted in Uncategorized
Views 5775 Comments 1 anthraxbb is offline


All times are GMT -5. The time now is 12:57 AM.

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