Category: UNIX

Hints HOWTOs UNIX

Show Disk Space Usage (Sorted)

Every once and awhile I find myself needed to what is the space hog on my computer/server. While the command du – h in the command line works for a general overview – I really want to see the results in descending order (by space used). This command will list out everything in descending order […]

Apple UNIX

Copy to Clipboard in the Command Line Interface (CLI)

Ever wonder how to copy something from the command line into the Mac OS clipboard? If you want to copy/paste a files content (perhaps a log file or a conf file, etc) into the clipboard to use outside of the CLI, you can use the commands pbcopy and pbpaste. Example: I want to copy the […]

Apple Hints HOWTOs UNIX

Mac OS X 10.5 (Leopard) SMB Fix

I ran into an issue earlier today where I could not connect to a SMB share after my upgrade to Mac OS X 10.5. After some research, I found a thread in Apple’s Discussions. Basically…you need to not use “Connect to Server…” – you need to mount/unmount the SMB share via the command line. Basic […]

Hints HOWTOs UNIX

Nano Tip

I have been doing a lot of work recently on a remote server and have needed to use a text editor – so I decided to use the ever-so-easy nano. Problem is – the files I am working on are very long and editing them is not fun. I finally decided to look through the […]

Hints HOWTOs UNIX

whereis and locate.

A few simple commands to help make your life working with UNIX a little easier: If you are looking for a certain programs, use:whereis. Example. You want to find out where ipfw is located. In the command line type whereis ipfw and whereis will spit out the location (/sbin/ipfw). If you need to find a […]

Hints HOWTOs UNIX

print file size command.

Earlier today I was asked for the command to show a file size in UNIX and so I thought I would share. There are, of course, a few ways to do this. One great little command to keep handy is:du -h. The du (display utility) will print out the size of a file or directory. […]

Content Management Systems UNIX

command line to the rescue…again.

While upgrading a client’s web site to XOOPS 2.0.14 I ran into some issues with the XOOPS 2.0.14 package file (a tar.gz file). Stuffit Expander would only extract a few folders, then report an error and quit. After a few attempts, and all failures, I had to chose to turn to the command line and […]

UNIX

ubuntu 5.10 for PPC.

Well, after some problems downloading the 3.3GB image of Fedora Core 5 and then my PowerBook not recognizing the DVD media (no, I was not about to re-download all five install CD images and burn them to CD…this is not 1993 again with installer floppies everywhere…and I did not have any other DVD media on […]

UNIX

Fedora Core 5 for PPC Users is Available

I have not had any recent how-tos or informational articles, but I am hoping to end that dry spell tomorrow after I install and configure Fedora 5. I have been very happy with Fedora 3 and 4, and look forward to the most recent release. Stay tuned. PS…yeah I know that other builds, besides PPC […]

Hints HOWTOs UNIX

print out certain line numbers with sed.

It has been a year now since I completed my UNIX/Linux certification training and every once and awhile I think about my friend Perl, but I really enjoy helping others with some simple needs. Ben (yeah, I got him using WordPress too ;)) aked me a great recently: Question: If i have a huge log […]

UNIX

Nagios Updated

Hi. I spent my exciting day with my old friend Nagios. Due to a few issues, I had to move my Nagios install to a new server, and while I had the time to move it, I also decided it was time to tweak it some. I wanted to point out that Nagios was updated […]