Search results

  1. R

    got 69 old pcs for 2€

    A couple of options. When you sell the PC's, figure out how much it would cost to buy Windows ME/XP/9x what whatever, and install/configure it. Then do the same for Linux. Then when you sell them, say this: x for a plain jane PC, y for a PC with Windows, and z for PC with Linux...
  2. R

    KDE & +80% CPU

    Try top -s1 -ocpu. KDE is and has been a CPU hog.
  3. R

    Grep and print only the PATTERN

    A couple of things to play with awk, and the very last slash of sed, add a 1 after it. Just play with the regex. If the pattern will only be on one line, try using head/tail, after the grep.
  4. R

    Grep and print only the PATTERN

    Do a grep then pipe into sed. sed is pretty eay to use: grep "pattern" file | sed 's/.*]\(.*\)[.*/\1/' That is a quick and dirty script.
  5. R

    need root to start apache?

    Since Apache uses port 80, and root is required to bind to 80, it has to be started as root, along with other reasons dealing with how Apache needs to operate.
  6. R

    Convert mp4 to mp3

    Ok, found out how to do it. I want MP3's because the interface to my stereo uses only mp3's. First, hymn, http://hymn-project.org/ goes from m4p to m4a (mp4). faad, http://www.audiocoding.com/modules/mydownloads/, mp4 to wav lame, http://lame.sourceforge.net/, wav to mp3.
  7. R

    color and redirection?

    Actually, since the output of the command is sent to stdout, and > and | both redirect stdout, they are basically the same. Only > sends to a file, and | sends to stdin of the next command. you have to remeber, most everything on a UNIX machine are files, and files are streams of ASCII...
  8. R

    ssh help

    dyndns.org allows you to have a DNS name for your dynamic IP address. Just setup an account with them, then download a client that will change the ip address associated with your domain name automagically. They have pretty good instructions on the web site. I use dyndns.org for my stuff.
  9. R

    gVim for Mac OSX

    Make sure that gvim is in your path, $which gvim You do have vim installed in /usr/bin/vim by default. To enable the colorized output: $ echo "syntax enable" > ~/.vimrc Then just type $ vim
  10. R

    color and redirection?

    The color is just in the terminal, it has nothing to do with the file names themselves. There is not a way to have the colorized output redirected.
  11. R

    Convert mp4 to mp3

    Actually m4a files, but I found faad converts to wav, then lame for wave to mp3. I have a script that will convert m4a/mp4 to mp3 if any one wants it.
  12. R

    Convert mp4 to mp3

    I am looking for a program to convert mp4's to mp3 via the command line. I can convert from m4p to mp4, with hymn, but I need to convert to mp3. This will be done from a shell script.
  13. R

    Ports available LINUX command

    Look at netstat(1), it will show you what ports are being used. Also /etc/services is the file that defines what port is used for what.
  14. R

    User interface scripts

    In dtksh you can write scripts that can open windows, and then in these windows, you can define buttons, then execute certain programs based on what button is pressed. I am looking for that funtionality, but on OS X, not Solaris. I could do it in Carbon or another compiled language, but I...
  15. R

    where to find mod_ssl source suited for Apache 2.0.52?

    mod_ssl is now included in Apache2. When you down load the tar ball of httpd-2.0.x.tar.* then untar it, look in modules/ssl, there is the code. http://httpd.apache.org/docs-2.0/ssl/
  16. R

    User interface scripts

    I am looking for a simple way to write scripts that will open an interface and then execute commands based on buttons that are displayed. Something similar to dtksh on Solaris.
Back
Top