Recent content by peterfarge

  1. P

    Discover Host on local switch with unkown net

    Friends give me the router and forget to provide me with the IP addresses.
  2. P

    Discover Host on local switch with unkown net

    Hello Forum, very often I have a unknown router to fix. I dont know the current IP or Net, but I know the Mac address. I connect the router via cable to my main switch where my debian machine is also connected. Now I want to know the IP address of the router. I try 'netdiscover -i eth0'...
  3. P

    Bash: Influence amount of pipe data?

    Its a virtual private server and the terms of service say that I should not use the CPU at 100% for a long time (only for bursts). The process take lets say 3h. For me it would be ok to reduce the CPU load to 10%, so the process takes 30h. I found this solution: cpulimit --limit=10 -b...
  4. P

    Bash: Influence amount of pipe data?

    Hello Forum, I have two programs connected with a pipe. The pipe writes every friday text lines (newline ended) to a second process who processes them. Sometimes it takes several hours. Is it possible to set the amount of textlines per second that goes through the pipe? Maybe by putting a third...
  5. P

    How to start shell expansion at a specific point?

    Thanks for the advice :) I could also use cp -n. My problem is more general, because this happens also with other commands. For example if the last processed file was Lnxxxxxx and the next file will be Loxxxxxxxx, I write this expansion: cp L[o-zA-Z]* [M-Z]* But then I always have to check...
  6. P

    How to start shell expansion at a specific point?

    Hello Forum, often I have the problem that I want to process some files with a shell command. Then an error occurs with a file. I fix it and then I want to proceed after the file. Example: cp /mydir/* /otherdir The error occurs with file '/mydir/fffx'. What would be a fine way with shell...
Top