User Tools

Site Tools


unix

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
unix [2009/07/04 14:30]
robm
unix [2011/10/23 14:31]
robm [Unixy Stuff]
Line 4: Line 4:
 //**Note:** This are also includes web-related things, such as Apache, which arn't really specific to unix & linux systems// //**Note:** This are also includes web-related things, such as Apache, which arn't really specific to unix & linux systems//
  
 +  * [[unix:lvm_recovery]] --- Recovering my LVM volume stored on my RAID array.
 +  * [[unix:flash]] --- Getting fullscreen performance out of Adobe Flash under Ubuntu
   * [[unix:x|My Perfect X11 setup]] --- Portrait PC monitor with compiz + HDTV without compiz   * [[unix:x|My Perfect X11 setup]] --- Portrait PC monitor with compiz + HDTV without compiz
   * [[unix:xinput|Logitech Marble Mouse scroll-wheel emulation]] --- How to configure a trackball mouse with extra button to pretend it has a scroll-wheel   * [[unix:xinput|Logitech Marble Mouse scroll-wheel emulation]] --- How to configure a trackball mouse with extra button to pretend it has a scroll-wheel
Line 18: Line 20:
  
   * [[unix:cygwin:xserver]] --- Fixing up the clipboard in the Cygwin/X Xserver.   * [[unix:cygwin:xserver]] --- Fixing up the clipboard in the Cygwin/X Xserver.
 +
 +===== Finding directories NOT containing a specific file =====
 +<code bash>
 +(find -mindepth 2 -maxdepth 2 | grep UNWANTED_FILE_NAME | cut -d/ -f2; command ls) | sort | uniq -u
 +</code>
 +
 +This creates to output streams, one from the ''find'' command and one from ''ls'', that are combined, sorted and finally filtered to remove any entries that occurs more than one.
 +
 +The streams are combined by the parenthesis which create a sub-shell.
  
 ===== Renaming ===== ===== Renaming =====
Line 228: Line 239:
 >as RTS/CTS and involves switching the signal on a couple of the pins >as RTS/CTS and involves switching the signal on a couple of the pins
 >connected to the serial port. >connected to the serial port.
 +
 +To disable flow control add this to your shell's init script (e.g. ''.bashrc''):
 +
 +<code bash>
 +# Disable software flow control (XON / XOFF or ^S / ^Q)
 +stty -ixon
 +</code>
  
 ===== Disabling CapsLock ===== ===== Disabling CapsLock =====
Line 245: Line 263:
 <code>xmodmap ~/.Xmodmap</code> <code>xmodmap ~/.Xmodmap</code>
  
 +===== SSH port-forwarding =====
 +http://www.stearns.org/doc/ssh-techniques-two.current.html
  
unix.txt · Last modified: 2021/12/13 13:55 by robm