16,022 reputation
22847
bio website
location Chicago, IL
age
visits member for 4 years, 11 months
seen yesterday

I've hit both 1337 and 6502 on superuser, yay


Mar
12
comment Are there any drawbacks when replacing Windows' functions with Cygwin's in the PATH?
The big thing to take away, Windows find.exe works quite different than Cygwin find.exe. The Windows one is more like grep than a file find. This inconsistency would break tools that shell out, expecting the Windows functionality.
Mar
11
comment Getting pid of process not listed in ps -ef
@AlanShutko Thanks... was not aware. Is this in the default ps or in some GNU ps?
Mar
10
comment What Trusted Root Certification Authorities should I trust?
All excellent questions. You may think about searching some security.stackexchange.com posts
Mar
10
comment What does 'source' do?
@jlliagre my personal "explain why have source" is that source is not only more descriptive, but it looks like something other than a typo. I've had people skip the period/dot when I send tech commands in email.
Mar
4
comment Cygwin .bashrc not being source because cygwin starting in Windows home
@SopalajodeArrierez if you have an interactive (not a script, but active at a terminal) shell, bash pretends you gave it -i on the command line. Try opening a bash shell window, then echo $-, you should see i (among possibly other flags)
Mar
3
comment NASTY- ness not sure who to point the finger at!
agreed. Once you become root/sysadmin, any malware can bring in a rootkit, which your userlevel anti-virus code can't do anything about. Nuke it from orbit, just to be sure.
Feb
20
comment Is it possible to take away tcp port which is already listened by another program
For your last paragraph, yes, the sockets/ports are held by the Operating System, in the kernel. And every OS makes a port unique to a process at any given time.
Feb
12
comment How can I get file names of opened by a process?
I know you wanted a general answer so you added pgrep, but you do remember that init is always PID 1 right? Not sure if systemd and upstart constrain to PID 1 though.
Feb
4
comment Antivirus for power users
I'd have said ClamAV, since technically he didn't say platform. I run it on my mac and used to on my XP box before I retired it
Feb
3
comment How to get Linux to be loaded to RAM?
I hate when people downmod without an explanation. I was going to recommend DBAN as well, my only guess is you got downmodded on the "boot, then remove media for another box" requirement.
Jan
30
comment Use Xming without putty
@SonofLysander this is a bit of a FAQ, you can wrap the command you run with 'setsid' (my answer above edited with this change) or use other tricks like disown
Jan
29
comment Removing “.” while standing on it
Can you reword this so the question you're asking is more obvious?
Jan
29
comment If Google provides public DNS 8.8.8.8 and 8.8.4.4, who provides 4.2.2.2?
4.2.2.2 is also useful for network debugging, namely an easy to remember IP that responds to pings. For years, if there was a network connection issue, the first step would be to ping the router, then to ping 4.2.2.2, to see if packets got on the net (no DNS needed). 8.8.8.8 is a bit easier to remember now though :)
Jan
28
comment What traces do I leave when downloading from internet?
If it's webbrowsing, you give the server a plethora of info, enough to pretty much uniquely identify you
Jan
24
comment with a shell script, it is possible to tell when it's run with cron vs run manually?
This would work. It's a bit easier with my code snippet, checking out /proc/$PPID/cmdline. ps on Linux in effect snoops /proc/ anyway.
Jan
23
comment Extracting a .tar.gz I get a file without extension
@TadaBanri On most UNIXish systems there's a tool called file which can help you see what type the file is. For most executables, it will call it an ELF executable, whatever the bitsize is.
Jan
9
comment VPN into Cisco/Linksys router
You could pick up a Raspberry PI or some other cheap low power device and make a VPN Server on it. Not what you want, but probably the best you can do at this point. Cheaper than buying a new router that supports VPN (or reflashing to DD-WRT)
Dec
11
comment Is there a mac2unix utility?
As @Spiff said, you probably don't need anything Mac specific, as MacOS X is UNIX underneath. Are you using Mac OS 9 or previous? What version of MacOS/System do you need this for?
Dec
1
comment Restrict user access to only read from /proc
what are you trying to protect? Some files are world write. The file permissions are set by the kernel module - unless you want to change kernel code (and affect everyone) you can't change them. Also, do you want to protect /sys? and sysctl?
Nov
24
comment How to Airdrop between Mac and iPhone?
I don't think you can do this in current version of AirDrop. A PITA workaround may be DropBox AirDrop integration.