随笔分类 - Linux
摘要:1. ls 只显示文件名或者文件目录 2. ls -l(这个参数是字母L的小写,不是数字1) 用来查看详细的文件资料 在某个目录下键入ls -l可能会显示如下信息: 文件属性(占10个字符空间) 文件数 拥有者 所属的group 文件大小 建档日期 文件名 drwx 2 Guest users 10
阅读全文
摘要:命令的四种类型type type—Indicate how a command name is interpreted. type命令:展示命令的类型。which which—Display which executable program will be executed. which命令...
阅读全文
摘要:1. What is the Shell? The Shell is a program that takes keyboard commands and passes them to the operating system to carry out.提示符 $被称作shell prompt,...
阅读全文
摘要:有时候linux下的tomcat其他机器无法访问,比如主机无法访问linux虚拟机的tomcat,这是因为tocat的端口,linux没有对外开放,所以只能localhost访问,但是别的机器访问不了;解决方法如下编辑linux的iptables文件:vi /etc/sysconfig/iptabl...
阅读全文

浙公网安备 33010602011771号