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'...
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...
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...
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...
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...