Linux Kernel – How to obtain a particular version (right upto SUBLEVEL)

kernel.org has a public (read-only) git repository that you can clone. It has also tags for every kernel version, so you can checkout a specific version: # Clone the kernel to your local machine $ git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git $ cd linux-stable # Find the tag for the version you want $ git tag -l | … Read more

How to run spell check on multiple files and display any incorrect words in shell script?

You can install aspell with Homebrew on OS X. brew info aspell lists supported languages. brew install aspell –lang=en,fi,jp aspell check opens a file in an interactive spell checker: for f in *.txt; do aspell check $f; done aspell list prints all unrecognized words: cat *.txt | aspell list | sort -u Learned words are … Read more

How can I make a public HTML folder in Ubuntu?

Assuming you’ve already installed apache, do the following: sudo a2enmod userdir sudo service apache2 reload The first command enables the userdir apache mod, which does exactly what you want. The second reloads apache configurations so that it starts using the new configuration. To install apache2: sudo apt-get install apache2 Of course, you’ll also need to … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)