Top new questions this week:
|
If I want to tail a 25 GB textfile, does the tail command read the whole file?
Since a file might be scattered on a disk I imagine it has to, but I do not understand such internals well.
|
How do you pronunce /usr?
I found in the net that someone reads it "user"... but, for what I know, this directory is not related to the user. The meaning of the acronym is "Unix specific (or system) …
|
I want a command line program that prints the title of a website.
For e.g.:
Alan:~ titlefetcher http://www.youtube.com/watch?v=Dd7dQh8u4Hc
should give:
Why Are Bad Words Bad?
You give it the …
|
I saw a code change at work, where the mode values were changed from 777 to 0777 to make nfs setattr work. What is the difference in the 2 values?
|
Is there a program that can take a plain-text file with long lines, and add a newline after a certain number of characters, only splitting at words, to make it readable? For example, take this:
Lorem …
|
When a file is moved and the destination file already exists and is currently being read, will the operation succeed? Will it depend on how long the reading operation on the destination file lasts?
|
I have seen Bash scripting guides suggesting the use of array for working with filenames containing whitespace. DashAsBinSh however suggests that arrays are not portable so I am looking for a POSIX …
|
Greatest hits from previous weeks:
|
I am trying to figure out a decent way to copy what I have in a tmux buffer into my clipboard. I have tried a couple of different things like
bind-key p select-pane -t 2 \; split-window 'xsel -i …
|
What's the most concise way to resolve a hostname to an IP address in a Bash script? I'm using Arch Linux.
|
Can you answer these?
|
I'm setting up xen on debian to do some testing and having problems with the bridge.
I would like to use wlan0 as the bridge, but can't seem to get this working. Currently I have tried this:
# This …
|
In the top command one of the processes is always showing a CPU usage of 4 to 5%.
But in oprofile the CPU usage is 0.004%.
I do not understand this.
And I also noticed that even when a process is in …
|
I am configuring colors in Mutt, but I think my problem is general to linux terminal.
For the 16 predefined colors (such as red) I can make it bold, by specifying brightred
However, when using 256 …
|