polynomial
  • Member for 10 years, 5 months
  • Last seen more than a month ago
SIGTERM with a keyboard shortcut
29 votes

stty is responsible for controlling this, you may already have one setup. You can check by doing: $ stty -e speed 38400 baud; 53 rows; 225 columns; lflags: icanon isig iexten echo echoe echok echoke ...

View answer
How to make freebsd box accessible from internet?
Accepted answer
5 votes

You need to open up and port forward ssh on whatever has your external IP address at your house. Usually this is some sort of small router. Although, at my house thats another FreeBSD box, which is ...

View answer
Can I ping/send ICMP through TOR?
Accepted answer
4 votes

No you currently can't send ICMP through Tor: https://www.torproject.org/docs/faq#TransportIPnotTCP https://trac.torproject.org/projects/tor/ticket/1855 Tor itself does not use SOCKS. It is just a ...

View answer
Strange NS behavior on OS X — can't connect to SSH server
Accepted answer
4 votes

You've encountered the overly zealous OS X DNS Cache. Next time you see this you can flush it: # sudo dscacheutil -flushcache That should fix SSH, etc.

View answer
SSD Firmware update = loss of data?
Accepted answer
4 votes

I've done firmware updates on OCZ drives without losing all the data(these were on vertex 2s and 3s). I think it is safe to assume you won't. However with SSDs having a backup is always a good thing,...

View answer
How to replace a harddrives PCB?
Accepted answer
3 votes

I haven't done this in several years, but it used to just be finding the same model # and swapping the PCBs. It was a great trick for recovering data for users when doing hardware support. I imagine ...

View answer
How do you use WGET to mirror a site 1 level deep, recovering JS, CSS resources including CSS images?
3 votes

For the specific site you mentioned and many others coded like it wget (and curl) just won't work. The issue is that some of the asset links required to render the page in a browser are themselves ...

View answer
Is it possible to configure the way bash completes directory names?
Accepted answer
3 votes

You can do this by overriding the default binding for TAB(^i). First you need to override the TAB binding, then you need to build a function that calls your command, lastly you need to take the ...

View answer
Cannot correctly display memory usage under Linux
Accepted answer
3 votes

There are a couple reasons for the behavior you are seeing. First: ps aux's % is based on resident: %mem %MEM ratio of the process's resident set size to the physical memory on the ...

View answer
How can I find out what IRC Daemon a certain server is running?
Accepted answer
3 votes

In most clients you can type '/quote version' or just '/version' and it will query the server, which by default on most IRCds will respond with the info, like: -> Odd server stuff: "351 InspIRCd-1....

View answer
Gnuplotting gzipped files
2 votes

Yes: gzcat datafile.gz | plot '-' u 1:2

View answer
Is it possible to change color depth in KDE in user mode?
2 votes

No, it is not possible to change this outside of the xorg.conf configuration. You can look here: http://www.x.org/archive/current/doc/man/man5/xorg.conf.5.xhtml If the variables are available for ...

View answer
What happens exactly when I type 'bash' on the Terminal command line on Mac OSX?
Accepted answer
2 votes

Depending on the version of OS X you are using your default shell might not be bash. You can verify this by typing(before you run 'bash'): $ echo $SHELL /bin/zsh You can change your default shell ...

View answer
Set mute button to always mute in OSX
Accepted answer
2 votes

I don't think there is any way to do this using the built-in tools in OS X. You can however do this pretty easily in applescript: $ osascript -e 'set volume output muted true' There are a few ...

View answer
terminal transparency, Imagemagick, and X11 root window problem
2 votes

I use feh to accomplish this and it works on debian and ubuntu with windowmaker and wterm(rxvt base): https://wiki.archlinux.org/index.php/Feh#As_a_desktop_wallpaper_manager Excerpt: When using ...

View answer
Is there a powerful yet lightweight vim-like keyboard-centric web browser out there (for Linux)?
1 votes

Have you tried Opera yet? When you install it go into the settings and enable UNIX Keyboard shortcuts. Things like ^U work, you can tab through links on the page and select them. They even have a ...

View answer
What are the preconditions for unrelated websites to open on the same tab process in Google Chrome
Accepted answer
1 votes

This is covered in the Google Chrome FAQ: How can my web page open a new tab in a separate process? Google Chrome has a multi-process architecture, meaning that tabs can run in ...

View answer
copying a directory tree to another location, with optional compression
1 votes

Well, as an academic excersize: set -e # abort on errors find /source -print | while read object_name; do if [ -d "$object_name" ]; then mkdir -p /destination/$object_name else if echo "$...

View answer
Performance of RAID 5 with mdadm
Accepted answer
1 votes

Yup. You can see from the bonnie output that its CPU bound (on what are relatively slow cores), as one would expect with software raid. The calculation of where to store data in a RAID 5 array is ...

View answer
Screen does not appear in list when using sudo
Accepted answer
1 votes

It sounds like your screen binary location is not in the $PATH being used by sh. So when you sudo, because you aren't invoking the login shell to setup a new environment, the command won't exist. ...

View answer
is there a good way to determine how much disk space a backup will require?
Accepted answer
1 votes

To calculate the size just use: $ du -sh /path/to/what/you/want/to/backup It will return the size in human readable format, it should look like this: $ du -sh . 8.8M . Meaning my current ...

View answer
How can I run fsck on a disk image via Mac Terminal?
1 votes

You first need to associate the image with a device, then pick the correct fsck tool for the file system type and run it against the device. Using hdid to map the dmg to a device: # hdid Silverlight....

View answer
How can I use two Internet connections at the same time?
Accepted answer
1 votes

The Mikrotik RB750 is more than capable of doing what you want with it (after reading the manual for it). There is one caveat that RouterOS doesn't have out of the box support for some sort of ...

View answer
Ubuntu - file permissions getting changed automatically
1 votes

Regarding the first question, you probably want to setup auditd to monitor the directory for permissions changes: http://www.cyberciti.biz/tips/linux-audit-files-to-see-who-made-changes-to-a-file....

View answer
Accessing Apache sites on Macintosh (Snow Leopard) using internal IP address of machine
1 votes

If you have already checked file permissions then you are probably running into one of these directives: <Directory /> Options FollowSymLinks AllowOverride None Order deny,allow ...

View answer
Recently-written files suddenly dropping to 4kb - OSX
0 votes

Specific to your question about a utility to watch file activity. What you want is called 'opensnoop' and it ships with OS X: http://developer.apple.com/library/mac/#DOCUMENTATION/Darwin/Reference/...

View answer
Dotty shows all labels as dots (period) instead of text
0 votes

As others have mentioned your font configuration isn't working. You can read more about how to configure that here: http://www.graphviz.org/doc/info/attrs.html#d:fontname

View answer
Theoretical connection limits for an 802.11n
0 votes

The speed is a function of serialization delay and frequency width. For 802.11n there are a lot of different types of Layer 1 signaling/timing: http://en.wikipedia.org/wiki/IEEE_802.11n-2009#...

View answer
Terminal unzip outside default directory
Accepted answer
0 votes

The specific answer to your question is no. The unzip that ships with OS X has no way to change directories in the zip on the fly. One thing to note however, is that zip is not 'creating the ...

View answer
How to measure outgoing connections limit?
0 votes

It isn't really clear. Are you talking about the scientific number? Or the number of useful connections for performance/bandwidth reasons? Here is the scientific/software limit answer: root@ac1:/...

View answer