Top new questions this week:
|
Is there a unix command that can check if any two lines in a file are the same?
For e.g. Consider a file sentences.txt
This is sentence X
This is sentence Y
This is sentence Z
This is sentence X
…
|
Is there any way to map leader-r to repeat last command sent to bash?
For example, when working with C files I would like to compile and run program from vim without typing :!make or gcc.
I know I …
|
I already asked a question about how to list all namespaces in Linux, but there wasn't any correct and exact answers, so I want to find out a method which can help me to find out the namespace of PID …
|
I have a number of files with very long names. Please, is there a way to use ls -C and truncate the file names to get more columns for an overall view?
Or is there a better way to get a compact …
|
I opened a terminal on Ubuntu using Ctrl+Alt+T and a different terminal by going to a directory and then right clicking and choosing "Open in Terminal".
I did an echo $0 in both cases.
In the …
|
I need grep output with context, in color, and blank lines as group separator. In this question, I learned how to define custom group-separator, and I have constructed my grep command like this:
grep …
|
It is not quite official but it looks like systemd is coming to Debian and after reading some of the heated mailing list discussion on that decision, I am curious about the polarizing nature of …
|
Greatest hits from previous weeks:
|
I need to find my external IP address from a bash script. At the moment I use this function:
myip () {
lwp-request -o text checkip.dyndns.org | awk '{ print $NF }'
}
But it depends on …
|
Is there a way to tell the kernel to give back the free disk space now? Like a write to something in /proc/ ? Using Ubuntu 11.10 with ext4.
This is probably an old and very repeated theme.
After …
|
Can you answer these?
|
I have a Norwegian Lenovo USB keyboard.
When I hold AltGr and press v and b rapidly, it produces “bvbv instead of “”“”“”. I get the latter, expected, result when pressing v and b slowly. Never …
|
I'm thinking about using a netbook as an OpenBSD server. I'd like it to have UPS -- so the integrated battery is quite useful.
However, I'm very familiar with the batteries going dead very quickly …
|
I'd like to debug proftpd on AIX and according to the documentation, addr2line is a usefull binary to identify what is not working.
Extract of proftpd debugging documentation:
The key here for …
|