Avatar

bizdelnick

bizdelnick@lemmy.ml
Joined
4 posts • 390 comments
Direct message

Complains against systemd are not about boot time. It is about overengineering and vendor lock-in.

permalink
report
reply

It does not matter unless you reboot your machine every hour.

permalink
report
reply

The official GNU sed documentation looks much more helpful.

permalink
report
reply

No.

Linux is not Windows. Don’t try to make Windows from Linux. It can be visually similar, but it will never be the same. Don’t expect a seamless migration. Stay on Windows or be ready to learn new things.

permalink
report
reply

In general there should not be any problem with most popular build systems (autoconf, cmake etc.) if they are used properly. However some pieces of software use build systems that are not so robust, or even self written scripts to build that causes tons of troubles. E. g. cross compiling samba is very painful. The most difficult case in when some tool is compiled and then used to generate code that will be compiled later, if developers did not implement bootstrapping properly.

So it is impossible to give a common answer. In general cross compiling is not a problem, but in some particular cases you may need to put in a lot of effort to get it working correctly.

permalink
report
reply

“Hit” means that the local cached file matches the file on the server.

permalink
report
reply

Try switching to virtual console (alt+ctrl+F<1-6>). If it does not work, reboot with alt+sysrq+REISUB (sysrq is the same key as prtsc, REISUB must be typed sequentially).

permalink
report
reply

Yes, doing so you don’t need to comment out lines in sources list. But first read documentation to learn which exact values of priority should be used.

But in general I don’t recommend mixing packages from experimental and stable. I got in troubles when I did, some software did not work properly.

permalink
report
parent
reply

# is a standard shell prompt for root, and only for root. For commands executed by any other user, including sudo, use $.

In general it is a bad practice to use sudo in documentation because in many distros it is not available by default. I would use su for your example. However system users have no passwords, so you need to become root first, and only after that change user to avoid prompting a password. So I would write

# su -s /bin/bash www-data
$ cp /var/www/html/html1 /var/www/html/html2

or

# su -s /bin/sh -c 'cp /var/www/html/html1 /var/www/html/html2' www-data

But if you are sure that sudo is installed and configured on a user’s machine, you may write

$ sudo -u www-data cp /var/www/html/html1 /var/www/html/html2
permalink
report
reply