18,035 reputation
13664
bio website
location United States
age
visits member for 2 years, 8 months
seen 12 hours ago

Debian user, GNU/Linux enthusiast, FLOSS supporter, hobby developer.


Feb
25
comment What is the difference between declare and typeset
Perhaps I wasn't clear. Comments should be comments, and answers should be answers. This is a comment, not an answer.
Feb
25
comment What is the difference between declare and typeset
This is a nice comment but how does that answer the question which is about typeset and declare?
Feb
7
comment Non-blocking buffered named pipe?
There's also tmux and dtach -- anything in the same class of terminal multiplexer / session manager application should be able to achieve the same thing.
Feb
7
comment vim how to configure backspace and delete key's both as normal
In a terminal, what do you see when you type Ctrl-V Del? Compare the output of :echo &term in Vim and echo $TERM in your shell - they should be the same. As mentioned above, make sure the $TERM value is correct, and then make sure the Vim term value matches.
Feb
5
comment No CentOS Windows 8 GRUB Options on Restart
I would look for a NTFS partition, particularly one with a Windows system directory in it.
Feb
5
comment No CentOS Windows 8 GRUB Options on Restart
Ok, that's the only idea I had. I am not really familiar with either Windows 8 or CentOS but do dual boot Windows 7 with Debian. Typically, the procedure is to install Linux after Windows (which you did), and the Linux installer will automatically find your Windows and add a GRUB entry for it. In this case it looks like that step was not quite successful as you got a non-functional "Other" instead of a "Windows" entry. Are you able to determine from within CentOS which partition your Windows 8 is actually on? Another idea is this might have to do with the new Windows 8 UEFI BIOS.
Feb
5
comment No CentOS Windows 8 GRUB Options on Restart
You seem to think you have 3 OS's: Windows 8, CentOS, and this mysterious "Other" entry. My suspicion is that "Other" entry is your Windows OS. Try it and see!
Feb
4
comment Use find + sed + cp to find files and copy them to a directory with a different name
@Rothgar Yes, I didn't read carefully enough and assumed you wanted to move. I've changed the mv to cp now.
Jan
30
comment cd by just typing the directory's name?
I don't use this - cd is not that hard to type, and most tab-completion mechanisms are smarter when you give them more context.
Jan
24
comment Kate vs VIM/Emacs regarding speed
What is your question? Is it "should I use kate or learn vim/emacs?" or "are GUI programs over a ssh X forwarding too slow for practical use?" or "Is using a mouse with a 'modern' editor faster or slower than traditional keyboard-only editors like vim/emacs?" Only ask one question per ... question. Your title is a bit vague given your question itself - "Kate vs Vim/Emacs regarding speed" - is that editing speed / efficiency or network speed?
Jan
24
comment The right way for dynamic ssh port-forwarding
Do you really have processes listening on every single port?
Jan
24
comment The right way for dynamic ssh port-forwarding
The TCP / IP stack does not allow two processes to listen on the same socket (port + host IP). The message is telling you some other process already has localhost:9099 so ssh can't have it. You can use a different port or find and kill the other process.
Jan
23
comment How could I make multiple symbolic links for multiple directories, conveniently
@StephaneChazelas Oh right, I read too fast and completely missed the second part, sorry.
Jan
18
comment Why unix mv program doesn't need -R (recursive) option for directories but cp does need it?
@RuslanKhusnullin Your coffee analogy works for cp and mv too - it does not require any level of "nerdness" to understand, just basic common sense. A true copy of a cup of coffee is not an empty cup - you have to recursively copy not only the cup, but all of its contents (the coffee) too. However, when you move a cup of coffee you don't have to move the contents separately - the contents move with the container naturally.
Jan
18
comment Solaris: find the day of last Monday,Tuesday,…Sunday by means of shell script
Don't worry, none of the other answers so far uses pure shell + Solaris date anyways.
Jan
18
comment Changing tmux .bash_profile behavior
It appears that tmux starts login shells by default. I am not sure if there is a reason for this, but if you want to make tmux start non-login shells instead you can add set-option default-command bash to your .tmux.conf. (.bash_profile is only read by login shells; non-login shells ignore it).
Jan
17
comment What are the advantages of the Unix file system structure
@fluffy Separate filesystems offer slightly stronger separation, but that point is partially moot as it is not possible to separate /bin, /etc, from /.
Jan
17
comment Multiple similar entries in ssh config
It appears the %h feature appeared in release 5.6 of OpenSSH. I was wondering why I hadn't seen it before - the version in Debian Squeeze is 5.5.
Jan
17
comment Multiple similar entries in ssh config
@user27915816 Yes, you are right, there is no way to do "templates" as far as I know. The best you can do is separate out the constant lines into a single Host * entry, and have a separate entry for each Host XXX that consists only of the parts that vary (i.e. the Hostname XXX.YYY.ZZZ line).
Jan
17
comment Recursive find that does not find hidden files or recurse into hidden dirs
Where are you adding -type f? I'd put it between -o and -print.