Month: June 2014

Link: OS X: Roll Your Own Malware Detection

Macs are not immune to malware.  Authors of malicious software often try to get a LaunchDaemon or LaunchAgent installed onto your computer [in any of several system folders]…

OS X has a lesser-known feature called Folder Actions.  These allow you to run scripts when an item is added to a folder.  You can set up a simple script that lets you know when an item is added to one of the folders above and then open it to see what was added.  If it is not something you recognize or were expecting, delete it.

Full article here:
OS X: Roll-your-own Malware Detection (Jacob Salmela)

NOTE: The instructions in this article are slightly out of the correct sequence for OS X 10.9 Mavericks, but if you follow them as shown you will see the problem. The main thing is, after right-clicking the folder you wish to monitor, and then selecting Services and Folder Actions Setup, on the first screen that appears select add – new item alert.scpt as shown below:

Choose script to attach

Then on the next screen, just make sure all the boxes are checked, especially the first one “Enable Folder Actions” as shown below:

Adding new item alert folder action

Link: How To Share Disks In VirtualBox Between Linux Guest OS

Let me show you in this small  tutorial, how to share 1 disk between 2 Linux guests os in Virtualbox.

This tutorial will be very helpful, if you want to Configure and play with GFS or cluster machines.

Full article here:
How To Share Disks In VirtualBox Between Linux Guest OS (Unixmen)

Link: Linux findmnt Command To Find Mounted Filesystems

The command findmnt is used to find mounted filesystems in Linux. This command will look for a particular filesystem in /etc/fstab, /etc/mtab or /proc/self/mountinfo.

This article explains many of the options of the findmnt command.

Full article here:
Linux findmnt Command To Find Mounted Filesystems (LinOxide)
Related:
8 examples of findmnt command to check mounted file systems on Linux (BinaryTides)

Link: Repair a Broken Ethernet Plug

The locking tab of RJ45 plugs breaks very easily. Replace it by two nylon cable ties (aka zip ties), in minutes.

IMPORTANT NOTES:
– This must be regarded as a temporary “Mac Gyver” solution, for home usage.
– Definitely not for IT staff! (no crimper? asking for one in the budget won’t get you fired!)
– Before the tab breaks, consider protecting the plug.

Full article here:
Repair a Broken Ethernet Plug (Instructables)

Link: Bulk Replace Text In Many Text Files

Finding and replacing text in a single text file is simple, you can use the Find and Replace function within the edit menu of your text application. The problem arises is want to use this feature in many text files. You can open each one, but that is a little complicated. Today we are going to adapt a script within terminal to carry out this command on a set of text files within a folder. It will open each text file, search for the exact or partial string and then replace it with the text we want. This is a little complicated but a great time saver.

Note: While this article was written specifically for use with OS X, the technique shown should also work in Linux and similar OS’s, with the caveat that perl must be installed on the system.

Bulk Replace Text In Many Text Files (MacTricksAndTips.com)

Link: An Insight of Linux “Variables” in Shell Scripting Language

We already have written a series of articles on Linux Shell Scripting which was warm welcomed that time and it was much relevant even now. Here is the link to the collection of articles on shell scripting.

Here in this article we will see the variables, its execution and its implementation in shell script.

Full article here:
An Insight of Linux “Variables” in Shell Scripting Language – Part 9 (Tecmint)

Link: How to Manage Printers in Linux

Linux often gets a bad rap when it comes to certain peripherals. Printers are no exception. As someone who worked as a remote engineer for a large managed service provider, I can happily confirm that printing, as a whole, is a horrible system. In the Windows environment, printing breaks often – and although Windows might enjoy a larger, more mainstream, selection of drivers, it doesn’t have nearly the level of administration tools as does Linux.

Nearly all Linux desktops depend upon a very user-friendly printer configure/management tool called system-config-printer. Though there may be minor differences in the GUI (from distribution to distribution), the use of the tool is the same – and it’s incredibly easy. Even without the GUI tool, managing printers in Linux is quite simple, thanks to a web front-end for the Common Unix Printing System (CUPS). With this web-based management tool, you can even configure your printers remotely.

In this piece, I will introduce you to setting up a printer using the system-config-printer tool. Once you see how easy it is, you’ll worry less about using Linux as a desktop or even using Linux to share printers out.

Full article here:
How to Manage Printers in Linux (Linux.com)

Link: Grsync And GAdmin-Rsync: The Graphical Front-end Applications For Rsync Tool

In our previous article about rsync, we have shown you how to install and use rsync. Working in command line mode is better than GUI mode, however it will be bit difficult to newbies and novice users. Today, I will introduce some graphical front-end tools called Grsync and Gadmin-rsync which will help to ease the usage of rsync tool.

Full article here:
Grsync And GAdmin-Rsync: The Graphical Front-end Applications For Rsync Tool (Unixmen)
Previous article on this subject:
Link: Grsync : Graphical rsync backup tool on Ubuntu (12.10 / 13.04 / 13.10) (TechNotes)

Recent Posts

Recent Comments

Archives

Categories

Meta

GiottoPress by Enrique Chavez