Names for ATA and SATA disks in Linux
Assume that we have two disks, one master SATA and one master ATA. How will they show up in /dev?
Assume that we have two disks, one master SATA and one master ATA. How will they show up in /dev?
I’m trying to use the date command to generate a file timestamp that the date command itself can interpret. However, the date command does not seem to like its own output, and I am not sure how to work around this. Case in point:
When using apt, can I tell it to use other then /var/cache/apt location?
I tried adding the following line in /etc/apt/apt.conf:
Given xdg-open and an extension, is there a way to get the application which xdg-open is set to for that particular extension?
I have a custom PS1 colour where I have the actual shell commands in a distinct colour, just so I can quickly see what commands I typed and separate it from the command output itself.
Can I use read to capture the n 12 or newline character?
I have a file as given below
In Linux, is there any difference between after-ip link down-condition and real link absence (e.g. the switch’s port burned down, or someone tripped over a wire).
By difference I mean some signs in the system that can be used to distinguish these two conditions.
E.g. will routing table be identical in these two cases? Will ethtool or something else show the same things? Is there some tool/utility which can distinguish these conditions?