Linux

Pages about Linux in general

Shutdown from command line, the easy way

Being stupid with friends a couple of nights ago, this is the way I shutdown my laptop (fixing a typo, you know):

echo "sudol init 0" | sed 's/sudol//'|xargs sudo

Using xargs makes me feel better.

Scribes editor cheatsheet

{{974682812}} This morning I decided to give Scribes another try. It has some great and cool features such a snippets (see the demo) and automatic word completion.
It also offers a pretty big set of keyboard shortcuts, some of them solve those little repetitive tasks you are used to if you edit a lot of code (like “free current line” or “free next line” to make space for more code).

Extreme Basherism

In the past you may have encountered this problem: looping through a list of files with a Bash “for loop” gave you headaches if filenames had spaces inside. This is our setting:
<br /> flevour@voyance:/tmp/blog_post$ touch "my filename with space"<br /> flevour@voyance:/tmp/blog_post$ touch one two three other filenames<br /> flevour@voyance:/tmp/blog_post$ ls -l<br /> total 0<br /> -rw-r--r-- 1 flevour flevour 0 2007-05-07 17:49 filenames<br /> -rw-r--r-- 1 flevour flevour 0 2007-05-07 17:48 my filename with space<br />

Categories:

Bored?

{{185519830}}
Read `man bash` or the Simmetry entry on Wikipedia.

Dependency-hackish way to install LAMP on Ubuntu

{{330467135}}A lot of guides go into details to explain the correct sequence for getting a Apache+PHP+MySQL environment running on Linux.
I am running a fresh Ubuntu installation right now and when I typed “apt-get install phpmyadmin” I noticed everything I needed was correctly installed (except for mysql, this calls for another hard “apt-get install mysql-server” command).
Next time I’ll need LAMP, I’ll “apt-get install phpmyadmin mysql”, instead of going through other step-by-step guides…

Categories:

Missing extension

{{262853928}} I got some problems with signing in my Google Browser Sync and I am finding out how much I have come to rely on it for my daily browsing: session restore, password autocompletion, URL autocomplete and so on … hope it comes back soon …

Categories:

Great news since last post, linux installation on TM8106

I bought a new laptop and I spent the last 4 days configuring it and getting it to a "development ready" state. I am writing this post laying on my bed via my newly installed WIFI network. Whoah. The new laptop is a TM8106WLMI. I installed Gentoo. I am available for giving out tips and tricks for the configuration, just drop me a line at tm8106 AT the domain of this blog. I’ll be glad to help you out! I have got working everything important (video drivers and wifi).

Categories:

Nostalgic post

Reading Phrack magazine via Gopher tastes totally different, even if the client (Firefox understands HTTP and Gopher protocols; surprised about the first? Get used to it, there will be much to talk about it – > search for "pipeline") stays the same. I wish I lived those days in which txt was the Way. Will be such days return in the future in a different fashion?

You don't read chinese/indian sites all the day, do you?

Add this line to your .bash_profile and love the Firefox speedbust (I am sorry to inform you won’t be able to read those favourite chinese or indian blogs of yours since with this command you are actually disabling the loading of Pango library):  export MOZ_DISABLE_PANGO=<span>1</span> Via Fullo (italian blog). 

Trying to setup RSA authentication

Always remember to run "chmod 0700 ~/.ssh && chmod g-w ~&& chmod o-w ~" or SSH will refuse to cooperate (thanks ramses0 in Dreamhost old User Knowledge Base).

Categories:

Pages

Subscribe to RSS - Linux