Tags » Linux

Εγκατάσταση Oracle Java Development Kit σε Debian based Linux (Debian, Ubuntu, Mint)

Υπάρχουν πολλές περιπτώσεις, στις οποίες θα θέλαμε, σε σύστημα Linux, να εγκαταστήσουμε την έκδοση της Java που προσφέρει η Oracle, έναντι του OpenJDK του υπάρχει στα εκάστοτε official repositories. 125 more words

Debian

Happy Thanksgiving 2014

I want to say Happy Thanksgiving to all my friends, family, readers and visitors.  I really enjoy having this blog and sharing what I have done and what I am planning to do.   755 more words

Linux

Preparing Kali linux for penetration testing/vulnerability assessment

We all know what Kali linux is and what it’s used for. What we need is a comprehensive guide or reminder how to install it and set it up from the scratch. 3,085 more words

Security

Unset readonly variable in bash

While writing post, I’ve used readonly statement. While testing, troubleshooting and debbuging your code, sometimes you need to unset the variable… Here’s the solution:

$ unset GUARDYVAR
bash: unset: GUARDYVAR: readonly variable
$ echo $$ #get the PID of current shell
17219
$ gdb
GNU gdb (GDB)
[...]
(gdb) attach 17219
Attaching to process 17219
[...]
(gdb) call unbind_variable("GUARDYVAR")
$1 = 0
(gdb) detach 
$ unset GUARDYVAR
$ #no error
$ echo $GUARDYVAR
$ #no output
… 7 more words
Technical

Bash script dry-run or rather syntax validation, to be precise

Recently was wondering, if it is possible to validate the bash script. bash --help wasn’t much useful, but on the other wasn’t completely useless. It came up with the following suggestion: 581 more words

Technical

Auto login to linux console on boot

Auto login can be enabled to a console(tty) in linux on boot.If you want to activate it for specific console, change the configuration as below. 50 more words

Linux