ls /bin /usr/bin | sort | uniq | less上面这条命令的实际效果是:获得 ls /bin /usr/bin 的 output将上述 output 进行 sort (排序),并去掉重复项 (uniq)将经过以上处理的 output 作为 less 命令的 input,输出在屏幕上相反地,如果想输出重复项,使用......
admin 2023-10-14
Linux swapoff命令用于关闭系统交换区(swap area),与之相对的swapon命令自然就是用来打开交换分区的。咱们看示例:1、使用free -m 查看到swap分区在启用中2、查看swap分区挂在哪个设备上(sfdisk -l 或fdisk -l)3、关闭该分区(swapoff),并......
admin 2023-10-14
简介Netstat 命令用于显示各种网络相关信息,如网络连接,路由表,接口状态 (Interface Statistics),masquerade 连接,多播成员 (Multicast Memberships) 等等。输出信息含义执行netstat后,其输出结果为Active Internet connections (w/o servers)Proto Re_......
admin 2023-10-14
Linux shutdown命令可以用来进行关机程序,并且在关机以前传送讯息给所有使用者正在执行的程序,shutdown 也可以用来重开机。使用权限:系统管理者。语法shutdown [-t seconds][-rkhncfF]time [message]参数说明:-t seconds : 设定在几秒钟之后......
admin 2023-10-14
linux swatch(simple watcher) 命令详解 功能说明:系统监控程序。 语 法:swatch [-A <分隔字符>][-c <设置文件>][-f <记录文件>][-I <分隔字符>][-P <分隔字符>][-r <时间&g......
admin 2023-10-14
创建、删除文件及目录命令的使用命令 说明touch 文件名 创建指定文件mkdir 目录名 创建目录(文件夹)rm 文件名或者目录名 删除指定文件或者目录rmdir 目录名 删除空目录touch命令效果图:mkdir命令效果图:rm命令效果图:rm删除目录效果......
admin 2023-10-14
Linux命令1.free1.free一、free命令介绍free命令用于显示整个系统的内存使用情况(如果想查看进程的内存使用情况需要使用top或ps等其它命令)二、free命令示例free命令执行后将输出一个表格,其中的数值都默认以字节为单位。Mem行......
admin 2023-10-14
bzip2使用Burrows-Wheeler块排序文本压缩算法,将文件进行压缩,压缩比率比一般算法高一些。bzip2要求命令行标志附带一个文件名列表。每个文件都被自己的压缩版本替换,名称为“original_name.bz2”。每个压缩文件与相应的原始文件......
admin 2023-10-14
文章浏览阅读1k次。1、显示日期与时间的命令:date2、显示日历的命令:cal3、简单好用的计算器:bc4、热键“命令补全或文件补齐”:Tab5、热键“中断目前程序”:Ctrl+C6、热键“键盘输入结束(End of File)相当与输入exit”:Ctrl......
admin 2023-11-12
问题起源:在一个项目中看到有bert@文件名及大量的bert.20200501,bert.20200601等文件夹?第一个问题文件名带@符号代表什么第二个问题这样的做意义是什么解答:第一个问题的答案:通过 google搜索,可以确定@符号是链接(快捷方......
admin 2023-10-13
join命令用来将两个文件中,制定栏位内容相同的行连接起来。找出两个文件中,指定栏位内容相同的行,并加以合并,再输出到标准输出设备。语法join(选项)(参数)选项-a<1或2>:除了显示原来的输出内容之外,还显示......
admin 2023-10-10
Linux smbd命令用于Samba服务器程序。smbd为Samba服务器程序,可分享文件与打印机等网络资源供Windows相关的用户端程序存取。语法 1 smbd [-aDhoP][-d<排错层级>][-i<范围>][-l<记录文件>][-O<连接......
admin 2023-10-10
本词条缺少概述图,补充相关内容使词条更完整,还能快速升级,赶紧来编辑吧!clock()是C/C++中的计时函数,而与其相关的数据类型是clock_t。在MSDN中,查得对clock函数定义如下:clock_t clock(void) ;简单而言,就是该程序从启动到......
admin 2023-10-13
一、背景      今天早上看到一篇关于服务器被破解当矿机的文章。在文章里面看到作者通过lastb命令找到攻击者的登录历史,觉得还是很厉害的,因此总结一下last和lastb相关的命令。二、l......
admin 2023-10-14
reboot 用来重启Linux系统和Windows系统中的restart一样。但是机器重启必须要root用户才有权限。命令语法:/sbin/reboot [-n] [-w] [-d] [-f] [-i]或reboot [-n] [-w] [-d] [-f] [-i]命令参数:参数长参数描叙_/sbin/reboot...
admin 2023-10-14
文章浏览阅读3.9k次,点赞4次,收藏22次。命令:curl在Linux中curl是一个利用URL规则在命令行下工作的文件传输工具,可以说是一款很强大的http命令行工具。它支持文件的上传和下载,是综合传输工具,但按传统,习惯称url为下载......
admin 2023-11-12
文章浏览阅读870次。#########################################################################################. 必须使用su用户下,才能用jtag下载程序#####################################################################################..._linux module_force_load...
admin 2023-11-14
友情链接申请要求: 不违法不降权 权重相当 请联系QQ:737597453