I have a script for updating my system so when I want to update I can just run the script rather than remembering multiple commands to update various things. The script: LOG_DIR=~/.cache/upd LOG_PATH=$LOG_DIR/upd.log mkdir -p $LOG_DIR ( yay -Syu --devel && \ rustup update && \ cargo install-update -...
I have a server running debian which is mostly headless but I want to connect a monitor to it to passively play videos. I'm currently playing videos by running mpv --vo drm over ssh so they it plays without a display server or having to log into a tty on the monitor. The problem now is I want to aut...
I used the time command to time how long a program takes to compile and got this output: real 0m5.178s user 0m6.416s sys 0m0.438s If I'm understanding the man page correctly, the "real" time is the real life time as observed by the user, and "user"/"sys" times are to do with how long the cpu spent r...
When there is no gui login manager installed and you're just logging in via the shell, is it possible to see a list of users? I always just make 1 user with my name so it's not a problem to type it in but if I did have multiple users it would be annoying to have to remember all of them.
I get why people ask. It's very tempting when you're waiting on a specific update that has features you want, but the answer will usually be the same. It's ready when the maintainer gets to it, it's not like the packages are ready and they're waiting for an arbitrary release date.
I cloned my install to a new ssd but left the old one in the system. I didn't realize that the partitions on the new drive would have the same uuids copied from the original drive, so when the fstab was loaded it would mix and match mounting half the stuff from 1 drive and the rest from the other.
You mean something like this echo [magic string] > file and it modifies the file to uncomment a line? That won't work, you can only append data or overwite the whole file using echo and > or >> operators.
To do more advanced editing like uncommenting you can use sed.
I get why people ask. It's very tempting when you're waiting on a specific update that has features you want, but the answer will usually be the same. It's ready when the maintainer gets to it, it's not like the packages are ready and they're waiting for an arbitrary release date.
I cloned my install to a new ssd but left the old one in the system. I didn't realize that the partitions on the new drive would have the same uuids copied from the original drive, so when the fstab was loaded it would mix and match mounting half the stuff from 1 drive and the rest from the other.
Yep good point. "It's ready when it's ready" would perhaps be a more accurate answer although not very satisfying.
Yeah that's true. If it's a popular package it wouldn't be good to put all that traffic on archive.org.
You mean something like this
echo [magic string] > fileand it modifies the file to uncomment a line? That won't work, you can only append data or overwite the whole file using echo and > or >> operators.To do more advanced editing like uncommenting you can use
sed.