@ppbuzz_pro · Post #6277 · 19.12.2025 г., 07:33
🔊Thonny:免费跨平台Python编程工具,下载即学,适合编程新手 🏷#Linux | Mac | Windows | 编程开发 🔗https://ppbuzz.com/14990/
Hashtags
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #169 · 21 окт.
А знаете ли вы, что в Bash есть особая переменная "$_" ? Из описания можно узнать, что в переменную "$_" помещается последний аргумент последней команды. Что-то знакомое? Конечно, в Python есть примерно тоже самое. Мы знаем, что дата первого релиза Bash (8 июня 1989) несколько раньше чем первый релиз Python (20 февраля 1991). Если учесть, что по задумке автора Python это агрегация самых успешных практик отовсюду, можно ли сказать что именно эта фишка к нему пришла из Bash? Ни подтверждения ни опровержения я пока не нашел. Давайте просто считать это совпадением 😉 А как это может быть полезно в Bash? Приведу простой пример, который оценят те, кто часто работает в терминале. Допустим, нам надо создать директорию и зайти в неё. Что обычно делаем? :~$ mkdir foldername :~$ cd foldername :~/foldername$ Как это сделать в одну команду? :~$ mkdir foldername && cd foldername :~/foldername$ Уже лучше, но хочется короче, без повторов. Вот тут и пригодится наша переменная. Напомню, что в неё сохраняется последний аргумент предыдущей команды. :~$ mkdir foldername && cd $_ :~/foldername$ _________________ PS. Символы "&&"" разделяют команды и означают, что требуется выполнить вторую команду только если первая завершилась успешно. #linux#tricks
Глобално пребарување
@ppbuzz_pro · Post #6277 · 19.12.2025 г., 07:33
🔊Thonny:免费跨平台Python编程工具,下载即学,适合编程新手 🏷#Linux | Mac | Windows | 编程开发 🔗https://ppbuzz.com/14990/
Hashtags
@ppbuzz_pro · Post #5532 · 19.04.2025 г., 07:22
🔊R2Uploader:轻松上传文件至Cloudflare R2存储,支持多文件和大文件高效传输工具 🏷#Linux | Mac | Windows 🔗https://ppbuzz.com/12085/
Hashtags
@Nomad01290 · Post #4097 · 14.06.2023 г., 22:20
A Zine about linux - https://git.kjodle.net/kjodle/the-codex #linux
Hashtags
@ak1ra_ch · Post #4081 · 09.01.2026 г., 10:39
统信董事长解雇询问没有西装怎么办的内核工程师 2026-01-09 14:47 by 影舞 根据社交媒体的消息,统信董事长解雇了一名询问没有西装怎么办的内核工程师。统信开发了基于 Linux 的发行版统信 UOS。它最近临时通知员工年会必须自备西装参加。通知来得猝不及防,一位负责 Linux 内核开发的核心工程师在群里问了句“没西装怎么办”,董事长随后将其解雇。此事导致网友将 UOS 形容是 Uniform Operating System 的缩写——原意是代表 Unity Operating System。 https://www.163.com/dy/article/KIQURODQ0556BI4K.html https://www.zhihu.com/question/1992633875193619131 #Linux
Hashtags
@repo_science · Post #4045 · 27.02.2024 г., 20:36
#linux 💯 60 Linux Commands you NEED to know (in 10 minutes) ----- Main channel: @repo_science Coupons: @freecoupons_reposcience -----
Hashtags
@lightFantasy · Post #2902 · 10.12.2023 г., 07:29
#linux ext4 出现了一个比较严重的 bug 可能导致数据损坏 目前可以确认影响 kernel 5.10.202-rc1 / 5.15.140-rc1 / 6.1.64-rc1 目前看来 6.1.66-1 已经修复 Debian 已经发布警告 https://micronews.debian.org/2023/1702150551.html
Hashtags
@anankkew · Post #2701 · 14.03.2021 г., 20:57
7-Zip 开发者释出了首个官方 Linux 版本 2021-03-13 20:58#Linux 7-Zip 开发者 Igor Pavlov 不用 Linux,因此这个非常流行的解压软件一直没有官方的 Linux 版本。7-Zip 的非官方版本 p7zip 由另一名开发者维护,但项目已经四五年没有更新了。在这种情况下,Igor Pavlov 决定根据最新的源代码创建官方的 Linux 版本,他发布了 AMD64、ARM64、x86 和 armhf 架构的 Linux 版本。他只提供了二进制程序,目前还没有公开源代码,原因就是他不用 Linux,维护 Linux 编译脚本和包有点难度。
Hashtags
@ttyUSB0w · Post #1516 · 10.12.2023 г., 04:48
#linux ext4 出现了一个比较严重的 bug 可能导致数据损坏 目前可以确认影响 kernel 5.10.202-rc1 / 5.15.140-rc1 / 6.1.64-rc1 目前看来 6.1.66-1 已经修复 Debian 已经发布警告 https://micronews.debian.org/2023/1702150551.html
Hashtags
@libreware · Post #1390 · 27.01.2025 г., 22:38
#Linux devices have a unique identifier called machine-id. Here is how to change it. Posted on February 24, 2021 What is a machine-id, and why should you randomize it? From the machine-id man pages, it is defined as: This ID uniquely identifies the host. It should be considered “confidential”, and must not be exposed in untrusted environments, in particular on the network. If a stable unique identifier that is tied to the machine is needed for some application, the machine ID or any part of it must not be used directly. https://www.man7.org/linux/man-pages/man5/machine-id.5.html In an effort to promote privacy, having a unique and unchanging identifier tied to your device seems like the wrong approach. It’s quite possible that poorly coded or even maliciously coded software could fetch this ID from your system. Let’s make sure that even if that does happen, that the value is constantly changing so that your device can not be uniquely identified as your device. This is an incredibly simple and quick adjustment to your default Linux system. What we’re doing is showing you how to either adjust this value manually by hand, or by running a cronjob to change this value every minute with a new, randomized value. Before we begin, a disclaimer: We’ve tested this on our own work desktops and development environments and I’ve tested it on my daily driver desktop. We have not found that anything has ‘broken’ because of this, but this is untested in many environments and may not be suitable for your use. It’s always reversible if you later wish to continue with a single, uniquely identifying ID attached to your device(s). Debian / Ubuntu systems To check your machine-id, open up your terminal and enter the following: cat /etc/machine-id The output should look a little something like this: a9976154f0084a3782892638656ad9fd You’ll note that this value is also stored in /var/lib/dbus/machine-id and that a symlink between the two exist. Any change to one file, will be reflected in the other. me@virtbox-testing:~$ cat /etc/machine-id a9976154f0084a3782892638656ad9fd me@virtbox-testing:~$ cat /var/lib/dbus/machine-id a9976154f0084a3782892638656ad9fd If you reboot your device, you’ll notice that this value remains unchanged. So, let’s change it ourselves! Method 1: Manually. Method 2 is automatically, every minute, as ran by a cron-job. If you don’t want to fully commit to that, you can change your machine-id by hand manually whenever you feel like it. Step 1, remove the old machine-id file. sudo rm /etc/machine-id Step 2, recreate the machine-id file. sudo systemd-machine-id-setup Step 3, confirm that /etc/machine-id (and /var/lib/dbus/machine-id) now show a new value, different from the original. cat /etc/machine-id && cat /var/lib/dbus/machine-id That’s it! You should see two lines in your output with matching IDs that differ from the original machine-id you had in the beginning. me@virtbox-testing:~$ cat /etc/machine-id && cat /var/lib/dbus/machine-id a78badce3e73beced163bbef7e55232a a78badce3e73beced163bbef7e55232a You’ve changed your device’s uniquely identifying machine-id. This change will survive device reboots and will remain the same until you create a new one. Method 2: Changing every 1 minute, automatically. If the above didn’t satisfy your needs, than feel free to automate the creation of a new machine-id by creating a cronjob entry that will generate a new ID every minute. Step 1, open up your crontab file. sudo crontab -e Step 2, enter at the bottom of the file the following: */1 * * * * sudo rm /etc/machine-id && sudo systemd-machine-id-setup Save and Exit. Step 3, wait a minute and confirm that your machine-id value has changed: cat /etc/machine-id && cat /var/lib/dbus/machine-id You should see two new matching values, that differs from the original value you had at the start. Wait a minute and run the step 3 command again, and you’ll see that these values have changed.
Hashtags
@libreware · Post #1389 · 27.01.2025 г., 22:38
https://archive.is/0OLMG how to change #linux machine-id
Hashtags
@zang_post · Post #1119 · 10.05.2025 г., 03:28
Linux 停止支持 486 和第一代奔腾处理器 2025-05-09 23:50 by 千与千寻 即将发布的 Linux 6.15 将停止支持有 36 年历史的 486 以及第一代奔腾处理器。微软早在 2001 年发布 Windows XP 后就停止了对 486 的支持。Linux 作者 Linus Torvalds 在内核邮件列表上表示是时候放弃支持 i486 了,不值得在 i486 上浪费开发精力。资深内核开发者 Ingo Molnar 解释说,为了支持已经很少有人使用的旧 x86-32 架构,内核开发者花费了很多力气去实现兼容性。这种兼容性粘合常常会带来需要大量精力解决的问题,这些时间本可以做其它事情。Linux 是在 2012 年停止支持 386。未来对 x86 CPU 的支持最低将是 P5 微架构的奔腾处理器。 ZDNet: Linux drops support for 486 and early Pentium processors - 20 years after Microsoft #Linux
Hashtags
@jsmjsmxyz · Post #1080 · 13.10.2020 г., 08:00
#Linux 🛡 AdGuard Home 安装及使用指北 📝 阅读原文:博客 | 少数派 一个好产品,需要广而告之,才能活下去,一部好影片,需要广而告之,才有好的票房。从口口相传发展到千人千面,广告已从单向的传播形式发展成为基于个人喜好专门投放,用户的接受权由主动变为被动 但当广告时时刻刻充斥在我们的生活,新闻有贴片广告,朋友圈有互动广告,电视剧有片头广告,小网站上还有~~性感荷官~~在线发牌,如果你有在多设备上对去除广告的需求,AdGuard Home 或许是一个不错的选择,它能够给你带来一个清爽的网络世界 以往我们习惯在电脑浏览器上使用 AdBlock Plus、AdGuard、Ghostery、uBlock Origin 之类的广告拦截与隐私防护插件,从而去除网页上扰人的广告。对于 Android 与 iOS,受限于系统权限、过滤模式,想在手机上「找到一块净土」,需要花费一番功夫 AdGuard Home 是 AdGuard 开源的一个私人 DNS 服务端,只需在网关部署,即可实现全局域网的广告拦截与隐私反追踪。在 DNS 解析的过程中,匹配规则库内的 Url 进行拦截,同时在客户端中,还可以通过自定义过滤规则实现网页 DOM 的拦截 👉 文章目录 - 广告拦截 / 反追踪插件是如何起作用的 - 如何安装与配置 AdGuard Home - 推荐的过滤规则与上游 DNS 服务器 - 在安装与使用过程中的常见问题 📘 关联阅读 1️⃣AdGuard Home Wiki 2️⃣想获得「干净」的网页浏览体验?你需要这份全平台去广告指南 3️⃣The Coalition for Better Ads - Better Ads Standards 频道:@NewlearnerChannel
Hashtags