码迷,mamicode.com
首页 >  
搜索关键字:linux基本命令—— cat more w who pwd    ( 37061个结果
JQuery之初探
软考过后又进入了紧张的B/S学习阶段,由于自己的进度比较慢,所以更要加进学习。现在就来总结下JQuery的一些基础知识: JQuery定义         jQuery是一套跨浏览器的JavaScript库,简化HTML与JavaScript之间的操作。其宗旨是——WRITE LESS,DO MORE,写更少的代码,做更多的事情。 JQuery特点         1、以强大的CSS...
分类:Web程序   时间:2014-06-11 00:39:35    阅读次数:350
Linux对比文件夹内容的命令 Diff解释
dir1下有个log_1.log dir2下有个log_2.log 两个文件如下: p_ylwu@VM_194_111_sles10_64:/home/jdxochen/exercise> cat -v dir1/log_1.log  1 3 5 7 9 0 p_ylwu@VM_194_111_sles10_64:/home/jdxochen/exercise> cat -v di...
分类:系统相关   时间:2014-06-10 11:04:29    阅读次数:265
查看linux上所有用户
1、查看所有用户名 cat /etc/passwd |cut -f 1 -d #是1不是L的小写2、显示用户信息whoami 查看当前登录用户名。id username 查看用户的uid,gid和组名。groups username 查看用户username所在的组及组内成员。groups 查看当....
分类:系统相关   时间:2014-06-10 10:04:05    阅读次数:280
Linux 获取登录者IP
在linux中有时需要获得登录者的IP,这里有两种方法,先使用who am i 获取登录IP,然后截取字符串: 1、awk截取,sed替换 who am i | awk '{print $5}' | sed 's/(//g' | sed 's/)//g' 2、cut 截取 who am i|cut -d\( -f2|cut -d\) -f1 使用方法,若在脚本中如.bashrc中,可...
分类:系统相关   时间:2014-06-10 07:49:49    阅读次数:320
MongoDB for Java入门
IntroductionThis page is a brief overview of working with the MongoDB Java Driver.For more information about the Java API, please refer to theonline A...
分类:数据库   时间:2014-06-10 00:56:32    阅读次数:931
jquery——rite less,do more
rite less, do more.这句话想必是很多语言都提倡的。在此举三个jquery的应用体现一.绑定多个事件类型 $("div").bind("mouseover mouseout", function () { $(this).toggleClass("over"); ...
分类:Web程序   时间:2014-06-09 20:47:18    阅读次数:261
PHP面向对象之抽象
喝水不忘挖井人"; } public function voice(){ echo "我的叫声是 汪汪汪~~~~"; } public function showColor(){ echo "我是一条黑色的狗"; }}class Cat_bobo implements Animal{ publi.....
分类:Web程序   时间:2014-06-09 19:50:17    阅读次数:202
[转]Running KVM and Openvswitch on Ubuntu 12.10
Running KVM and Openvswitch on Ubuntu 12.10 I’ve got an aging VMWare ESXi 4.0 server that needs to be replaced with something a little more modern and...
分类:其他好文   时间:2014-06-09 18:07:21    阅读次数:324
Wargame narnia level 4 (中文攻略)
ssh narnia4@narnia.labs.overthewire.org 然后输入密码:XXOO cat narnia4.c #include #include #include #include extern char **environ;int main(int argc,char **a...
分类:其他好文   时间:2014-06-09 16:50:12    阅读次数:370
poj 1469 COURSES
DescriptionConsider a group of N students and P courses. Each student visits zero, one or more than one courses. Your task is to determine whether it ...
分类:其他好文   时间:2014-06-09 15:36:50    阅读次数:239
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!