Some Computer Hints


Ubuntu General

To display Ubuntu release use:

$ cat /etc/os-release

A simple way to create a core file:

$ ulimit -c unlimited
$ sleep 10 &
$ killall -SIGSEGV sleep

To convert a text file that contains ISO encoded characters (e.g. ISO-8859-9) to UTF8, use the following filter:

$ iconv -f ISO-8859-9 -t utf-8//translit

To do the reverse of it, use:

$ iconv -f utf-8 -t ISO-8859-9//translit

To list the contents of a binary file in hexadecimal and text, use the command:

$ hexdump -C binary_file