background preloader

Sysadmin

Facebook Twitter

Varnish

Loadimpact. Pingdom Web site monitoring for 100% uptime. Measure your downtime. Linux Tutorial - Managing Group Access on Linux and UNIX. Group File, Directory and Device permissions: chmod Set file, directory and device permissions: File, directory and device permissions can be set to allow or deny access to members of their own group or all others. Modification of file, directory and device access is achieved with the chmod command. The permissions can be assigned in octal notation or in the more easily recognized character format where the command form is: chmod [ugoa][+-=][rwxXst] fileORdirectoryName Note: Other file systems can be mounted by Linux which support more file and directory options.

Examples: Grant read access (r) to a file to all members of your group (g): chmod g+r file-name Grant read access to a directory to all members your group: chmod g+rx directory-name Note that "execute" permission is required in order to read a directory. View file, directory and device permissions: Permissions may be viewed by issuing the command: ls -l file-name File can be written by youself and members of the group.

Format: Bash Shortcuts For Maximum Productivity. It may or may not surprise you to know that the bash shell has a very rich array of convenient shortcuts that can make your life, working with the command line, a whole lot easier. This ability to edit the command line using shortcuts is provided by the GNU Readline library. This library is used by many other *nix application besides bash, so learning some of these shortcuts will not only allow you to zip around bash commands with absurd ease :), but can also make you more proficient in using a variety of other *nix applications that use Readline. I don’t want to get into Readline too deeply so I’ll just mention one more thing. By default Readline uses emacs key bindings, although it can be configured to use the vi editing mode, I however prefer to learn the default behavior of most applications (I find it makes my life easier not having to constantly customize stuff).

Command Editing Shortcuts Command Recall Shortcuts Command Control Shortcuts Bash Bang (!) !! Image by djhsilver Related. Vim Cheat Sheat for Programmers by Michael Pohoreski. Update: Version 2.0 is up! There are now 4 versions to chose from: (If you are wondering what the differences are between the screen and print: the screen has less color variations, and no gradients to make it easier to read.) One designed for on-screen reading: PDF (Excel 2011 source),One designed for hard-copy reading: PDF (Excel 2011 source),One designed for monochrome printing: PDF (Excel 2011 source), andOne designed for Red/Green color bindness -- a "Blue" theme PDF (Excel 2011 source). The color coded Legend / Keys helps provide guidance for your experience level. Green = Essential Yellow = Basic Orange / Blue = Advanced Red = Expert If you don't like this version (I'd love to hear why) try these, you may find them more to your liking... Thanks to all the redditors for the feedback!

The on-screen 150 DPI .png version is shown... The color hard-copy 300 DPI .png version: The monochrome hard-copy 300 DPI .png version: An color blind hard-copy 150 DPI .png version: === Vim Rants ===

SSH

Nginx.