background preloader

Unix Toolbox

Hardware | Statistics | Users | Limits | Runlevels | root password | Compile kernel | Repair grub | Misc Running kernel and system information # uname -a # Get the kernel version (and BSD version) # lsb_release -a # Full release info of any LSB distribution # cat /etc/SuSE-release # Get SuSE version # cat /etc/debian_version # Get Debian version Use /etc/DISTR-release with DISTR= lsb (Ubuntu), redhat, gentoo, mandrake, sun (Solaris), and so on. See also /etc/issue. # uptime # Show how long the system has been running + load # hostname # system's host name # hostname -i # Display the IP address of the host. Hardware Informations Kernel detected hardware # dmesg # Detected hardware and boot messages # lsdev # information about installed hardware # dd if=/dev/mem bs=1k skip=768 count=256 2>/dev/null | strings -n 8 # Read BIOS Linux FreeBSD Load, statistics and messages The following commands are useful to find out what is going on on the system. Users Limits Per shell/script Per user/process System wide Related:  technical

Car Repair Price Estimates | Mechanic Ratings : RepairPal Rosetta Stone for Unix Footnotes 1. In System V-based Unixes, run level relates to booting, shutdown, and single-user mode. In BSD, it has to do with security. 2. 3. 4. ioscan -funC disk may be helpful here to determine device path. 5. Universal Command Guide is a large book which covers several of the OSs in this table. has a similar table covering fewer Unix versions and a somewhat different set of tasks. Colin Barschel's Unix Toolbox is a wonderfully detailed handbook sorted by task area and giving both commands and config file excerpts for Linux and BSD. coolcommands is a search engine giving one-line command examples: Solaris / HP-UX / FreeBSD / Linux / AIX: Solaris / HP-UX: Unix / DOS: Unix / TSO mainframe: Unix history time line:

Cut and paste one line of code to make any website editable Are you a student? Branded3 is hiring graduates for a number of vacancies in our Leeds & London offices. Have you ever wanted to edit the web pages of another website? This simple line of code makes it possible. Of course you can’t actually edit the actual web page but you can edit the page as you see it on your screen. This is one of the ways scammers create fake screenshots, fake Adsense & affiliate earnings and even fake Paypal transactions. Here’s a method of editing the webpage in browsers without developer tools; all you need to do is visit the site you want to edit, paste the code below into your web browser address bar (tested in Firefox & IE7, fails in the Chrome search box) and hit the Enter button. Then simply select a portion of text on the page and start editing.

New Concentrated Solar Tech: Simple, Cheap and Efficient : CleanTechnica Clean Power Published on September 4th, 2008 | by Ariel Schwartz Morgan Solar, a Toronto-based company launched last summer, believes it has the answer to creating simple and cheap solar concentrators. While other companies are working to make solar cheaper by using mirrors or lenses to magnify sunlight that is directed into solar cells, Morgan Solar takes a different approach. Their system uses a thin sheet of acrylic to concentrate sunlight 750 times. Though Morgan Solar has competitors in the concentrated solar field, the company claims that their design is more efficient and less likely to break than other systems. Of course, Morgan Solar’s design is sure to draw comparisons to MIT’s announcement in July of a new technology that uses organic dyes to concentrate solar. We’ll find out whether the companies impressive claims are true in short order— a 1 meter by 1 meter prototype panel is currently being installed at the Earth Rangers Center in Toronto. Posts Related to Solar Tech:

Morgan Solar - Welcome Snapter: Scan Your Documents Without A Scanner | Other than taking photos, what other use do you have for your digital camera? With Snapter, you can now use your digital camera for another purpose: turn it into a mobile flatbed scanner. Snapter is software that lets you use a digital camera as a mobile scanner. With the shots that you have taken, the software automatically crops, stretches, flattens images of documents into portable images and make them seem as though they have been scanned on a flatbed scanner. Some of you may be wondering: since you already have a digital camera to take snapshots, why do you still need a software to do the conversion? Secondly, if you are taking snapshots of pages of a book, it can be really difficult to read the text from the raw images. Thirdly, Snapter enhances the images and make them easier to read. Snapter supports images of different forms. Here I printed out a copy of one of my articles that I wrote for MakeUseOf. Next, I took a snapshot of two pages of a book and input them to Snapter.

Build a model airplane, car, ship, tank, etc. (plastic kits) Different Racing Diagnostic Trouble Code Information 1991-1995 S-Series Only (OBD-I) The Powertrain Control Module (PCM) performs a continual self-diagnosis on many circuits of the engine control system and , if equipped, on the automatic transaxle control system. If a problem or irregularity is detected, the PCM will set either a Code or a Flag. A Code indicates a suspected failure that currently exists or that has existed in an engine system. There are two levels of PCM memory, "General Information" and "Malfunction History". Assembly Line Diagnostic Link (ALDL) There are many Saturn test procedures that require the connection of a scan tool or connecting a jumper wire to terminals A and B of the ALDL (the main diagnostic tool connector). Entering Self-Diagnosis To enter the diagnostics, either connect a scan tool to the ALDL or use a jumper wire to connect terminals A and B of the ALDL. All codes are 2 digits between 11 and 99. When diagnostic mode is entered, Code 12 is displayed 3 times.