Tag Archives: Linux

Error “join: multi-character tab `\\t’” for using join tab

The default separator for linux join is whitespace, when I try to use “t” to instead of whitespace with the command “join file1 file2 -t “t””, following error occurred: join: multi-character tab `\t Here is the resolved method is found … Continue reading

Posted in Programming Skill | Tagged , , | Leave a comment

Two methods to redirect output for “set -x”

I found that the standard direct cannot redirect the output of the “set -x”, following is two methods to redirect output for “set -x” by google and my co-worker: 1: ./test.sh > test.log 2>&1 2: test.sh 2>&1 | tee -a … Continue reading

Posted in Programming Skill | Tagged , , , , | Leave a comment

“set -x”: Prints executed commands and their arguments

I wrote a shell script and every time when I want print the executed commands and arguments I used the “echo” to echo the executed commands, this is not convenient. At the same time I use my co-worker’s shell script, … Continue reading

Posted in Programming Skill | Tagged , , , , | Leave a comment

“Nohup” and “Screen”

“Nohup” and “Screen” can be used to run a command even if the session is disconnected or the user logs out. I use them both, but “Screen” is better. What is nohup? As the man page states: “nohup – run … Continue reading

Posted in Programming Skill | Tagged , , , | Leave a comment

Moses Support Digest:Error compiling on Linux

[Moses-support] Error compiling on Linux… Hi I got a similar problem to that raised in respect of a “.compilation problem on fedora 11″ which I used to fix the same problem on Linux SUSE by adding the -std=c++0x option as … Continue reading

Posted in Moses, SMT | Tagged , , , | Leave a comment