在Windows 7系统下系统盘中的Documents and Settings文件夹属于系统保护文件,默认情况是隐藏的且拒绝读取,平时显示时文件夹上还带有一把小锁!在使用Windows 7系统的时候,需要对文件夹进行清理,如何设置才能访问该文件夹呢?
1.右键点击系统盘下的Documents and Settings文件夹,选择属性。(需先设置文件夹选项可查看隐藏文件)
2.在属性窗口中,点击“安全”栏下的“高级”选项
3.在弹出的窗口中点击拒绝类型后的“Everyone”,然后点击“更改权限”
4.在弹出的窗口中。点击拒绝类型后的“Everyone”,然后点击“删除”
5.点击允许类型后的“Everyone”,然后点击“编辑”
6.在弹出的窗口中勾选“完全控制”的允许项,然后点击确定
7.回到该窗口下点击“确定”进入下一步
8.回到该窗口下点击“确定”进入下一步
9.回到该窗口下点击“确定”即可正常访问该文件夹。
1.指定arpd数据库文件,默认位置为 /var/tmp/arpd.db
arpd -b arpd数据库文件
2.将arp数据库内容打印并退出进程
arpd -l -b arpd数据库文件
语法:
rmmod(选项)(参数)
选项:
-v:显示指令执行的详细信息;
-f:强制移除模块,使用此选项比较危险;
-w:等待着,直到模块能够被除时在移除模块;
-s:向系统日志(syslog)发送错误信息。
参数:
要移除的模块名称。
实例:
1.查看当前系统加载的模块
lsmod
2.删除floppy模块
rmmod floppy
3.再次查看加载的模块
lsmod
floppy模块已被删除
Windows 7系统下如何限制访问指定磁盘呢?
1.打开“运行”,输入gpedit.msc,点击“确定”,打开本地组策略编辑器
2.按用户配置→管理模板→Windows组件→Windows资源管理器,进入到如图所示界面,找到“防止从‘我的电脑’访问驱动器”,双击进入设置
3.在弹出的窗口中点选“已启用”。如果要限制C盘的使用,选中“仅限制驱动器C”,就可以了。如果希望关闭所有驱动器,可以选择“限制所有驱动器”。设置后点击“确定”即可
<p style="margin: 10px 0px; padding: 0px; box-sizing: border-box; line-height: 1.5;">目前我们提供25种特色认证。</p> <p style="margin: 10px 0px; padding: 0px; box-sizing: border-box; line-height: 1.5;"> </p> <table style="border-collapse: collapse; table-layout: fixed; padding: 0px; margin: 10px 0px; line-height: 1.5; border-top: 1px solid #cccccc; border-left: 1px solid #cccccc;"> <tbody style="padding: 0px; margin: 0px; box-sizing: border-box;"> <tr class="firstRow" style="padding: 0px; margin: 0px; box-sizing: border-box;"> <td style="margin: 0px; padding: 3px 5px; box-sizing: border-box; border-bottom: 1px solid #cccccc; border-right: 1px solid #cccccc;">序号</td> <td style="margin: 0px; padding: 3px 5px; box-sizing: border-box; border-bottom: 1px solid #cccccc; border-right: 1px solid #cccccc;">认证、资质名称</td> </tr> <tr style="padding: 0px; margin: 0px; box-sizing: border-box;"> <td style="margin: 0px; padding: 3px 5px; box-sizing: border-box; border-bottom: 1px solid #cccccc; border-right: 1px solid #cccccc;">1</td> <td style="margin: 0px; padding: 3px 5px; box-sizing: border-box; border-bottom: 1px solid #cccccc; border-right: 1px solid #cccccc;">ISO系列的体系认证</td> </tr> <tr style="padding: 0px; margin: 0px; box-sizing: border-box;"> <td style="margin: 0px; padding: 3px 5px; box-sizing: border-box; border-bottom: 1px solid #cccccc; border-right: 1px solid #cccccc;">2</td> <td style="margin: 0px; padding: 3px 5px; box-sizing: border-box; border-bottom: 1px solid #cccccc; border-right: 1px solid #cccccc;">国家免检产品</td> </tr> <tr style="padding: 0px; margin: 0px; box-sizing: border-box;"> <td style="margin: 0px; padding: 3px 5px; box-sizing: border-box; border-bottom: 1px solid #cccccc; border-right: 1px solid #cccccc;">3</td> <td style="margin: 0px; padding: 3px 5px; box-sizing: border-box; border-bottom: 1px solid #cccccc; border-right: 1px solid #cccccc;">3C认证(中国强制产品认证)</td> </tr> <tr style="padding: 0px; margin: 0px; box-sizing: border-box;"> <td style="margin: 0px; padding: 3px 5px; box-sizing: border-box; border-bottom: 1px solid #cccccc; border-right: 1px solid #cccccc;">4</td> <td style="margin: 0px; padding: 3px 5px; box-sizing: border-box; border-bottom: 1px solid #cccccc; border-right: 1px solid #cccccc;">自愿性产品认证</td> </tr> <tr style="padding: 0px; margin: 0px; box-sizing: border-box;"> <td style="margin: 0px; padding: 3px 5px; box-sizing: border-box; border-bottom: 1px solid #cccccc; border-right: 1px solid #cccccc;">5</td> <td style="margin: 0px; padding: 3px 5px; box-sizing: border-box; border-bottom: 1px solid #cccccc; border-right: 1px solid #cccccc;">CE产品认证</td> </tr> <tr style="padding: 0px; margin: 0px; box-sizing: border-box;"> <td style="margin: 0px; padding: 3px 5px; box-sizing: border-box; border-bottom: 1px solid #cccccc; border-right: 1px solid #cccccc;">6</td> <td style="margin: 0px; padding: 3px 5px; box-sizing: border-box; border-bottom: 1px solid #cccccc; border-right: 1px solid #cccccc;">授权经销商</td> </tr> <tr style="padding: 0px; margin: 0px; box-sizing: border-box;"> <td style="margin: 0px; padding: 3px 5px; box-sizing: border-box; border-bottom: 1px solid #cccccc; border-right: 1px solid #cccccc;">7</td> <td style="margin: 0px; padding: 3px 5px; box-sizing: border-box; border-bottom: 1px solid #cccccc; border-right: 1px solid #cccccc;">工程设计资质证书</td> </tr> <tr style="padding: 0px; margin: 0px; box-sizing: border-box;"> <td style="margin: 0px; padding: 3px 5px; box-sizing: border-box; border-bottom: 1px solid #cccccc; border-right: 1px solid #cccccc;">8</td> <td style="margin: 0px; padding: 3px 5px; box-sizing: border-box; border-bottom: 1px solid #cccccc; border-right: 1px solid #cccccc;">中国良好农业规范认证</td> </tr> <tr style="padding: 0px; margin: 0px; box-sizing: border-box;"> <td style="margin: 0px; padding: 3px 5px; box-sizing: border-box; border-bottom: 1px solid #cccccc; border-right: 1px solid #cccccc;">9</td> <td style="margin: 0px; padding: 3px 5px; box-sizing: border-box; border-bottom: 1px solid #cccccc; border-right: 1px solid #cccccc;">中国有机产品认证</td> </tr> <tr style="padding: 0px; margin: 0px; box-sizing: border-box;"> <td style="margin: 0px; padding: 3px 5px; box-sizing: border-box; border-bottom: 1px solid #cccccc; border-right: 1px solid #cccccc;">10</td> <td style="margin: 0px; padding: 3px 5px; box-sizing: border-box; border-bottom: 1px solid #cccccc; border-right: 1px solid #cccccc;">食品安全管理体系认证</td> </tr> <tr style="padding: 0px; margin: 0px; box-sizing: border-box;"> <td style="margin: 0px; padding: 3px 5px; box-sizing: border-box; border-bottom: 1px solid #cccccc; border-right: 1px solid #cccccc;">11</td> <td style="margin: 0px; padding: 3px 5px; box-sizing: border-box; border-bottom: 1px solid #cccccc; border-right: 1px solid #cccccc;">中国食品质量认证</td> </tr> <tr style="padding: 0px; margin: 0px; box-sizing: border-box;"> <td style="margin: 0px; padding: 3px 5px; box-sizing: border-box; border-bottom: 1px solid #cccccc; border-right: 1px solid #cccccc;">12</td> <td style="margin: 0px; padding: 3px 5px; box-sizing: border-box; border-bottom: 1px solid #cccccc; border-right: 1px solid #cccccc;">HACCP认证(危害分析和关键控制点)</td> </tr> <tr style="padding: 0px; margin: 0px; box-sizing: border-box;"> <td style="margin: 0px; padding: 3px 5px; box-sizing: border-box; border-bottom: 1px solid #cccccc; border-right: 1px solid #cccccc;">13</td> <td style="margin: 0px; padding: 3px 5px; box-sizing: border-box; border-bottom: 1px solid #cccccc; border-right: 1px solid #cccccc;">中国绿色市场认证</td> </tr> <tr style="padding: 0px; margin: 0px; box-sizing: border-box;"> <td style="margin: 0px; padding: 3px 5px; box-sizing: border-box; border-bottom: 1px solid #cccccc; border-right: 1px solid #cccccc;">14</td> <td style="margin: 0px; padding: 3px 5px; box-sizing: border-box; border-bottom: 1px solid #cccccc; border-right: 1px solid #cccccc;">中国无公害农产品认证</td> </tr> <tr style="padding: 0px; margin: 0px; box-sizing: border-box;"> <td style="margin: 0px; padding: 3px 5px; box-sizing: border-box; border-bottom: 1px solid #cccccc; border-right: 1px solid #cccccc;">15</td> <td style="margin: 0px; padding: 3px 5px; box-sizing: border-box; border-bottom: 1px solid #cccccc; border-right: 1px solid #cccccc;">绿色食品认证</td> </tr> <tr style="padding: 0px; margin: 0px; box-sizing: border-box;"> <td style="margin: 0px; padding: 3px 5px; box-sizing: border-box; border-bottom: 1px solid #cccccc; border-right: 1px solid #cccccc;">16</td> <td style="margin: 0px; padding: 3px 5px; box-sizing: border-box; border-bottom: 1px solid #cccccc; border-right: 1px solid #cccccc;">中国饲料产品认证</td> </tr> <tr style="padding: 0px; margin: 0px; box-sizing: border-box;"> <td style="margin: 0px; padding: 3px 5px; box-sizing: border-box; border-bottom: 1px solid #cccccc; border-right: 1px solid #cccccc;">17</td> <td style="margin: 0px; padding: 3px 5px; box-sizing: border-box; border-bottom: 1px solid #cccccc; border-right: 1px solid #cccccc;">出口食品生产企业卫生备案</td> </tr> <tr style="padding: 0px; margin: 0px; box-sizing: border-box;"> <td style="margin: 0px; padding: 3px 5px; box-sizing: border-box; border-bottom: 1px solid #cccccc; border-right: 1px solid #cccccc;">18</td> <td style="margin: 0px; padding: 3px 5px; box-sizing: border-box; border-bottom: 1px solid #cccccc; border-right: 1px solid #cccccc;">食品生产许可证</td> </tr> <tr style="padding: 0px; margin: 0px; box-sizing: border-box;"> <td style="margin: 0px; padding: 3px 5px; box-sizing: border-box; border-bottom: 1px solid #cccccc; border-right: 1px solid #cccccc;">19</td> <td style="margin: 0px; padding: 3px 5px; box-sizing: border-box; border-bottom: 1px solid #cccccc; border-right: 1px solid #cccccc;">工业产品生产许可证</td> </tr> <tr style="padding: 0px; margin: 0px; box-sizing: border-box;"> <td style="margin: 0px; padding: 3px 5px; box-sizing: border-box; border-bottom: 1px solid #cccccc; border-right: 1px solid #cccccc;">20</td> <td style="margin: 0px; padding: 3px 5px; box-sizing: border-box; border-bottom: 1px solid #cccccc; border-right: 1px solid #cccccc;">CB产品认证</td> </tr> <tr style="padding: 0px; margin: 0px; box-sizing: border-box;"> <td style="margin: 0px; padding: 3px 5px; box-sizing: border-box; border-bottom: 1px solid #cccccc; border-right: 1px solid #cccccc;">21</td> <td style="margin: 0px; padding: 3px 5px; box-sizing: border-box; border-bottom: 1px solid #cccccc; border-right: 1px solid #cccccc;">E/e Mark</td> </tr> <tr style="padding: 0px; margin: 0px; box-sizing: border-box;"> <td style="margin: 0px; padding: 3px 5px; box-sizing: border-box; border-bottom: 1px solid #cccccc; border-right: 1px solid #cccccc;">22</td> <td style="margin: 0px; padding: 3px 5px; box-sizing: border-box; border-bottom: 1px solid #cccccc; border-right: 1px solid #cccccc;">中国特种设备相关认证</td> </tr> <tr style="padding: 0px; margin: 0px; box-sizing: border-box;"> <td style="margin: 0px; padding: 3px 5px; box-sizing: border-box; border-bottom: 1px solid #cccccc; border-right: 1px solid #cccccc;">23</td> <td style="margin: 0px; padding: 3px 5px; box-sizing: border-box; border-bottom: 1px solid #cccccc; border-right: 1px solid #cccccc;">REACH认证(关于化学品注册、评估、授权与限制制度)</td> </tr> <tr style="padding: 0px; margin: 0px; box-sizing: border-box;"> <td style="margin: 0px; padding: 3px 5px; box-sizing: border-box; border-bottom: 1px solid #cccccc; border-right: 1px solid #cccccc;">24</td> <td style="margin: 0px; padding: 3px 5px; box-sizing: border-box; border-bottom: 1px solid #cccccc; border-right: 1px solid #cccccc;">药品GSP认证(良好供应规范)</td> </tr> <tr style="padding: 0px; margin: 0px; box-sizing: border-box;"> <td style="margin: 0px; padding: 3px 5px; box-sizing: border-box; border-bottom: 1px solid #cccccc; border-right: 1px solid #cccccc;">25</td> <td style="margin: 0px; padding: 3px 5px; box-sizing: border-box; border-bottom: 1px solid #cccccc; border-right: 1px solid #cccccc;">GMP认证(药品生产质量管理规范)</td> </tr> </tbody> </table> <p style="margin: 10px 0px; padding: 0px; box-sizing: border-box; line-height: 1.5;"> </p>
语法:
readonly(选项)(参数)
选项:
-f:定义只读函数;
-a:定义只读数组变量;
-p:显示系统中全部只读变量列表。
参数:
变量定义:定义变量,格式为变量名=‘变量值’。
实例:
1.显示所有只读变量
readonly -p
2.定义只读变量
readonly 变量名
NetHogs是一个开源的命令行工具(类似于Linux的top命令),用来按进程或程序实时统计网络带宽使用率。在ubuntu18.04中如何安和使用nethogs工具呢?本文给出详细说明。
1.首先更新软件列表
sudo apt update
2.安装git工具
sudo apt install nethogs
3.使用nethogs
nethogs
ClamAV是一个在命令行下查毒软件,因为它不将杀毒作为主要功能,默认只能查出您计算机内的病毒。在ubuntu18.04中如何安装ClamAV呢?本文给出详细说明。
1.首先更新软件列表
sudo apt update
2.安装ClamAV
sudo apt install clamav
3.测试是否安装成功
clamscan -V
Centos7.6如何连接PPTP?
1.输入
yum install ppp pptp pptp-setup -y
,按回车键执行安装
2.执行如下命令,连接PPTP服务端,查看此时分配的网卡名,如图为ppp1
pptpsetup --create PPTP名字 --server PPTP地址 --username 用户名 --password 密码 --encrypt --start
3.输入
ip route replace default dev ppp1
,按回车键增加默认路由,其中ppp1为上一步查看的网卡名
4. 输入ping IP或网址,按回车键测试通连正常即可
5.输入
curl http://httpbin.org/ip
,按回车键可查看当前上网的IP地址
6.输入
pkill pptp
,按回车键可以断开PPTP连接
1.登陆服务器
2.输入命令:
yum -y install wget
时会发现无法安装
3.输入命令:
vi /etc/yum.repos.d/CentOS-Base.repo
4.这时我们需要注释掉所有的 mirrorlist,取消所有的 baseurl 注释
5.将 baseurl 中的mirrorlist.centos.org 改为 vault.centos.org
6.输入命令
yum -y install wget
就可以正常安装了