Tips

 ◊  Typing a control character in Unix

by danang.wijanarko@gmail.com

 

You want to type a control caracter ?, for example a carriage return character (^M). It does not simply type a '^' and 'M'. Control characters behave differently. So this is what you should do.

To type carriage return (^M) control character:

bash $ Ctrl+V then Ctrl+M

 

- d

 ◊  Changing OpenLDAP admin password

by danang.wijanarko@gmail.com

 

OpenLDAP is a neat tool, but somehow it will bring you pain in the ass if you can't manage it well enough. This tips is intended to people whom they have some difficulty remembering so many thing in their head, because they only have 10 MB neural memory. (Kidding :) ).

There are generally 2 ways to set the administrator password for LDAP.

  1. Set the password in slapd.conf
  2. Set the password in the ldap database

So actually you can have 2 different password for

 ◊  Mysql backup and restore

by danang.wijanarko@gmail.com

 

You might somehow forget some little things, when you already play around on linux administration stuffs in a bunch. Mysql is pretty nice and handy database, almost usefull in any case. Some command you might forget as playing in sql require you to know lot of SQL languange understanding.

Just to make note on my face (as i always forget to remember this simple command). To backup a database in Mysql.

mysqldump -u root -p databasename > databasename.sql

And to

 ◊  Executing scp in background

by danang.wijanarko@gmail.com

 

Sometime you want to copy some file remotely, and as it is a very big file so you just want to leave it in background, here how my tips is working on scp.

$ scp /folder/file-to-tranfer username@remote.host.net:/folder/file-destination-name > /dev/null 2>&1

Now to suspend the process

"Bekatul Port" Personal Enterprise Number (PEN) registered @ IANA OID

ASN.1 Notation: {iso(1) identified-organization(3) dod(6) internet(1) private(4) enterprise(1) 30347}

Dot Notation: 1.3.6.1.4.1.1.30347

IRI Notation: oid:/ISO/Identified-Organization/6/1/4/1/30347

Syndicate content