public marks

PUBLIC MARKS from alamat with tags tricks & linux

2016

2010

Linux Tip for the Day: Monitoring root in the password file

(via)
One of the popularly known method of breaking into a Unix host is by inserting a uid value 0 in the /etc/passwd file which could be done in many ways including backdoors for later accesses .

How Do I Scan My Linux System For Rootkits, Worms, Trojans, Etc.?

(via)
Either install the package that comes with your distribution (on Debian you would run apt-get install chkrootkit

2009

Rebooting Because of Fork Bombs

(via)
There is nothing more frustrating for an Administrator who has to reboot system due to fork bomb

Building a Linux supercomputer using SSH and PVM

(via)
If you have a couple of old Linux boxes sitting around, then you’ve got the makings of a supercomputer. Dust them off, install Secure Shell (SSH)

NFS between Solaris & Linux

(via)
If you receive error messages such as “unknown version” when attempting to mount a Linux based NFS server from Solaris

Separate Shell Command history

(via)
One other suggestion on how to separate shell command history files by terminal (It works on HP-UX):

How To Set Up Database Replication In MySQL

(via)
This tutorial describes how to set up database replication in MySQL. MySQL replication allows you to have an exact copy of a database from a master server on another server (slave), and all updates to the database on the master server are immediately replicated to the database on the slave server so that both databases are in sync.

2008

Linux Tip of the Day - Reset MYSQL password

If you forgot your mysql password and you have root access, just follow this steps.

Linux Tip of the Day - Transferring mulibyte files

Do you find trouble in transferring multibyte binary data files to Windows and then read through HexEditor ?

Linux Tip of the Day - Find and edit strings

Ever found a need to find for a particular string across the file system and edit all those files which contains that particular string?? Here is a simple way.

Linux Tip of the Day - Removing files with bad filenames

If a file has a special character, Unix will try to interpret the character. Renaming these type of files cannot be done with a simple “mv”…..it will have to be done using the file’s inode.

Linux Tip of the Day - Variable usage i or ii

(via)
In cases like the following, you will notice a variable, $i, put into use. Variables such as “i, j, k” are commonly used not only in simple shell scripts, but all types of code.

Linux Tip of the Day - tail with color

(via)
Here is how to monitor a growing file and have it highlight a KEYWORD:

Carrots are good for you

(via)
Most often when we try to execute a command at the shell we do some mistakes like missing out a char or misspelling it.

alamat's TAGS related to tag tricks

apple +   battery +   blog +   bombs +   computer +   crontab +   database +   distro +   file +   files +   fork +   from +   guides +   help +   hidden +   how-to +   howto +   improve +   ip +   iphone +   laptop +   linux +   logins +   logout +   losers +   mac +   monitor +   mysql +   network +   nfs +   osx +   password +   PVM +   reboot +   replication +   root +   rootkit +   saved +   script +   security +   shell +   solaris +   ssh +   supercomputer +   system +   tech +   techy +   tips +   tracking +   trojan +   tutorial +   unix +   value +   view +   wireless +   worm +