随笔分类 -  linux

摘要:1. 概要 &参考2. 方法2.1 查看单个 sector 大小?5122.2 查看单个 block 大小?40962.3 查看单个 inode 大小?1282.4 查看文件 inode 信息 (stat)?2.5 查看文件 inode 信息 (ls -i)?2.6 查看磁盘 inode 信息 (df -i)?2.7 通过inode号反查文件名字 (find ./ -inum 524903)?2.... 阅读全文
posted @ 2016-09-11 14:55 lshconfigure 阅读(208) 评论(0) 推荐(0)
摘要:du 查看文件系统占用硬盘的使用量 小试牛刀 du 列出当前目录硬盘,单位为1k Byte为单位,一个空目录占用4096 Bytes; 也可以用ls -al,此时目录大小为4096 Bypte,不会循环计算; 显示指定某目录的大小,不包含目录内文件 du -s /var/ 显示指定目录下所有文件和目 阅读全文
posted @ 2016-08-15 09:34 lshconfigure 阅读(146) 评论(0) 推荐(0)
摘要:gsettings set com.canonical.Unity.Launcher launcher-position Bottom PS: only function well on Ubuntu 16.04 reference 来自为知笔记(Wiz) 阅读全文
posted @ 2016-08-15 09:33 lshconfigure 阅读(199) 评论(0) 推荐(0)
摘要:Installation Instructions Add the official PPA update the repository install wireshark 2.0 来自为知笔记(Wiz) 阅读全文
posted @ 2016-08-15 09:31 lshconfigure 阅读(191) 评论(0) 推荐(0)
摘要:Download the package (64 bit): Install the package, forcing install of dependencies: In case any dependencies diddnt install (you would have a warning 阅读全文
posted @ 2016-08-15 09:31 lshconfigure 阅读(338) 评论(0) 推荐(0)
摘要:安装服务器端 sudo apt-get install openssh-server 检查是否安装成功 ps -ef|grep ssh|grep -v grep 来自为知笔记(Wiz) 阅读全文
posted @ 2016-08-15 09:30 lshconfigure 阅读(132) 评论(0) 推荐(0)
摘要:Tags: Bash_Command Tags: ps 1. 按进程名字输出进程号码?Grep PID by process_name?2. 按照进程名,用ps输出进程行? Ps show the process_name? 1. 按进程名字输出进程号码?Grep PID by process_na 阅读全文
posted @ 2016-08-15 09:25 lshconfigure 阅读(100) 评论(0) 推荐(0)
摘要:对于工作1800/1200i的实践?tcpdump -i eth4 -w x.pcap在某端口抓非ssh的报文在某端口抓非ssh且非ospf的报文 对于工作1800/1200i的实践? 1800————–1800——————–1800 可以按照xe-ts/10.6的lif6 来抓包,抓出来的包保存为 阅读全文
posted @ 2016-08-15 09:24 lshconfigure 阅读(150) 评论(0) 推荐(0)
摘要:环境 PC端口双网卡, Realtek RTL8139/810x Family Fast Ethernet NI 连接外网,属于static ip,不可共享网络,ip地址172.18.98.101. Broadcom NetLink (TM) Gigabit Ethernet 连接内部实验室网络,属 阅读全文
posted @ 2016-08-15 09:22 lshconfigure 阅读(2760) 评论(0) 推荐(0)
摘要:for Version Ubuntu16.04 Install sougoupinyin official deb file; reboot ubuntu, select sougoupinyin; 来自为知笔记(Wiz) 阅读全文
posted @ 2016-08-15 09:17 lshconfigure 阅读(148) 评论(0) 推荐(0)
摘要:scp secure copy 是基于ssh的安全文件拷贝程序 -v 和大多数 linux 命令中的 -v 意思一样 , 用来显示进度 . 可以用来查看连接 , 认证 , 或是配置错误 . -C 使能压缩选项 . -P 选择端口 . 注意 -p 已经被 rcp 使用 . -4 强行使用 IPV4 地 阅读全文
posted @ 2016-08-12 17:27 lshconfigure 阅读(163) 评论(0) 推荐(0)