659 reputation
28
bio website
location Czech Republic
age
visits member for 2 years, 2 months
seen Nov 23 '13 at 10:50

An OpenBSD fan.


Feb
20
awarded  Yearling
Feb
10
awarded  Popular Question
Nov
21
comment KSH : cp only based on file size
Why don't you use rsync?
Nov
21
comment Run an SSH command on two hosts whose name comes from another command
Or with help of some parallel ssh, like pssh or shmux.
Nov
18
comment Configure sendmail to send only
/etc/mail/sendmail.conf is specific to your OS/distro. In fact, nothing like this is standard.
Nov
15
comment Open a text file in a terminal and auto-refresh it whenever it is changed
google -> py inotify "Pyinotify is a Python module for monitoring filesystems changes. Pyinotify relies on a Linux Kernel feature (merged in kernel 2.6.13) called inotify. inotify is an event-driven notifier, its notifications are exported from kernel space to user space through three system calls. pyinotify binds these system calls and provides an implementation on top of them offering a generic and abstract way to manipulate those functionalities."
Nov
15
comment Open a text file in a terminal and auto-refresh it whenever it is changed
inotify.......?
Nov
15
comment Open a text file in a terminal and auto-refresh it whenever it is changed
What is that good for? What is this file about? If it is a log, it usually has new lines added to the bottom, then you could just use tail -f $file.
Nov
15
revised Remove all *.mp4 and *.zip but some files
more portable
Nov
15
comment Remove all *.mp4 and *.zip but some files
It's not about your app is not portable. It's about good behaviour. World is not only bash/Linux. Use the strength of bash when it makes really sense but this is not the case. Maybe one day you would sit in front of Solaris, *BSD, AIX... Then what? It's nothing more stupid than bash-based shebang when it is not needed.
Nov
15
suggested suggested edit on Remove all *.mp4 and *.zip but some files
Nov
15
suggested suggested edit on Remove all *.mp4 and *.zip but some files
Nov
15
comment Remove all *.mp4 and *.zip but some files
GNUism. Please be more general and use either 'exec rm' or 'xargs rm'. Thanks.
Nov
15
comment Remove all *.mp4 and *.zip but some files
missing closing bracket
Nov
15
comment Remove all *.mp4 and *.zip but some files
Bashism... Bleah. Use find and learn how to make it portable between various system. Why would one need to use bash for such simple goal?
Nov
15
comment How to recover files I deleted now by running rm *?
There are SOME ways to recover files/data. But most of them is very hard to do. Be sure you don't write any more to the disk or you are doomed completely.
Nov
15
comment Problem with WPA connection on OpenBSD
wpa is not needed if there is wpakey, it is written in the manpage. well i think you have compatibility problem. i have had problem with various APs which were used happily by Windows users. Have you tried to associate to different wpa AP?
Nov
15
comment How to recover files I deleted now by running rm *?
Linux/Unix doesn't forgive :)
Nov
13
comment How to enable Broadcom wireless BCM 4313 on OpenBSD?
You already got all needed answers. NDIS never ever! You can go cry on different grave.
Nov
13
comment How to enable Broadcom wireless BCM 4313 on OpenBSD?
'Have you really tried that?'. And... you better go to misc@openbsd.org for help.