Monday, October 29, 2012
Saturday, October 6, 2012
Hello world!
Welcome to WordPress.com! This is your very first post. Click the Edit link to modify or delete it, or start a new post. If you like, use this post to tell readers why you started this blog and what you plan to do with it.
Happy blogging!
Happy blogging!
Monday, September 3, 2012
ubuntu tip: show tty console instead of GUI login
press ctrl+alt+F1 once ubuntu booted showing login prompt to switch to tty console.
Ubuntu tip: show hidden files in folder window ubuntu
Ubuntu tip:
to show hidden files in the folder window graphically, press ctrl+h on the folder window
to show hidden files in the folder window graphically, press ctrl+h on the folder window
Wednesday, July 25, 2012
speed up your build process "make"
use "make -j"
where number of jobs are those that can run parellel to make it faster
where number of jobs are those that can run parellel to make it faster
Thursday, July 19, 2012
Thursday, July 12, 2012
shell IF statements
shell script, IF evaluate conditions:
Expression | Description |
-d file | True if file is a directory. |
-e file | True if file exists. |
-f file | True if file exists and is a regular file. |
-L file | True if file is a symbolic link. |
-r file | True if file is a file readable by you. |
-w file | True if file is a file writable by you. |
-x file | True if file is a file executable by you. |
file1 -nt file2 | True if file1 is newer than (according to modification time) file2 |
file1 -ot file2 | True if file1 is older than file2 |
-z string | True if string is empty. |
-n string | True if string is not empty. |
string1 = string2 | True if string1 equals string2. |
string1 != string2 | True if string1 does not equal string2. |
Subscribe to:
Posts (Atom)