Tag : linux

Title User Language Tags Description Date
Remove Unneeded Linux Kernels in Ubuntu oxnard Bash

Remove Unneeded Linux Kernels in Ubuntu

May 5
Watch server load deanhouseholder Bash

Watch system load every 5 seconds.

April 16
Install Sublime Text 2 from ppa oxnard Bash

Install Sublime Text 2 from ppa on linux

November 12
Installing Lamp on Ubuntu bitfed Bash

This method utilizes tasksel

September 19
Linux netstat tricks Glycerine Bash

View ports on linux

December 9, 2011
Create Linux User with Geneated Password and MySQL User jiewmeng Bash

Usage

> newuser.bash [username]

What it does

  • Generates a random password with makepasswd
  • Encrypts it with mkpasswd for use with useradd
  • Adds the user
  • Adds a MySQL Database for user
  • Adds a MySQL User for user
  • Grants all privileges to user to his/her database

Short demo on Screenr (1min)

November 29, 2011
Linux command : Linux version davince Other

A linux command that will output useful information about your linux distribution, kernel version, cpu information and more.

August 2, 2011
remove service linux nialace Bash July 12, 2011
Delete files based on date danshields Bash July 1, 2011
Getting a GPG KEY for apt-get at Debian/Ubuntu systems kossmoss Bash

change KEY to key code you get at error message

June 7, 2011
RSync Basic Syntax nielsenrc Bash June 4, 2011
Show Disk Space Usage in Gigabytes in Linux nielsenrc Bash June 4, 2011
Get additional group IDs for Unix user (pwd/grp modules) realityexists python

The Python stdlib pwd module provides an easy way to get the primary group ID, but no way to get additional group IDs. This is a simple function that returns the additional group IDs for a given username.

June 3, 2011
SCP (Copy) a file from Remote to Local Linux Machine nielsenrc Bash June 1, 2011
SimpleTron3x.py "Game" To DEMO XY Drawing Using The Keyboard In Standard Text Mode Python. Barry Walker python

SimpleTron3x.py.

This code is a FUN program only to DEMO how to draw in a text mode Python shell.

There is an inkey() "function" extracted from a "class" recipe on this site. See code for more information.

This was tested on PCLinuxOS 2009 with Python 3.0.x and Debian 6.0.0 with Python 3.1.x.

This ASSUMES an 80 x 24 Python shell window.

Issued as Public Domain, you may do as you like with this code.

Enjoy finding simple solutions to often very difficult problems.

Bazza...

May 29, 2011