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 26 votes
answered by NlightNFotis 31 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 15 votes
answered by slm 14 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 25 votes

How do I get NetworkManager to keep the same IP?

The DHCP-provided IP on my laptop changes periodically. It runs CentOS 6.5 and uses NetworkManager. My desktop, running Sabayon, on the same network, does not have this problem. How can I get …

/ networkmanager / dhcp  
asked by Chris 7 votes
answered by DopeGhoti 10 votes

If I sudo execute a bash script file, will all commands inside the bash script be executed as sudo as well?

I want to write an automated post-installation script in bash (called post-install.sh, for instance). The script will automatically add and update repositories, install and update packages, edit …

/ shell-script / sudo  
asked by fireeyedboy 6 votes
answered by slm 17 votes

unable to remount filesystem back to read-only after package upgrade

On my Debian system, I have my / on separate partition and mounted read-only. Only /home/, /var/ and /tmp/ are writable. I have also created a Pre-Invoke and Post-Invoke apt hook, so that apt can …

/ debian / apt / readonly  
asked by Martin Vegter 6 votes

Parallel execution of bash script

I have a table URL_Experiment in my database (mySQL database). I have 2 million URL links in this table. For each URL, I am checking if some particular text is present in the URL and updating the …

/ bash / shell-script / scripting  
asked by Ramesh 6 votes
answered by Ketan 6 votes

Greatest hits from previous weeks:

Exit vim more quickly

I use Vim mainly for quick edits rather than long work sessions. In that sense, I find the keyboard sequence for quitting especially laborious: Esc, Shift + ;, w, q, Enter. How to quit Vim (possibly …

/ vim / keyboard-shortcuts  
asked by vemv 45 votes
answered by jasonwryan 62 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?

Making an Android container with Ubuntu 12.04 on the Samsung ARM Chromebook : initrd file not found

I'm trying to run Android as guest OS with LXC containers on Ubuntu 12.04 LTS on the ARM Chromebook, reading this tutorial. At some point of the tutorial, it says: Then get the initrd for your …

/ ubuntu / android / arm / lxc / chrome-book  
asked by Marietto 1 vote

How to configure external USB touchpad for a laptop

I have a laptop that, obviously, comes with a touchpad and a keyboard. However, I have an USB keyboard with integrated touchpad that better suits my needs. I use Ubuntu 13.10 and I cannot find how to …

/ ubuntu / x11 / mouse / touchpad  
asked by msucan 1 vote

/proc/self/maps - 3rd mapped piece of file?

I'm running Arch linux on my laptop, which is kernel 3.12.9 right now. Something has changed about the way the kernel maps in a dynamically-linked executable and I can't figure it out. Here's the …

/ linux / executable / proc  
asked by Bruce Ediger 2 votes
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