diff --git a/translated/tech/20181205 How To Fix Broken Ubuntu OS Without Reinstalling It.md b/published/20181205 How To Fix Broken Ubuntu OS Without Reinstalling It.md similarity index 88% rename from translated/tech/20181205 How To Fix Broken Ubuntu OS Without Reinstalling It.md rename to published/20181205 How To Fix Broken Ubuntu OS Without Reinstalling It.md index 2fbdc6f07e..4db620bf58 100644 --- a/translated/tech/20181205 How To Fix Broken Ubuntu OS Without Reinstalling It.md +++ b/published/20181205 How To Fix Broken Ubuntu OS Without Reinstalling It.md @@ -1,11 +1,11 @@ [#]: collector: (lujun9972) [#]: translator: (geekpi) -[#]: reviewer: ( ) -[#]: publisher: ( ) +[#]: reviewer: (wxy) +[#]: publisher: (wxy) [#]: subject: (How To Fix Broken Ubuntu OS Without Reinstalling It) [#]: via: (https://www.ostechnix.com/how-to-fix-broken-ubuntu-os-without-reinstalling-it/) [#]: author: (SK https://www.ostechnix.com/author/sk/) -[#]: url: ( ) +[#]: url: (https://linux.cn/article-10367-1.html) 如何不重装修复损坏的 Ubuntu 系统 ====== @@ -18,29 +18,20 @@ 首先,尝试使用 live cd 登录并**在外部驱动器中备份数据**。以防这个方法没用,你仍然可以获取数据并重新安装系统! -在登录页上,按下 **CTRL+ALT+F1** 切换到 **tty1**。你可以在[**此处**][1]了解有关在 TTY 之间切换的更多信息。 +在登录页上,按下 `CTRL+ALT+F1` 切换到 tty1。你可以在[此处][1]了解有关在 TTY 之间切换的更多信息。 现在,逐个输入以下命令来修复损坏的 Ubuntu Linux。 ``` $ sudo rm /var/lib/apt/lists/lock - $ sudo rm /var/lib/dpkg/lock - $ sudo rm /var/lib/dpkg/lock-frontend - $ sudo dpkg --configure -a - $ sudo apt clean - $ sudo apt update --fix-missing - $ sudo apt install -f - $ sudo dpkg --configure -a - $ sudo apt upgrade - $ sudo apt dist-upgrade ``` @@ -52,7 +43,7 @@ $ sudo reboot 你现在可以像往常一样登录到你的 Ubuntu 系统。 -我做完这些步骤后,我 Ubuntu 18.04 测试系统中的所有数据都还在,一切都之前的一样。此方法可能不适用于所有人。但是,这个小小的贴士对我有用,并且比重装节省了一些时间。如果你了解其他更好的方法,请在评论区告诉我。我也会在本指南中添加它们。 +我做完这些步骤后,我 Ubuntu 18.04 测试系统中的所有数据都还在,一切都之前的一样。此方法可能不适用于所有人。但是,这个小小的技巧对我有用,并且比重装节省了一些时间。如果你了解其他更好的方法,请在评论区告诉我。我也会在本指南中添加它们。 这是这些了。希望这篇文章有用。 @@ -69,10 +60,10 @@ via: https://www.ostechnix.com/how-to-fix-broken-ubuntu-os-without-reinstalling- 作者:[SK][a] 选题:[lujun9972][b] 译者:[geekpi](https://github.com/geekpi) -校对:[校对者ID](https://github.com/校对者ID) +校对:[wxy](https://github.com/wxy) 本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出 [a]: https://www.ostechnix.com/author/sk/ [b]: https://github.com/lujun9972 -[1]: https://www.ostechnix.com/how-to-switch-between-ttys-without-using-function-keys-in-linux/ \ No newline at end of file +[1]: https://www.ostechnix.com/how-to-switch-between-ttys-without-using-function-keys-in-linux/ diff --git a/translated/tech/20181212 Patch into The Matrix at the Linux command line.md b/published/20181212 Patch into The Matrix at the Linux command line.md similarity index 72% rename from translated/tech/20181212 Patch into The Matrix at the Linux command line.md rename to published/20181212 Patch into The Matrix at the Linux command line.md index 1793ec25ad..9660bf046d 100644 --- a/translated/tech/20181212 Patch into The Matrix at the Linux command line.md +++ b/published/20181212 Patch into The Matrix at the Linux command line.md @@ -1,6 +1,6 @@ [#]: collector: (lujun9972) [#]: translator: (geekpi) -[#]: reviewer: ( ) +[#]: reviewer: (wxy) [#]: publisher: ( ) [#]: url: ( ) [#]: subject: (Patch into The Matrix at the Linux command line) @@ -9,10 +9,12 @@ 在命令行中步入黑客帝国 ====== -使用 cmatrix 重建每个人最喜欢的 20 世纪 90 年代科幻电影中滚动代码的经典外观。 + +> 使用 cmatrix 重建每个人都喜欢的 20 世纪 90 年代科幻电影中滚动代码的经典外观。 + ![](https://opensource.com/sites/default/files/styles/image-full-size/public/uploads/linux-toy-cmatrix.png?itok=YlmbHVPr) -你发现了今天的命令行玩具日历。如果这是你第一次访问该系列,你可能想知道什么是命令行玩具?它可以是在命令行中任何可以娱乐的东西,可以是一个游戏,一个有趣的工具,或者一个消遣的东西。 +这是今天的命令行玩具日历推荐项目。如果这是你第一次访问该系列,你可能想知道什么是命令行玩具?它可以是在命令行中任何可以娱乐的东西,可以是一个游戏,一个有趣的工具,或者一个消遣的东西。 其中一些是经典,有些是全新的(至少对我而言),但我希望你们所有人都能在这个系列中找到你喜欢的东西。 @@ -20,17 +22,19 @@ 我想起 2019 年将是我青少年时期最喜欢的科幻电影之一[黑客帝国][1]的二十周年纪念日,它当时让我思考了未来将会发生什么。对于像我这样的痴迷计算机小孩来说,这是一个电脑程序员通过利用自己思维的力量崛起并成为虚拟宇宙中的动作英雄的终极故事。 -当时,没有一部电影对我来说似乎更具未来感。无论是故事本身,还是迷人的特效。即使意识到它是在二十多年前拍摄的也并没有改变我的想法。 +当时,对我来说没有比这部电影更具未来感了。无论是故事本身,还是迷人的特效。即使意识到它是在二十多年前拍摄的也并没有改变我的想法。 -今天将它带回我们的命令行玩具,让我们在终端用 **cmatrix** 重建黑客帝国中那向下滚动的代码流。 **cmatrix** 对我来说很容易安装,它在 Fedora 中被打包了,所以安装它只需: +今天将它带回我们的命令行玩具,让我们在终端用 `cmatrix` 重建黑客帝国中那向下滚动的代码流。 `cmatrix` 很容易安装,它在 Fedora 中被打包了,所以安装它只需: ``` $ dnf install cmatrix ``` -接着,只需在你的终端输入 **cmatrix** 即可运行。 +接着,只需在你的终端输入 `cmatrix` 即可运行。 + ![](https://opensource.com/sites/default/files/uploads/linux-toy-cmatrix-animated.gif) -你可以在 [GitHub][2] 上找到使用 GPL 许可的 **cmatrix** 的源代码。 + +你可以在 [GitHub][2] 上找到使用 GPL 许可的 `cmatrix` 的源代码。 你有特别喜欢的命令行小玩具需要我介绍的吗?这个系列要介绍的小玩具大部分已经有了落实,但还预留了几个空位置。评论留言让我知道,我会查看的。如果还有空位置,我会考虑介绍它的。如果没有,但如果我得到了一些很好的意见,我会在最后做一些有价值的提及。 @@ -43,7 +47,7 @@ via: https://opensource.com/article/18/12/linux-toy-cmatrix 作者:[Jason Baker][a] 选题:[lujun9972][b] 译者:[geekpi](https://github.com/geekpi) -校对:[校对者ID](https://github.com/校对者ID) +校对:[wxy](https://github.com/wxy) 本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出 @@ -51,4 +55,4 @@ via: https://opensource.com/article/18/12/linux-toy-cmatrix [b]: https://github.com/lujun9972 [1]: https://en.wikipedia.org/wiki/The_Matrix [2]: https://github.com/abishekvashok/cmatrix -[3]: https://opensource.com/article/18/12/linux-toy-bash-prompt \ No newline at end of file +[3]: https://opensource.com/article/18/12/linux-toy-bash-prompt diff --git a/sources/tech/20171223 Celebrate Christmas In Linux Way With These Wallpapers.md b/translated/tech/20171223 Celebrate Christmas In Linux Way With These Wallpapers.md similarity index 70% rename from sources/tech/20171223 Celebrate Christmas In Linux Way With These Wallpapers.md rename to translated/tech/20171223 Celebrate Christmas In Linux Way With These Wallpapers.md index 94c08d72ae..3c282ce7d5 100644 --- a/sources/tech/20171223 Celebrate Christmas In Linux Way With These Wallpapers.md +++ b/translated/tech/20171223 Celebrate Christmas In Linux Way With These Wallpapers.md @@ -7,138 +7,136 @@ [#]: author: (Abhishek Prakash https://itsfoss.com/author/abhishek/) [#]: url: ( ) -Celebrate Christmas In Linux Way With These Wallpapers +使用这些壁纸以 Linux 的方式庆祝圣诞节 ====== -It’s the holiday season and many of you might be celebrating Christmas already. From the team of It’s FOSS, I would like to wish you a Merry Christmas and a happy new year. +当前正是假日季节,很多人可能已经在庆祝圣诞节了。我代表 It's FOSS 团队祝你圣诞快乐,新年快乐。 -To continue the festive mood, I’ll show you some really awesome [Linux wallpapers][1] on Christmas theme. But before we see that, how about a Christmas Tree in Linux terminal. +为了延续节日氛围,我将向你展示一些非常棒的圣诞主题 [Linux壁纸][1]。在呈现这些壁纸之前,先来看一棵 Linux 终端下的圣诞树。 -### Display Christmas Tree in Linux Terminal +### 在 Linux 终端下显示圣诞树 - +圣诞树的效果如 [这个页面](https://giphy.com/embed/xUNda6KphvbpYxL3tm) 所示。 -If you want to display an animated Christmas tree in the terminal, you can use the command below: +使用以下命令在终端中显示一棵动画圣诞树: ``` curl https://raw.githubusercontent.com/sergiolepore/ChristBASHTree/master/tree-EN.sh | bash ``` -If you don’t want to get it from the internet all the time, you can get the shell script from its GitHub repository, change the permission and run it like a normal shell script. +要是不想一直从互联网上获取这棵圣诞树,也可以从它的 [GitHub 仓库][2] 中获取对应的 shell 脚本,更改权限之后按照运行普通 shell 脚本的方式运行它。 -[ChristBASHTree][2] - -### Display Christmas Tree in Linux terminal using Perl +### 使用 Perl 在 Linux 终端下显示圣诞树 [![Christmas Tree in Linux terminal by NixCraft][3]][4] -This trick was originally shared by [NixCraft][5]. You’ll need to install a Perl module for this. +这个技巧最初由 [NixCraft][5] 分享,你需要为此安装 Perl 模块。 -To be honest, I don’t like using Perl modules because uninstalling them is a real pain. So **use this Perl module knowing that you’ll have to manually remove it**. +说实话,我不喜欢使用 Perl 模块,因为卸载它们真的很痛苦。所以使用这个 Perl 模块时需谨记,你必须手动移除它。 ``` perl -MCPAN -e 'install Acme::POE::Tree' ``` -You can read the original article [here][5] to know more about it. +你可以阅读 [原文][5] 来了解更多信息。 -## Download Linux Christmas Wallpapers +## 下载 Linux 圣诞主题壁纸 -All these Linux Christmas wallpapers are created by Mark Riedesel and you can find plenty of other artwork on [his website][6]. +所有这些 Linux 圣诞主题壁纸都是由 Mark Riedesel 制作的,你可以在 [他的网站][6] 上找到很多其他艺术品。 -He has been making such wallpapers almost every year since 2002. Quite understandably some of the earliest wallpapers don’t have modern aspect ratio. I have put them up in reverse chronological order. +自 2002 年以来,他几乎每年都在制作这样的壁纸。可以理解的是,最早的一些壁纸不具有现代的宽高比。我把它们按时间倒序排列。 -One tiny note. The images displayed here are highly compressed so download the wallpapers from the provided link only. +注意一个小地方,这里显示的图片都是高度压缩的,因此你要通过图片下方提供的链接进行下载。 ![Christmas Linux Wallpaper][7] -[Download This Wallpaper][8] +[下载此壁纸][8] [![Christmas Linux Wallpapers][9]][10] -[Download This Wallpaper][11] +[下载此壁纸][11] [![Christmas Linux Wallpapers][12]][13] -[Download This Wallpaper][14] +[下载此壁纸][14] [![Christmas Linux Wallpapers][15]][16] -[Download This Wallpaper][17] +[下载此壁纸][17] [![Christmas Linux Wallpapers][18]][19] -[Download This Wallpaper][20] +[下载此壁纸][20] [![Christmas Linux Wallpapers][21]][22] -[Download This Wallpaper][23] +[下载此壁纸][23] [![Christmas Linux Wallpapers][24]][25] -[Download This Wallpaper][26] +[下载此壁纸][26] [![Christmas Linux Wallpapers][27]][28] -[Download This Wallpaper][29] +[下载此壁纸][29] [![Christmas Linux Wallpapers][30]][31] -[Download This Wallpaper][32] +[下载此壁纸][32] [![Christmas Linux Wallpapers][33]][34] -[Download This Wallpaper][35] +[下载此壁纸][35] [![Christmas Linux Wallpapers][36]][37] -[Download This Wallpaper][38] +[下载此壁纸][38] [![Christmas Linux Wallpapers][39]][40] -[Download This Wallpaper][41] +[下载此壁纸][41] [![Christmas Linux Wallpapers][42]][43] -[Download This Wallpaper][44] +[下载此壁纸][44] [![Christmas Linux Wallpapers][45]][46] -[Download This Wallpaper][47] +[下载此壁纸][47] [![Christmas Linux Wallpapers][48]][49] -[Download This Wallpaper][50] +[下载此壁纸][50] -### Bonus: Linux Christmas carols +### 福利:Linux 圣诞颂歌 -Here is a bonus for you. Christmas carols Linuxified for Linux lovers like us. +这是给你的一份福利,给像我们一样的 Linux 爱好者的关于 Linux 的圣诞颂歌。 -In [an article on Computer World][51], [Sandra Henry-Stocker][52] shared such Christmas carols. An excerpt: +在 [计算机世界的一篇文章][51] 中,[Sandra Henry-Stocker][52] 分享了这些圣诞颂歌。摘录片段如下: -To the tune of: [Chestnuts Roasting on an Open Fire][53] +这一段用的 [Chestnuts Roasting on an Open Fire][53] 的曲调: > Running merrily on open source > With users happy as can be > We’re using Linux and getting lots done > And happy everything is free -To the tune of: [The Twelve Days of Christmas][54] +这一段用的 [The Twelve Days of Christmas][54] 的曲调: > On my first day with Linux, my admin gave to me a password and a login ID > On my second day with Linux my admin gave to me two new commands and a password and a login ID -You can read full carols [here][51]. +在 [这里][51] 阅读完整的颂歌。 -Merry Linux to you!! +祝你享受 Linux! --------------------------------------------------------------------------------- +------ via: https://itsfoss.com/christmas-linux-wallpaper/ 作者:[Abhishek Prakash][a] 选题:[lujun9972][b] -译者:[译者ID](https://github.com/译者ID) +译者:[jlztan](https://github.com/jlztan) 校对:[校对者ID](https://github.com/校对者ID) 本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出