Search Results - JustLinux Forums


Search:

Type: Posts; User: Hena

Page 1 of 20 1 2 3 4

Search: Search took 0.32 seconds.

  1. Replies
    2
    Views
    718

    If you want first element of @array, then use...

    If you want first element of @array, then use must do $array[0] not @array[0]. So try

    @states=qw($filelist[0]);

    Ps. these lines _always_ as first lines

    use warnings;
    use strict;
  2. This might be instresting. I could be in as well....

    This might be instresting. I could be in as well. Know some bash and perl, little c, very little java.
  3. Replies
    3
    Views
    800

    Or make the two string into one string like this:...

    Or make the two string into one string like this:

    if (-e "$filedir/$filename")
  4. Thread: List PIDs

    by Hena
    Replies
    7
    Views
    879

    Pids of certain programs? Use "pidof". Pids of...

    Pids of certain programs? Use "pidof". Pids of all processes? Use "ps". Read man page of ps before using though (example command "ps -AwfH").
  5. Thread: Startup

    by Hena
    Replies
    7
    Views
    595

    Afaik, you need to create a startup script within...

    Afaik, you need to create a startup script within "/etc/rc.d/init.d" directory. Then use the scripts provided by RH to print the "OK/FAILED" texts. You need line like ". /etc/rc.d/init.d/functions"...
  6. Thread: man -k iostream

    by Hena
    Replies
    2
    Views
    877

    Shot in the dark here. Did you install the gcc...

    Shot in the dark here. Did you install the gcc c++ bits as well? If you did, then i don't know.
  7. Well ${} does parameter substitution. There are a...

    Well ${} does parameter substitution. There are a set of rules of how things work. Basicly the "*$s=" means inside ${} that everythign before "$s=" and itself is removed from variable.

    To...
  8. Replies
    5
    Views
    875

    With RH, you can see what xinetd is running with...

    With RH, you can see what xinetd is running with "chkconfig --list". Also you can check all the files which control software behind xinetd in "/etc/xinetd.d" directory. There is one file per program.
  9. Replies
    1
    Views
    743

    Try to unload the wrong module with "rmmod"...

    Try to unload the wrong module with "rmmod" first. Haven't seen that error though, so can't know if it helps.
  10. Well "iptraf" might be suitable. I haven' t used...

    Well "iptraf" might be suitable. I haven' t used it though so i don't know how specific it is.
  11. Replies
    2
    Views
    2,082

    What filesystem does it have? If it is linux (eg....

    What filesystem does it have? If it is linux (eg. ext2, ext3, reiserfs) it needs mount option "rw". If windows (fat32) option "umask=000". Read "man mount", it has more explanations.
  12. This seems to do it. If i got it right. ...

    This seems to do it. If i got it right.

    #!/bin/bash
    # the variable which holds all
    var="val=100 ddd=yh y=k44"
    # the "key" of value we want
    s="ddd"
    # then removing all before it and cut...
  13. Replies
    1
    Views
    644

    Does it have a script in "/etc/init.d" directory?...

    Does it have a script in "/etc/init.d" directory? If it does use "chkconfig" to start it. If it doesn't then you have to create a script for it.
  14. Replies
    9
    Views
    1,541

    If you truly want to learn linux, then install...

    If you truly want to learn linux, then install gentoo (web site) and do a lfs system (web site). I've heard that both has teached a lot about linux.

    Also nice things might be to learn how lvm...
  15. Thread: XP data

    by Hena
    Replies
    1
    Views
    704

    Search with "ntfs mount" to get info. I'll make a...

    Search with "ntfs mount" to get info. I'll make a summary:

    1. "modprobe ntfs"
    2. edit "/etc/fstab" add line:
    /dev/hdX /mnt/win umask="222",auto,ro,nodev 0 0
    3. "mount -a"

    If you don't have...
  16. Replies
    2
    Views
    623

    Basics is using command "modprobe". You use it...

    Basics is using command "modprobe". You use it like "modprobe module_name" (read "man modprobe"). Other module commands that are good to check are "lsmod" and "rmmod" and if you want "insmod", but...
  17. Replies
    13
    Views
    971

    Easy way to capture output is to start program...

    Easy way to capture output is to start program with ``. So similar to

    my $output=`/usr/bin/unzip $file`;
    print "$output\n";
    print "$Unziping done.\n";
  18. Replies
    6
    Views
    819

    Iptables is updated version of ipchains. So if...

    Iptables is updated version of ipchains. So if you are starting to learn, go for iptables. That is being used in 2.4 kernels, which tends to be in current distribution versions. If you need to handle...
  19. Replies
    9
    Views
    895

    That tells that it can't find the root directory....

    That tells that it can't find the root directory. You might want to check the root command in lilo or anything that involves mouting root.
  20. Replies
    3
    Views
    8,548

    The placing of files might be different, from...

    The placing of files might be different, from your usual places. Also how they are configured might vary. They probably work, but there might be some wierd anomalies. I have installed few programs...
  21. Replies
    7
    Views
    1,000

    It sounds like you have two differend kernels...

    It sounds like you have two differend kernels there. 2.4.18-14 and 2.4.18-24.8.0. Now it sounds as your using 2.4.18-14 and you don't have its source and you have source for 2.4.18-24.8.0 but your...
  22. Replies
    3
    Views
    5,198

    Comes with kernel. Download latest from The Linux...

    Comes with kernel. Download latest from The Linux Kernel Archives.
  23. Replies
    3
    Views
    5,198

    Eepro100 and eepro1000 are for some intel...

    Eepro100 and eepro1000 are for some intel ethernet cards. I have integrated card that is using eepro100. And i think that modules with 3cXXX are for 3coms cards (might be better to check that though).
  24. Replies
    3
    Views
    991

    Depending from your distribution and...

    Depending from your distribution and installation, you might have command "unzip". That is used for .zip archives.
  25. Replies
    7
    Views
    2,178

    What is the error output? Without that it's hard...

    What is the error output? Without that it's hard to say, whats going wrong.

    Also try "sed s/<BR> <BR>//g filename".
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4