5,597 reputation
11320
bio website
location
age
visits member for 2 years
seen yesterday

Jan
18
comment Locking Desktop just Like Windows
In many window managers, screen lock is available by mouse click from a drop-down context menu in the dock.
Jan
18
revised Utilize a different user's vimrc as well as vim folder
deleted 118 characters in body
Jan
18
comment Small update.. Now cannot download/update
You'd be better off just configuring your router to always allocate the same IP to this machine.
Jan
17
comment What does it mean if a directory has only x (executable) permission for certain user/group?
@Pellaeon Lin - If you're interested in learning more about the permissions model, I highly recommend the reference quoted in this answer.
Jan
17
comment What does it mean if a directory has only x (executable) permission for certain user/group?
@Pellaeon Lin - Yes. Listing a directory requires read permission, which isn't present here. But there's no need to list a directory if you already know the name of the file (further evidence, if any were needed, that this is intended for programmatic access, not interactive).
Jan
17
answered What does it mean if a directory has only x (executable) permission for certain user/group?
Jan
17
comment Change who is able to chmod
Only the owner of a file can change its permissions. What you're asking for doesn't make a huge amount of sense, since it effectively gives all permissions to all members of the group. Why do you need this?
Jan
16
comment Root user can't do everything?
Short answer: Shell redirection doesn't happen via sudo in your example. See How do I use sudo to redirect output to a location I don't have permission to write to?
Jan
16
revised Read a directory to see the file to inode mapping
typo
Jan
4
answered Why does Subversion give a broken pipe error when piped into head?
Jan
3
comment Is there a command line tool to insert line breaks into a long string?
+1, but perhaps better written as echo $MYSTRING | fold -w 30, since the -30 syntax doesn't appear in the fold manpage?
Jan
3
comment execute shell script options
Another option is to symlink the contents of the subdirs, and place the link in the top-level dir.
Jan
3
revised locate vs find: usage, pros and cons of each other
linked to man pages for find and locate
Dec
23
answered Download content from a certain <div> using wget
Dec
23
comment Remapping gnome-terminal shortcut keys
Cross-posted on superuser and ask Ubuntu.
Dec
22
comment store and execute redirection/piped command in script
Of course 'it works' with backticks. But that evaluates the expression immediately, which apparently is not what you want (although that is not at all clear from your example). The eval solution provided is the correct way to defer execution until a later date.
Dec
22
comment store and execute redirection/piped command in script
You don't need the third line if you use backticks.
Dec
22
comment Why is vi apparently broken (viminfo error E576), and how can I fix it?
@Andrew - Ok, so do file /etc/alternatives/vi. I expect that will tell you you are actually running vim.
Dec
22
revised Why is cd not a file in /bin?
even more explanation
Dec
22
comment Why is cd not a file in /bin?
@foampile - I've added some further explanation.