How to pipe the stderr to less
For example, try to less the error messages generated by the compiler with
make | less
Use this command:
make 2>&1 | less
or, if you want stderr only:
make 2>&1 >/dev/null | less
For example, try to less the error messages generated by the compiler with
make | less
Use this command:
make 2>&1 | less
or, if you want stderr only:
make 2>&1 >/dev/null | less
Our servers run inside our own cluster and no firewall is needed. How to totally disable firewall or iptables on Fedora 20? Fedora 20 uses FirewallD as the firewall service. To totally disable firewalld: # systemctl disable firewalld # systemctl stop firewalld Read more: How to Flush iptables on Fedora Linux How to enable iptables…
How to show the list view in iOS 7’s calendar? Is it deleted? The list view is still available in iOS 7’s calendar. To find it, just click the magnifying glass on the top right and you will see the list view. Read more: Synchronizing Thunderbird Calendar with Apple iCloud Calendar How to count the…
The result of git by git diff –word-diff is great. But how to do diff like git diff –word-diff without git on Linux? The plain diff command on Linux seems not accept options like –word-diff. The wdiff is for word-diff: wdiff program is a front end to diff for comparing files on a word per…
Proving ownership of a Bitcoin (BTC) address is a crucial aspect in various scenarios. The post Proof of Ownership for BTC Addresses introduced the proof for non-multisig addresses. This guide explores how to prove ownership for different multisig BTC address types, including algorithm specifications and step-by-step methods. What is a Multisig Address? A Bitcoin multisig…
convert seems works not very well when merging PDFs. The quality is low. Any other better methods to merge multiple PDF files to a single PDF on Linux? ghostscript works the best for me on merging PDFs: gs -q -sPAPERSIZE=letter -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -dPDFSETTINGS=/prepress -sOutputFile=out.pdf in1.pdf in2.pdf in3.pdf merges in{1..3}.pdf to out.pdf. Read more: How…
Is it possible to set the replication factor for specific directory in HDFS to be one that is different from the default replication factor? This should set the existing files’ replication factors but also new files created in the specific directory. This can simplify the administration. We can set the replication factor of /tmp/ to…