How can I change the default “ens33” network device to old “eth0” on Fedora 19?
I’ve just installed a Fedora 19 on VMware workstation 9.
The default network device is “ens33” instead of “eth0” on RHEL.
I’ve just installed a Fedora 19 on VMware workstation 9.
The default network device is “ens33” instead of “eth0” on RHEL.
On Ubuntu 10.4 I have edited the /etc/bash.bashrc file to set some variables like the command history size (HISTSIZE=5000), however if I create a new users Ubuntu by default gives them a .bashrc file in their home directory with this set as HISTSIZE=1000 which is overriding mine. How can I change the default .bashrc file that is created?
I am writing a new custom keyboard layout for Xorg, but there is one particular glyph which does not exist in Unicode. It is, however, easy to create it by using a standard letter plus a combining diacritic mark.
I would like to understand cgroups better and would like to understand the use-cases for applying cgroups.
I installed Debian Jessie with default partitioning on my SSD drive. My current disk partitioning looks like this:
Is there a way to run a script/command every time a user connects using ssh? Can it be configured globally (i.e run the script when any user login)?
“The Unix Programming Environment” by Kernighan and Pike: an old book, but it shows the essence of the Unix environment. It will also help you become an effective shell user.
I’ve seen many explanations for why the link count for an empty directory in Unix based OSes is 2 instead of 1. They all say that it’s because of the ‘.’ directory, which every directory has pointing back to itself. I understand why having some concept of ‘.’ is useful for specifying relative paths, but what is gained by implementing it at the filesystem level? Why not just have shells or the system calls that take paths know how to interpret it?
What is the best way (reliable, portable, etc.) to check if a given folder is on a mounted remote (nfs) filesystem within a shell script?
From the post Why can rm remove read-only files? I understand that rm just needs write permission on directory to remove the file. But I find it hard to digest the behaviour where we can easily delete a file who owner and group different.