Unix & Linux Weekly Newsletter
Unix & Linux Weekly Newsletter

Top new questions this week:

What is the `[` program that resides in my system's /bin?

I was recently browsing my Fedora's /bin folder and noticed a binary named [. I did try to search the internet for more information on that, but I couldn't find anything useful. Running it through …

/ fedora / gnu / coreutils  
asked by NlightNFotis 23 votes
answered by NlightNFotis 25 votes

Unix command to check if any two lines in a file are same?

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 …

/ text-processing / search  
asked by CodeBlue 15 votes
answered by grebneke 30 votes

Why can't I do ls *.txt in a subshell?

~$ echo $(ls) arguments.txt cecho.sh Desktop Documents Downloads example.txt Music Pictures Public ~$ echo $(ls "*.txt") ls: cannot access *.txt: No such file or directory Why does the …

/ shell / quoting  
asked by Jim 13 votes
answered by Ketan 24 votes

What sets systemd apart from other init systems?

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 …

/ systemd / init-script  
asked by casey 10 votes
answered by slm 9 votes

Vim - map last shell command to the key

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 …

/ vim / key-mapping  
asked by camabeh 8 votes
answered by Carpetsmoker 0 votes

how to find out namespace of a particular process?

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 …

/ linux / process / namespace  
asked by zerospiel 8 votes
answered by Stephane Chazelas 7 votes

Is there a command reverse search in vim?

In linux cli I can do ctrl-r and do a reverse search and choose something I have done easily. Is there something similar in vim? I mean I may run a command using : (could be anything like a long …

/ vim / search  
asked by Jim 7 votes
answered by Evan Teitelman 9 votes

Greatest hits from previous weeks:

How to do integer & float calculations, in bash or other languages/frameworks?

Using echo "20+5" literally produces the text "20+5" What command can I use to get the numeric sum, e.g. 25 in this case. Also, what's the easiest way to do it just using bash for floating point, …

/ bash / shell / command-line / interactive / calculator  
asked by Michael Durrant 91 votes
answered by lgarzo 112 votes

How can I monitor disk io?

I'd like to do some general disk io monitoring on a debian linux server. What are the tools I should know about that monitor disk io so I can see if a disk's performance is maxed out or spikes at …

/ linux / disk  
asked by camomileCase 23 votes
answered by jordanm 21 votes

Can you answer these?

How to move process from one namespace to other?

This question is similar to my question about how to list namespaces. So in addtition, I'd like to know some information about moving processes from one namespace to other? E.g. I have processes of …

/ linux / process / lxc / namespace  
asked by zerospiel 2 votes

How can I start Apache on Arch Linux w/systemd using paraphrase protected SSL keys?

I'm relatively new to using Arch Linux and think I must be missing the obvious way to do this correctly, but –short of starting the daemon on my own– I can't figure out how to get passphrase protected …

/ arch-linux / apache / startup / systemd / ssl  
asked by Caleb 4 votes

Detecting if duplicity will perform a full backup

I'm using duplicity with the --full-if-older-than <time> option to make a new full backup now and then. The problem is that I can hold only two full backups at my destination. This means that …

/ duplicity  
asked by Daniel Bünzli 1 vote
Subscribe to more Stack Exchange newsletters


Unsubscribe from this newsletter or change your email preferences by visiting your subscriptions page on stackexchange.com.

Questions? Comments? Let us know on our feedback site. If you no longer want to receive mail from Stack Exchange, unsubscribe from all stackexchange.com emails.

Stack Exchange, Inc. 110 William St, 28th Floor, NY NY 10038 <3