Portable way to find inode number
At first I used stat -c %i file (to help detect the presence of a jail), which seemed to work on any Linux distribution under the sun. On OS X’ I had to use ls -i file | cut -d ' ' -f 1.
At first I used stat -c %i file (to help detect the presence of a jail), which seemed to work on any Linux distribution under the sun. On OS X’ I had to use ls -i file | cut -d ' ' -f 1.
Not totally sure if this is the right place but here goes.
Although the Android Development Tools (ADT) bundle is available as a zip package for ‘Linux 64 Bit’ it states following requirements:
I want to copy all the .html files from myDir and its subdirectories to ~/otherDir. Here’s what I tried, but it doesn’t work:
Currently I’m using the following to check how long a process is actually running:
I have a problem with an ASUSPRO B8430UA laptop: when I boot it with Ubuntu 16.04 (or NixOS 16.03) the Ethernet port does not work. The driver used is e1000e, it reports:
At first this was a bit funny, like playing “Bash Roulette”
…but now it’s getting old lol
I was recently asked by a colleague to use chmod with letters instead of numbers. Apart from the obvious readability advantage is there any particular reason to use letters over numbers ?
After a fresh inst of f27 (netinstall) I noticed that many pkgs place tiny files in /usr/lib/.build-id/ dir. At 1st I thought I somehow had enabled some obscure “debug” mode for dnf, but even
I am in the process of salvaging data from a 1 TB failing drive (asked about it in Procedure to replace a hard disk?). I have done ddrescue from a system rescue USB with a resulting error size of 557568 B in 191 errors, probably all in /home (I assume what it calls “errors” are not bad sectors, but consecutive sequences of them).