background preloader


Facebook Twitter


Partition schemes. Subversion. Debug. List Files by Size – Unix Command line Philosophy. There are a few tips in here that explain how to do this, but for my money, awk is overkill for this and ls is slightly inadequate in and of itself.

List Files by Size – Unix Command line Philosophy

Of course, Linux/Unix/OSX comes with a rich tool kit for doing lots of things pretty quickly and easily like listing files by size and reformatting the output to be whatever you like. Man page colrm section 1. Colrm. Install .rpm Packages.


Solutions. Adding rendering parameter - pixel samples - Rendering. SYmek, on Apr 16 2008, 05:56 PM, said: Well, I don't think you can control pixel sampling on per object basis, in other way then simply rendering it in separated layers with different settings in Mantra ROP.

adding rendering parameter - pixel samples - Rendering

Waypoint manager for usb Garmin GPS units. Jupiter Applet. Linux Mint vs. Ubuntu: the Best Option? : Page 3. Usually, this works without too many problems, but it's by far the most dangerous way, meaning you could hose your system. Because if the upgrade goes poorly, you're going to have to upgrade with a clean installation of the latest version of Ubuntu. Linux Mint, by contrast, doesn't offer the fancy option of a distribution upgrade. Instead, they suggest you use mintBackup, then do a clean installation of the new release.


SensorInstallHowto. Ubuntu can monitor CPU and other system temperatures, fan speeds, and voltages via command line, using the package lm-sensors, or via GUI applets in your desktop.


Install the lm-sensors package (see InstallingSoftware). Run sudo sensors-detect and choose YES to all YES/no questions. Networking. How to Find the Best DNS Server. In this section I explain how to test using a real example of my own.

How to Find the Best DNS Server

Checklist before you start testing Only the DNS test program should be using the Internet connection otherwise your results will be affected by other traffic and may not be consistent with any later test. If your firewall has outbound-blocking then it can block the tests. You might need to turn that off temporarily by following the specific instructions for each product. DNS Benchmark firewall FAQ The first test is likely to be most accurate because later tests will be running the same queries which should then be cached in the servers.

Testing with NameBench. Linux Force DHCP client (dhclient) to renew ip address. ByVivek GiteonNovember 15, 2007 last updated May 12, 2015 I'm using Ubuntu Linux.

Linux Force DHCP client (dhclient) to renew ip address

How to force Linux to reacquire a new IP address from the DHCP server? What is the command in Linux equivalent to Windows' "ipconfig /renew" command? You need to use Dynamic Host Configuration Protocol Client i.e. dhclient command. The client normally doesn't release the current lease as it is not required by the DHCP protocol.

The dhclient command, provides a means for configuring one or more network interfaces using the Dynamic Host Configuration Protocol, BOOTP protocol, or if these protocols fail, by statically assigning an address. Linux renew ip command. How to: Change / Setup bash custom prompt (PS1) So how do you setup, change and pimp out Linux / UNIX shell prompt?

How to: Change / Setup bash custom prompt (PS1)

Most of us work with a shell prompt. By default most Linux distro displays hostname and current working directory. Working more productively with bash 2.x/3.x. Overview and Introduction bash is a shell, a.k.a. command language interpreter for modern computers.

Working more productively with bash 2.x/3.x

It is Bourne shell (sh) compatible and incorporates useful features from the Korn shell (ksh) and C shell (csh). It conforms to the IEEE POSIX P1003.2/ISO 9945.2 Shell and Tools standard. Some of bash's features are, in no particular order: editing and completion; history and command re-entry; job control; shell functions and aliases; arrays; arithmetic; ANSI C quoting; tilde expansion; brace expansion; substring capabilities; indirect variable expansion; expanded I/O capabilities; control of built-in commands; help; directory stack; POSIX mode; internationalisation; command timing. bash is the default shell on all popular GNU/Linux distributions.

Ubuntu. How to call external command in Python. Aalto Talk with Linus Torvalds [Full-length] How to display only Permissions and file names using ls command. Ubuntu. Sed - An Introduction and Tutorial. Quick Links - NEW Table of Contents Copyright 1994, 1995 Bruce Barnett and General Electric Company Copyright 2001,2005,2007,2011,2013 Bruce Barnett All rights reserved You are allowed to print copies of this tutorial for your personal use, and link to this page, but you are not allowed to make electronic copies, or redistribute this tutorial in any form without permission.

Sed - An Introduction and Tutorial

Original version written in 1994 and published in the Sun Observer. 20. Advanced Shell Scripting. Next: 21.

20. Advanced Shell Scripting

System Services and Up: rute Previous: 19. Partitions, File Systems, Contents Subsections This chapter completes our discussion of sh shell scripting begun in Chapter 7 and expanded on in Chapter 9. 5 Bash Case Statement Examples. Bash shell case statement is similar to switch statement in C.

5 Bash Case Statement Examples

It can be used to test simple values like integers and characters. Case statement is not a loop, it doesn’t execute a block of code for n number of times. Instead, bash shell checks the condition, and controls the flow of the program.


BASH Programming - Introduction HOW-TO: All about redirection. NextPreviousContents. Book/basics.htm. 1.1 What is a Shell? Simply stated, a shell provides an interface to the operating system facilities including files, printing, hardware devices, and applications. This is a very broad definition indeed. It applies from something as simple as a telnet interface to a complex windowing system such as the Common Desktop Environment (CDE).

Cron wrapper for rsnapshot (rsync-based backup)