![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux
「已注销」
马哥私房菜
展开
-
Linux学习之现代版linux命令
https://github.com/sharkdp/bathttps://github.com/Peltoche/lsdhttps://github.com/ogham/exahttps://github.com/dandavison/deltahttps://github.com/bootandy/dusthttps://github.com/muesli/dufhttps://github.com/Canop/broothttps://github.com/dalance/procsh原创 2021-07-01 10:14:50 · 381 阅读 · 0 评论 -
Linux学习之文件系统zfs文件系统之zpool命令详解
ZPOOL(8) System Manager's Manual ZPOOL(8)NAME zpool — configure ZFS storage poolsSYNOPSIS zpool -? zpool.原创 2021-06-29 23:17:32 · 9923 阅读 · 0 评论 -
Ubuntu实用技巧之ubuntu 20.04 安装 synergy
Ubuntu实用技巧之ubuntu 20.04 安装 synergy下载安装运行下载ubuntu 20.04 要 下载 个 synergy_1.8.8-stable+dfsg.1-1build1_amd64.deb 版本, 对应的windows 也要安装个相同的版本的.在这里下载 https://launchpad.net/ubuntu/+source/synergy, 妈的百度了半天才找到,要是用谷歌估计一下子就找到了.垃圾百度.synergy Share mouse, keyboard an原创 2021-06-29 13:24:28 · 2266 阅读 · 0 评论 -
Linux学习之文件系统 ZFS - 文件系统简介
这里写自定义目录标题欢迎使用Markdown编辑器新的改变功能快捷键合理的创建标题,有助于目录的生成如何改变文本的样式插入链接与图片如何插入一段漂亮的代码片生成一个适合你的列表创建一个表格设定内容居中、居左、居右SmartyPants创建一个自定义列表如何创建一个注脚注释也是必不可少的KaTeX数学公式新的甘特图功能,丰富你的文章UML 图表FLowchart流程图导出与导入导出导入欢迎使用Markdown编辑器你好! 这是你第一次使用 Markdown编辑器 所展示的欢迎页。如果你想学习如何使用Mar原创 2021-06-29 13:16:45 · 249 阅读 · 0 评论 -
Linux学习之文件系统zfs文件系统
ZFS(Zettabyte File System)一个打破过去思维的文件系统,是 Sun Microsystems这家公司所开发出来的全新型态文件系统,因为License的问题所以目前只有在Solaris、Mac、BSD上看得到,ZFS是128bit的文件系统,而它到底有多强呢?别再等待了马上用了你就知道,只能说ZFS真是一个上帝赐给IT人员的好礼物。...原创 2021-02-19 15:55:08 · 9340 阅读 · 1 评论 -
Linux学习之bash学习之在bash中=和=~的区别
怎么理解 bash [[]] 判断中的 = 和 =~ 这2个判断呢??if [[ 23ab = *ab ]] ; then echo yes; fi[[$a=~$b]] 是正则表达式匹配。在这种语法中,*匹配前一个字符或模式的0-n个实例。是正则表达式if [[ 23ab =~ [0-9]{1,2}ab ]] ; then echo yes; fi 是一个glob的模式匹配。在此语法中,*匹配任何类型的0-n个字符。 和正则还是有点区别的。https://en.wikipedia.org原创 2021-01-27 10:48:33 · 4482 阅读 · 0 评论 -
Linux学习之bash学习之几个特殊变量$*和$@
Special Parameters The shell treats several parameters specially. These parameters may only be referenced; assignment to them is not allowed. * Expands to the positional parameters, starting from one. When the expansion is not within d原创 2020-08-08 12:55:00 · 255 阅读 · 0 评论 -
Linux学习之task-spooler是一个Unix批处理系统
解决 多人编译 抢占资源问题, 使用 linux task spooler 工具.task spooler is a Unix batch system where the tasks spooled run one after the other. The amount of jobs to run at once can be set at any time. Each user in each system has his own job queue. The tasks are run in th原创 2020-06-19 17:43:31 · 1381 阅读 · 0 评论 -
Ubuntu学习笔记之调试Samba
调试samba我们工作中经常的会使用samba。但是出现一个棘手的问题我们应该怎么办呢?网上查资料查解决方案?还是自己下一套samba的源码分析一番呢?本文介绍了工作中遇到的一个问题。然后通过查看源码来分析为什么会出这个错误。以及最后应该怎么解决这个错误。参考https://wiki.ubuntu.com/DebuggingSamba这个。IntroductionSamba i...原创 2020-03-09 14:10:18 · 1165 阅读 · 0 评论 -
Ubuntu学习笔记之分区详解之LVM
Ubuntu学习笔记之分区详解之LVM0、 前言逻辑卷管理LVM是一个多才多艺的硬盘系统工具。无论在Linux或者其他类似的系统,都是非常的好用。传统分区使用固定大小分区,重新调整大小十分麻烦。但是,LVM可以创建和管理“逻辑”卷,而不是直接使用物理硬盘。可以让管理员弹性的管理逻辑卷的扩大缩小,操作简单,而不损坏已存储的数据。可以随意将新的硬盘添加到LVM,以直接扩展已经存在的逻辑卷。L...原创 2019-06-05 11:20:05 · 2913 阅读 · 0 评论 -
ubuntu加入Windows的AD域(使用Samba和Winbind的方式)
ubuntu加入Windows的AD域Integrate Ubuntu 16.04 to AD as a Domain Member with Samba and Winbind – Part 8Step 1: Initial Configurations to Join Ubuntu to Samba4 AD1.首先要修改好自己电脑的hostname,可以使用hostnamectl命令或者...原创 2019-05-13 10:40:33 · 9307 阅读 · 0 评论 -
ubuntu加入Windows的AD域(使用SSSD和Realm的方式)
ubuntu加入Windows的AD域(使用SSSD和Realm的方式)原创 2019-05-14 14:37:15 · 10403 阅读 · 0 评论 -
Linux学习之bash学习之cookbook系列
马哥的淘宝店:https://shop592330910.taobao.com/bash cookbook 技巧来自http://www.catonmat.net/blogPart I: Working With Files 第一部分 文件处理1.清空文件内容 Empty a file (truncate to 0 size)$ > file这一行命令用到了...原创 2017-12-21 12:02:10 · 833 阅读 · 0 评论 -
git学习笔记之2 Git 内部原理 - Git 对象
https://git-scm.com/book/zh/v1/Git-内部原理-Git-对象原创 2018-03-28 10:44:26 · 185 阅读 · 0 评论 -
Linux学习之Linux命令行与shell脚本编程大全
欢迎光临 马哥私房菜 淘宝https://shop592330910.taobao.com/【马哥私房菜】亲情推出《linux shell脚本攻略》视频教程【马哥私房菜】亲情推出 git 视频教程《Linux命令行与shell脚本编程大全》第三版 学习笔记第1部分 Part 1 Linux 命令行第1 章 初识Linux shell本章内容 - 什么是Li...原创 2018-04-03 19:40:36 · 6197 阅读 · 2 评论 -
Ubuntu学习笔记之BackupYourSystem使用tar命令
本文讲述如何备份你的linux整个系统,这里采用tar命令的方式来备份备份前准备工作在做整个系统的备份前我们要做一些准备工作。删除所有的emails清空你的浏览器的一些历史取消挂载的硬盘等设备删除家目录里你不想要备份的文件开始备份备份需要使用root账号。我们执行sudo su - root 切换到root账号下面。切换目录到根目录cd /执行tar命令备份...原创 2018-08-15 09:36:39 · 1580 阅读 · 0 评论 -
Linux学习之常用命令之find查找命令
find 命令find . -name "linxu-x86" -type d -exec bash -c 'src="{}";dst="$(dirname $src)/linux-x86"; echo ===$src==$dst==; mv $src $dst' \;find . -name "debug_kernel_img" -type d -exec bash -c 's...原创 2018-08-13 11:53:19 · 217 阅读 · 0 评论 -
Ubuntu 14.04系统mysql 更新更新失败
mysql 更新时候的一个错误Reading package lists... DoneBuilding dependency tree Reading state information... Doneopenjdk-9-jdk is already the newest version (9.0.4+12-4ubuntu2~16.04.4).openjdk-9-jre ...原创 2018-09-03 08:28:31 · 1070 阅读 · 0 评论 -
Ubuntu学习之使用sysv-rc-conf管理开机自启动服务(ubuntu14.04)
sysv-rc-conf 命令是可以管理系统中开机自启动的后台服务器。sysv-rc-conf - Run-level configuration for SysV like init script links在Ubuntu下用apt-get安装,非常简单sudo apt install sysv-rc-conf运行,会出现一个简易界面的,然后选择需要开启或禁用的 对应的运行级别...原创 2018-09-03 08:35:46 · 1598 阅读 · 0 评论 -
Kubernetes的学习笔记总结之k8s集群安装部署
安装 Docker所有节点都需要安装 Docker。apt-get update && apt-get install docker.io安装 kubelet、kubeadm 和 kubectl在所有节点上安装 kubelet、kubeadm 和 kubectl。kubelet 运行原创 2018-11-22 13:58:56 · 6369 阅读 · 0 评论 -
Linux学习之awk学习之cookbook技巧
awk学习之cookbook技巧.md马哥私房菜博客地址:https://github.com/mageSFC/myblog1.每行后面都加上一个空行awk '1; { print "" }' #马哥私房菜博客地址:https://github.com/mageSFC/myblogawk 程序包含一系列的 parttern-action(模式-动作)的语句。类似这样原创 2018-01-11 14:54:27 · 967 阅读 · 0 评论