![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux
文章平均质量分 52
jimfg2010
这个作者很懒,什么都没留下…
展开
-
linux下unzip解压命令汇总
Unzip 1*.tar 用 tar –xvf 解压 2*.gz 用 gzip -d或者gunzip 解压 3*.tar.gz和*.tgz 用 tar –xzf 解压 4*.bz2 用 bzip2 -d或者用bunzip2 解压 5*.tar.bz2用tar –xjf 解压 6*.Z 用 uncompress 解压 7*.tar.Z 用tar –xZf 解压 8*.r...原创 2018-09-12 16:31:22 · 824 阅读 · 0 评论 -
MarkDown用法
MarkDown用法转载 2018-09-13 10:57:33 · 201 阅读 · 0 评论 -
解决MPx 无法在windows下运行
MPx 无法运行,要设置一下:控制面板–system & security–administrative tools–Local Security Policy – Local Policies – user rights assignment–lock pages in memory – Add User or Group… – 在空白处输入Administrator,点击“Check ...原创 2018-09-13 11:11:39 · 683 阅读 · 0 评论 -
Lenovo RAID Introduction
Lenovo RAID Introduction [详情见网址https://lenovopress.com/lp0578-lenovo-raid-introduction] Reference Information Lenovo ThinkSystem DM Series and DE Series Storage Arrays At Lenovo’s Transform 2.0 co...转载 2018-09-14 08:56:08 · 841 阅读 · 0 评论 -
Shell中的循环语句for、while、until实例讲解
Shell中的循环语句for、while、until实例讲解 更新时间:2014年06月04日 11:20:25 作者: 我要评论这篇文章主要介绍了Shell中的循环语句for、while、until实例讲解,简单清晰明了,非常不错的教程,需要的朋友可以参考下在编程语言中,循环语句是最基本的语法之一,在Shell(这里是Bash)中也不例外,再把以前自己写过的相关内容整理一...转载 2018-09-14 08:58:19 · 260 阅读 · 0 评论 -
linux 常用查询命令shell tool
mkfs -V -t msdos -c /dev/hda5 //format disk command:在 /dev/hda5 上建一个 msdos 的档案系统,同时检查是否有坏轨存在,并且将过程详细列出来 : mfks -t ext3 /dev/sda6 //将sda6分区格式化为ext3格式 mkfs -t ext2 /dev/sda7 //将sda7分区格式化为ext2格式...原创 2018-09-14 09:02:52 · 790 阅读 · 0 评论 -
linux shell 常用命令
Linux常用命令逻辑判断符号rpm -qa|grep licqcat /etc/passwd | grep /bin/bash | wc -l参数引用linux中()、[]、{}、(())、[[]]等各种括号的使用逻辑判断符号“;”分号用法方式:command1 ; command2用;号隔开每个命令, 每个命令按照从左到右的顺序,顺序执行, 彼此之间不关心是否失败, 所有命令都会执行。...转载 2019-08-28 10:51:15 · 356 阅读 · 0 评论 -
linux安装系统前安装驱动(driver)方法
在Cent OS 下装HBA/Raid card driver方法: 1.从安装盘启动; 2.进入系统菜单选择界面(一般有3个选项),迅速按下”E”键; 3.用键盘的方向键定位到“quiet”; 4.按一下“i”键,进入编辑模式; 5.输入:linux dd (RH OS: dd.linux ;suse OS :dud=1); 6.同时按下“CTRL”+”X”键; 7.然后根据提示...原创 2018-09-13 10:24:22 · 6488 阅读 · 2 评论 -
copy to full disk
!/bin/bashMy script cptofulldiski=1while [ $i -le 100005 ] docp -rf /home/morganfang/Desktop/folder_1 /mnt/wv/folder_$ii=$[ $i+1 ]done原创 2018-09-12 16:58:51 · 602 阅读 · 0 评论 -
linux bin file create创建bin文件
Run “dd if=/dev/sda of=/dev/sdx/file_name bs=512/1k/1024k count=1000” to copy 1GB data to tested disk from OS disk.(sda for OS device,sdx is the tested disk). *bs= (min 512,others k,m) create 512b....原创 2018-09-12 17:08:13 · 672 阅读 · 0 评论 -
利用fio顺序写满盘2圈
fio fio –name=fio_sequence128k_name –rw=write –direct=1 –ioengine=libaio –numjobs=1 –group_reporting –loops=2 –size=100% –filename=/dev/sdd –bs=128k –iodepth=32 对sdd device用bs为128k,dp 为32,NJ为...原创 2018-09-13 09:38:22 · 2993 阅读 · 1 评论 -
smartctl命令常见用法
smart 用法 1.smartctl -s on /dev/sda”开启磁盘的smart功能 2.smartctl -a /dev/sda”显示磁盘的详细smart信息 3.smartctl –test=short /dev/sda 4.smartctl –test=short /dev/sdb 检查磁盘坏道...原创 2018-09-13 09:40:03 · 5098 阅读 · 0 评论 -
yum的安装及用法
yum的用法: yum:[root@localhost Desktop]# cp proxy/ 163Yum/ aliYum/ profile pxosy.txt [root@localhost Desktop]# cp proxy/profile /etc/ cp: overwrite 鈥?etc/profile鈥? y [root@localhost Deskto...原创 2018-09-13 09:41:11 · 1078 阅读 · 0 评论 -
ipmitool 常用命令
ipmitool 常用命令 ipmitool -I lan -H 172.168.6.3 -U root -P 密码 power off (硬关机,直接切断电源) ipmitool -I lan -H 172.168.6.3 -U root -P 密码 power soft (软关机,即如同轻按一下开机扭,对于linux,服务器将halt,power status 为off) ipmitoo...原创 2018-09-13 09:42:08 · 4500 阅读 · 0 评论 -
linux下利用dd和iso文件制作启动盘方法
U盘做系统盘步骤以及注意事项 a. U盘必须为FAT32格式 b. 需未挂载状态 > 需umount 挂载 c. U盘有隐藏分区在windows里面cmd–>diskpart–>select disk 1(1就是U盘) –>clean –>分配U盘(注意FAT32) Linux command :dd if=xxx....原创 2018-09-13 09:47:37 · 5417 阅读 · 0 评论 -
从windows 系统拷贝文件到linux系统无法运行需要转码
从windows 系统拷贝文件到linux系统时需要使用vim进行转码才能够为linux系统识别并使用:建议不要使用windows 下自带的txt编辑器或者其他文本编辑程序,如果非要用,又避免存在windows 平台和linux平台移植出现兼容问题,最好使用“Notepad++”进行编辑,然后再移植,就不会有问题。若出现移植问题,解决方式如下:1.使用vi/vim打开文件; 2.按下...原创 2018-09-13 10:10:17 · 1089 阅读 · 0 评论 -
raid card(raid卡:930-730-530-430)升级FW和driver
1.RAID card fw升级1.1 如果fw文件是bin file(在linux OS下),直接运行“./filename.bin -s”1.2 如果fw文件是rom,可以安装stocli(官网下载链接:https://www.broadcom.com/support/download-search?pg=Storage+Adapters,+Controllers,+and+ICs&...原创 2019-09-27 15:36:28 · 2852 阅读 · 0 评论