APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed
RSS Feeds RSS Feeds









Unix



autonomic computing: Tech Words of the Day I'd say it's more a matter of prejudice than a matter of definition. Just what "human cognitive powers" aren't present in "systems that can adapt, learn and take over certain functions previously performed by humans"? Are we simply talking about the degree of intelligence? If so, fine: our machines are still a long way from even approaching human intelligence. But whenever someone says something silly like "we can never model the human brain because it's too complicated and we don't understand how it works", I am immediately reminded that almost anything could have been phrased in such terms at some point in our history.


Title Date Comments
Basic Home Networking - Part 2, wireless setup   2011 08 
- Often all that needs to be done is to tell your computer that you want to connect to a wireless network. It's not always that easy, but it certainly can be. However, even if it is that easy for you, you might still want to read the rest of this in case you have problems later. You also might want to read it because being "too easy" to get connected could mean that you are running some security risk and need to address that issue. -
Basic Home Networking - routers and switches   2011 08  2011/08/16 BigDumbDinosaur
- Setting up a small office or home network used to be a fairly complicated task. Aside from the technical knowledge needed, there was expensive equipment to buy and specialized tools for wiring. That's all changed - the necessary equipment is cheap and readily available and it's all very easy to configu re. -
A non-technical guide to understanding and fixing TCP/IP problems on a network   2011 08  2011/08/14 BigDumbDinosaur
- The title is a bit incorrect in the .non-technical. claim, because we are dealing with a geekish subject here and I can't avoid being a little "techie". -
Finding Yesterday's Date   2011 04  2012/09/11 TonyLawrence
- How to find yesterday's date on Linux, Mac and any other Unix. -
SCO/Linux Transition Guide   2000 09 
- This is not a porting guide; this is a transition guide: a guide to the major differences between SCO and Linux. -
mount --bind   2006 04  2012/01/03 Daniel
- Using Linux 'mount --bind' instead of symbolic links. If the thing you want to link to is a mounted file system, you can use the "--bind" option of mount to create an unbreakable link. -
Using sudo   2002 02  2013/03/05 lou
- I'm sure that there are more poorly written man pages, but "man sudoers" (which is how you find out about "sudo") is among my all time favorites for poor explanation. Let's clear that up. -
Writing and Compiling C programs on Linux   2004 12  2012/02/10 TonyLawrence
- Writing and compiling c programs on Linux, common errors for beginners. Most Linux and Unix programs are written in C. When you download source for a project, it will often be C or C++ source code. You don't necessarily need to know a darn thing about C or anything else to compile the source if you aren't changing it. It may be helpful for you to understand a bit if you are having problems with the compile, but even that isn't really necessary. -
GPG/PGP Basics   2001 11  2013/04/05 ClovisSangrail
- Using gpg for encryption, understanding the basic use of GPG for new users. Recently someone asked me for a GPG or PGP public key so that they could send some sensitive material to me by email. -
The Gimp: Making Colors in a GIF Transparent   2004 01 
- Sometimes when working with an image you want to make a certain color transparent. When working with a gif file this would make a round circle look round on any color background. This is actually very simple once you do it once. Finding the information for this took me a while so I thought I would pass it on to anyone that was interested. -
Lost root password (Linux)   2003 12  2012/06/05 anonymous
- Let's try to fix your lost root password the easy way first. The first thing to try is to boot to single user mode. This MIGHT not work for you, because your system might be configured to still ask for a root password to get to single user mode. If that's the case, we'll use another trick that replaces init with /bin/bash. -
Cron is not working   2006 12  2012/08/17 TonyLawrence
- Let's just get this out of the way first: when someone says cron is not working, it almost always is, and they have just misunderstood something basic. -
 
 
Kerio Connect Mailserver
 
 
Recursive chown   2006 03  2012/08/16 TonyLawrence
- 'chown -R' is smarter than you think. I had email this morning from someone using "chown" to fix up permissions on a directory. He had discovered "-R" in the man page but had run into a small problem... That succesfully changed the ownership of the "dot" files, but had an unexpected (to him) side effect: /usr was also changed. -
Controlling core files (Linux)   2005 03  2011/11/06 TonyLawrence
- Control Linux core files with ulimit and /proc templates. -
Virtual PC for Mac OS X   2003 07 
- This is a review of an ancient Virtual PC product and is only left here for historical purposes. -
Linux|Unix Logical Volume Manager (LVM) on Software RAID   2002 11  2011/01/07 TonyLawrence
- Logical Volume Manager is now included with most Linux distributions. The RedHat 8.0 installer even allows you to create LVM volumes during initial install. LVM offers capabilities previously only found in expensive products like Veritas. If you plan on using LVM, I really recommend doing so on a RAID system, either hardware or software -
Bash in-process regular expressions   2005 09  2010/09/27 JonathanCross
- Bash acquired in-process regular expressions in version 3.0, but I never noticed, probably because most of the machines I'm using are Bash 2.05b. -
Enabling Linux telnet   2006 03  2012/09/05 TonyLawrence
- If you can't use ssh (as you should!), you'll need to find and install a telnet daemon for your Linux distro. -
Monitoring file or directory changes   2003 11  2013/02/01 anonymous
- Many modern systems provide a way to watch a directory for events -
Apt-get for RedHat Linux   2003 03  2011/11/08 TonyLawrence
- RedHat 7.3 and 8.0 do not have tools like Mandrakes urpmi for installing/updating rpms. After researching on Google groups for a similiar Redhat tool . APT seemed to be the best. I think its a tool from Debian linux. -
Mac Screen sharing is not just for Macs   2008 01  2012/03/22 TonyLawrence
- Mac Screen Sharing can connect to any VNC host. That's Mac Screen Sharing connecting to a TightVNC server on my wife's Windows XP machine. -
Finding large files   2006 12  2010/10/02 wilson
- Where has the space gone? Although it is getting harder and harder to run out of disk space, some of us still manage to do it. -
Tightvnc, Chicken of the VNC   2003 10 
- Reviews of TightVNC and Chicken of the VNC. VNC is "Virtual Network Computing" and is a crossplatform method of allowing remote access to desktops (Windows or Unix/Linux, Mac and others)). It is conceptually like using Terminal Services or PcAnywhere etc for Windows but is license free and of course capable of serving Linux/Unix machines also. -
Numeric Unix Error Messages   2001 12  2010/04/06 TonyLawrence
- It's an unfortunate fact that many programmers are lazy about error messages. Very often, all you get is a cryptic "Error 5", and you may be lucky to get that. -
AIX Operating System Hardening Procedures & Security Guide   2005 04 
- System Hardening Procedures for AIX using the principle of least privilege. If the user does not need the service, they are not allowed to access that service. -
RedHat RPM Source Packages   2001 06 
- Ever wanted to rebuild a RedHat RPM from source? I had an issue where I wanted to include one of the new features offered by SAMBA that enables logging to utmp in RedHat 7.1 and RedHat 6.2. Since RedHats supplied binary RPMs did not include this support, I had two choices: one was to download the SAMBA source, and compile the feature in from there, and my other choice was to possibly use the RPM source that RedHat supplies with their RPMs. -
Who locked that file?   2007 11 
- Determine what process has a file locked - I can't even imagine how many times I've heard someone complain about a locked file. -
CUPS print to file - the hard way!   2003 03 
- Cups print to file - there are easier ways to do this, but I didn't know that when I needed to do it! -
Verizon Cell Phone Internet Connections   2003 06  2010/11/11 TonyLawrence
- Making internet connections with cell phone. I then verified with Verizon that there is no additional costs for using the "Express Network" which claims speeds up to 144k. I usually average between 20-40k, which really blows away my normal dial-up connection at home, since we still do not have any broadband options in my area. During normal "peak" usage, the time spent using the data is billed against my normal minutes. I have unlimitted night and weekend usage, so I could be connected to the network all weekend without additional charges. That's when I plan on downloading O/S patch upgrades. -
Unix Permissions   2001 04 
- Note: these are classic Unix permissions. However, many modern Unixes support extended attributes that go beyond this. We'll look at one example of that later in the article. -
VPN's and other remote access   2001 04  2011/05/09 TonyLawrence
- VPN Basics. A VPN is a Virtual Private Network. The concept is that you are using public or other shared lines (generally the Internet) to connect machines, but that all packets are encrypted (so your connections are "private"). -
Bash HISTCONTROL   2006 05  2011/04/07 TonyLawrence
- controlling bash history. There are actually several values HISTCONTROL can take. On newer bash, it can be set to "ignorespace", "ignoredups", "ignoreboth" or "erasedups". Bash 2.05 doesn't have "erasedups". -
Controlling Linux colors in vi (vim)   2005 03  2011/04/13 geedoubleya
- The Linux colorizing fouls things up royally. You can shut off command line colorizing by editing /etc/DIR_COLORS and changing COLOR tty to COLOR none or (less drastically) by removing the TERM ansi line from the same file (which removes colorization for ansi but doesn't affect console use). But that still leaves vi messing things up. The fix for that is to add -
Invalidating the Linux buffer cache   2006 12  2012/08/01 SimonL
- How to actually test the disk drive to know that data really has gotten to the disk drive. This could be because you want to test the performance of the drive, but could also be when you suspect a drive is malfunctioning: if you just write and read back, you'll be reading from cache, not from actual disk platters. -
Custom Tab Completion   2004 12  2009/12/12 zolo
- I'm sure you already know about tab completion: type part of a command name and hit TAB and you get its matches. Leave a space and then hit TAB, and you get filenames. Wonderful stuff. -
shc - shell script compiler   2005 09 
- Shell scripts are simple to create, but if a user has permission to execute the script, they also have permission to read it. There are ways to prevent that: -
Printing to a remote printer with a dynamic address   2003 06 
- You have a PC at home and you make some sort of connection over the internet to your server, but your application needs to print to your PC. -
How can i mount a ISO Image CD ?   2004 07  2010/07/10 TonyLawrence
- You have an image of a CD or perhaps of a floppy disk and need to mount it as a filesystem (Linux, Mac OS X, BSD, SCO, Solaris). -
Why is my system slow?   2001 12  2010/06/11 veera
- This is not a performance tuning article. If your Linux or Unix system is always slow, this article may not be what you are looking for. -
SMB Caching   2006 05 
- SMB caching on Windows can be confusing - on a whim, I tried deleting a file, and once that had been done, users could now write and overwrite as desired. -
Linux|Unix ABI- Using other Unix binaries on Linux   2001 11 
- Linux ABI- pitfalls and considerations of running SCO apps on Linux -
Understanding IPTABLES   2002 11  2012/11/29 BigDumbDinosaur
- Packet filtering is something I've always hard a hard time getting my head around. Not the basics; that's easy enough. It's just the incredible level of detail, the difficulty of keeping it all in your head at once. -
New To Unix   2005 01 
- Understanding how and why Unix and Linux are not like Windows. Unix and Linux are different. If your first exposure to computers was DOS or Windows, some of what you learned there is going to trip you up in the Unix world. This article attempts to both explain how Unix is different, and also why it is different, because if you understand why, you'll find it easier to remember. -
Bonjour Discovery   2007 11 
- Bonjour finds a web server on my printer. Bonjour can find other interesting things and can be used for good or evil. -
Bash shell $PIPESTATUS   2004 06  2011/04/04 TonyLawrence
- PIPESTATUS array holds the exit status of your last foreground pipeline commands. -
renaming files   2005 08 
- I'm not sure how long rename has been hanging around Linux. I don't mean the rename system call, but the command line version that lets you (for example), rename your .htm files as .html -
Damn Small Linux   2006 06 
- A versatile live cd and more: Damn Small Linux was the first distro to give me a hard time. Don't panic, DSL fans. It wasn't DSL's fault. It booted quickly, obtained an IP automatically, and was ready to run. Except.. -
SquidGuard   2001 09 
- squidGuard works with Squid to block access to sites by domain, ip address or even keywords. -
Redhat Linux 6.0   1999 05  2010/12/13 TonyLawrence
- (This is pretty old, but as late as December 2007 I had someone who wanted help installing this on an old box!) This is pretty cool stuff. Redhat 6.0 is a marked improvement over previous versions. It's not perfect; there is still plenty to squawk about, but I could easily recommend this to any semi-technical user. -
taskset for CPU affinity   2005 10  2012/01/09 TonyLawrence
- SMP operating systems have choices when it comes to scheduling processes: a new or newly rescheduled process can run on any available cpu. However, while it shouldn't matter where a new process runs, an existing process should go back to the same cpu it was running on simply because the cpu may still be caching data that belongs to that process. -
 
 
Kerio Control Firewall
 
 
SSH Login Attacks   2005 01 
- Failed password for illegal user [username]. in your logs may indicate brute force password guessing attempts. -
Tomorrows's date   2006 03 
- Tomorrow's date is what?: With a very little effort, almost anyone should be able to figure that out themselves: "man date" is a good start. It might take a little more effort to get to the "date +%s" solution": you might need "man strftime" also. But it is all there. -
ProFTPd, wu-ftpd, and general ftp security   2004 12 
- FTP in general has a long and sad history of security problems. If you need to run an ftp server, you need to keep careful track of vulnerabilites and exploits that may make for a very unhappy da -
CleanCode Email   2003 11 
- Using Cleancode email client - a neat little command line utility for scripting outgoing mail without Sendmail. -
New Linux virtualization option : KVM   2006 12  2012/03/25 TonyLawrence
- KVM stands for 'Kernel-based Virtual Machine' it provides a simple way to have full hardware virtualization available for Linux users on machines that supports either the VT (Intel) or AMD-V/SVM (AMD) extensions for their cpus. -
Newbie guide for the net install of SuSe 9.0   2004 01 
- Since SuSe doesn't offer free iso download versions of SuSe, I decided to write this guide on how to do an net install (ftp install). -
Gmail vs. in-house Mail Server   2007 10  2011/07/06 TonyLawrence
- Well, in fact I can recommend this for some cases. It may not be for everyone - there are some disadvantages - but it can make a lot of sense and the price is reasonable, especially for very small organizations. -
Symlinks   2005 10 
- Symlinks is a handy utility for managing symbolic links. It can clean up the sort of problems that come from carelesness when creating symbolic links. -
Tree Maps of disk space   2006 05 
- Visualize Mac OS X disk usage and track down where you've used up all that drive space! -


More Unix articles

pavatar.jpg
book graphic












Have you tried our Tests?