424 reputation
16
bio website
location
age
visits member for 1 year, 11 months
seen Feb 25 at 3:34

Sep
13
awarded  Yearling
Aug
9
awarded  Custodian
Aug
9
reviewed Approve suggested edit on Run a cron job every minute, meaning of syntax
Aug
9
answered Run a cron job every minute, meaning of syntax
Aug
2
comment In which cases is SIGHUP not sent to a job when you log out?
In addition to whether or not SIGHUP is sent, whether a process has defined a signal handler (and catches SIGHUP) or signal mask are additional factors in whether it is terminated when sent that signal. So just because it remains running after logout doesn't mean it wasn't sent that signal
Jul
29
answered Looping over a folder enter anyways the loop
Jul
26
awarded  Informed
Jul
2
answered Assigning a value with echo piped together with the bc command and using a variable as an argument
May
6
comment Is there a way to 'authorize' a command typed in by a user?
An experienced user would get around many if not all of those restrictions. "cp file1 file2" would turn into "cat < file1 > file2" (or use dd, or any other number of commands).
Apr
18
comment How to specify which interface an application uses?
As others note, an application can pick an interface on which to listen. I think you're asking the opposite: Can a client choose which network interface to use when establishing a connection with a remote listener? The answer is that the client's connect() call will end up using the route (and interface) defined by the routing table. There may be application specific approaches to achieve this, such as two web browsers using different networks via choosing proxy servers within one or the other network. Did I interpret your question correctly?
Mar
30
awarded  Analytical
Mar
29
awarded  Supporter
Mar
28
comment /etc/vfstab in Solaris 11
Does the mountpoint exist? Are you inadvertently including a trailing slash that tab-completion can append? I.e., are you running "mount /remote/username/" instead of "mount /remote/username"?
Mar
28
comment /etc/vfstab in Solaris 11
dfstab is for exports.
Mar
28
comment mount -t cifs: “Operation not supported”, but can connect via smbclient
If the NAS are Linux based, do you need to access via CIFS? If they are exported with NFS as well, you should just use NFS instead.
Mar
27
answered Using Wireshark on Linux to observe coupled HTTP-request and HTTP-respond
Mar
27
comment Unix Date command not working for few servers
Stephane has already provided the answer, but I wanted to point out that you should look to the man pages for issues like this. Then you'd know you were trying to use options that are not available in a (POSIX) standard date command. Solaris' man pages are detailed and complete.
Mar
25
comment How to forbid the execution of /bin/rm -f *?
If you want the asterisk to trigger some unique behavior, only the shell can do that. (Globbing must occur prior to exec) If that feature is something you want, then as Stephane notes, switching to zsh is one way to get it. It is still a bourne-ish shell, so it might not feel too alien.
Mar
25
comment How to forbid the execution of /bin/rm -f *?
It's just a perl script. You customize it into any behavior that suits you. But as others have pointed out, you used an alias to make rm safer, but then developed the habit of typing the full path /bin/rm explicitly to avoid that safety net.
Mar
25
comment How to forbid the execution of /bin/rm -f *?
Your comment illustrates the issue with using aliases to guard against dangerous rm usage. You already have one set up, and went on to develop the habit of using the full path to avoid the aliased command. I do the same thing, with rm aliased to "rm -i". When I want normal behavior, I type "\rm" instead, but when doing that I accept that I am running a normal rm.