Reputation
230
Top tag
Next privilege 250 Rep.
View close votes
Badges
1 8
Newest
 Student
Impact
~15k people reached

Apr
26
revised get the list of remembered Network Profiles of a Windows computer over ssh
added 271 characters in body
Apr
25
comment get the list of remembered Network Profiles of a Windows computer over ssh
@matzeri do you deploy sshd in any special way (other than running ssh-host-config?). I just tested that it doesn't work for me in Win10, Win7 enterprise, win8.1. Tested with ssh admin@host "reg query 'HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles' /s".
Apr
25
comment get the list of remembered Network Profiles of a Windows computer over ssh
@matzeri, what version/variant of Windows? It doesn't work for me in Win7 home
Apr
22
awarded  Student
Apr
22
revised get the list of remembered Network Profiles of a Windows computer over ssh
edited body; edited title
Apr
22
asked get the list of remembered Network Profiles of a Windows computer over ssh
Apr
10
comment How to connect to a 3DS's SMB share from Linux?
For the record, it doesn't work with smbclient from samba 4.4.0 either.
Feb
25
comment What is a simple way to let a command run for 5 minutes?
Note that there exist at least two implementations of timelimit. See How can I kill a process and be sure the PID hasn't been reused for more info on them and GNU timeout.
Nov
5
revised How to go to remote directory in Cygwin?
update link anchor to specific section
Nov
5
suggested approved edit on How to go to remote directory in Cygwin?
Sep
24
answered Is there a way to show windows processes in Cygwin constantly
Apr
8
revised How to disable the skype ads (advertisement)?
apps.skype.com for newer skype versions
Apr
2
awarded  Informed
Apr
2
comment How to use locate to search for folders only
Unix systems are multi-user and /tmp is world-writable (and even on single user systems, you or a network service can be tricked into creating files named like that). Embedding that {} like that is a bug easily upgradable to a security vulnerability. IMO, on public Q&A websites, we should at least point out the limitations. Feel free to include that code in your answer. I'm generally not contributing to Super User, I just got there from a link on Unix & Linux.
Apr
2
comment How to use locate to search for folders only
Note that [ -d also returns true for symlinks to directories. Not necessarily bad, just worth noting as it's different for instance from find -type d.
Apr
2
comment How to use locate to search for folders only
The proper way is with something like locate --null something | xargs -r0 sh -c 'for i do [ -d "$i" ] && printf "%s\n" "$i"; done' sh {} +. {} should never be embedded in the shell code, that's as bad as using eval with arbitrary data (hence the downvote).
Apr
1
comment How to use locate to search for folders only
See also that similar question on unix.stackexchange.com
Apr
1
comment How to use locate to search for folders only
That command just rebooted my machine (I had a /tmp/something$(reboot) file).
Jan
28
comment GHOST glibc vulnerability (CVE-2015-0235): is it required restart a server after glibc upgrade?
lsof | awk '/DEL.*libc/{print $1}' | sort -u to match only on those that link to the now deleted (after the update) libc.
Nov
29
awarded  Yearling