Archive for the ‘linux’ Category
Monday, January 18th, 2010
Quick not to myself since everytime I spend hours in searching it again. The command line is: openssl x509 –req –in <path>/<certificate_request>.csr –signkey <path-to-CA-private-cert>/CA-private-cert.pem –out <path-to-certs-repository>/signed-cert-name.pem Hopefully next time I do not have to search it again hours and hours ;) Naturally this command required to ...
Posted in OpenSSL and PKI, linux | No Comments »
Monday, January 18th, 2010
This is something not so easy to find on the internet, and once again Linux shows its immense power in the simplest way: CLI. Question: I have a .ISO file representing the image of a DVD and I want to know the LABEL of that DVD. Answer: Issue ...
Posted in linux, shell scripting | No Comments »
Saturday, January 16th, 2010
Let's start this new year by referencing an excellent system I happened to find on the Internet to perform uPnP server functionality on my Linux system.
The name of the thing is LLink and although I haven't exploited at full yet, it looks VERY promising.
Some features:
Parses various video containers: vob, avi, ...
Posted in linux, multimedia | No Comments »
Thursday, December 31st, 2009
Although it could seem an oxymore, sort something in randomic order might be usefl sometimes. Give a look to the script below, which I’m writing here for future reference. #!/bin/bash # # This script creates a list of file or symbolic link to ...
Posted in linux, shell scripting | No Comments »
Sunday, November 29th, 2009
I don't consider myself a script guru, but sometimes I like to create small pieces of bash code to ease operations on my linux box... and I guess it's good idea to note here some of the recent solutions I've found for later remembering.
I'll try to comment them, so that ...
Posted in linux, shell scripting | No Comments »
Tuesday, November 3rd, 2009
Here’s another successful operation done on fantastic Linux OS that is a pure dream for other operating systems. Situation: I have a virtual machine with 20 GB HDD, partitioned as follows: 95% ext3 on primary partition 5% swap on first partition of extended partition I certainly ...
Posted in linux | No Comments »
Monday, April 13th, 2009
Should you come across the same need, I just found a working solution, even if quite odd. The trick to get it working is to go into sound settings and enable IEC958 Playback AC97-SPSA, checking that volume is set to… 0. Magically sound will begin to flow out ...
Posted in linux | No Comments »
Saturday, March 21st, 2009
Made this small script for this purpose… #!/bin/bash # # Script to check a directory and write in file the new files # since last check. # ...
Posted in linux, shell scripting | No Comments »
Friday, March 6th, 2009
It took me a while to figure out due to misleading information over the vast Internet suggesting to search for non existing /etc/vsftpd.users or something like this. Thing you have to do is to edit /etc/ftpusers and remove root from there.
Posted in linux, networking | No Comments »
Tuesday, February 3rd, 2009
You might need to do something with a list of files contained in a file… and maybe these file names include spaces, therefore using a standard for i in `cat filename` do echo $i done does not work ...
Posted in linux, shell scripting | No Comments »