1、文件目录操作 pwd:显示当前目录 cd:目录跳转
ls:-a—全部;-l—列举目录;-F--文件类型;-r--逆向(从后向前);-R--递归;-S--大小 locate:查找文件或目录 clear:清除终端窗口
cat:显示文件内容 head:查看文件开头部分 ...
分类:
系统相关 时间:
2014-07-22 23:14:53
阅读次数:
708
由于没有上过Linux编程这门课,所以Linux学得很水啊!!用来用去都是ls -al ;
cd ..
;这些渣命令,尤其gcc都不知道什么东西来的,所以先学一下吧。一.程序的编译过程对于GUN编译器来说,程序的编译要经历预处理、编译、汇编、连接四个阶段,如下图所示:在
预处理阶段,输入的是C语言....
分类:
其他好文 时间:
2014-07-22 23:11:35
阅读次数:
323
Given a binary tree, determine if it is
height-balanced.For this problem, a height-balanced binary tree is defined as a
binary tree in which the depth...
分类:
其他好文 时间:
2014-05-01 14:38:39
阅读次数:
454
XmlDataSource BasicsThe XmlDataSource control
exists merely as a proxy for retrieving XML data, which can then be
programmatically accessed or bound t...
分类:
数据库 时间:
2014-04-30 19:04:56
阅读次数:
727
在软件运行过程中,可能需要配置计算机的环境变量,在这里分为两种情况:一:增加或修改环境变量只在当前软件环境中使用如我们设置Java的环境变量:setCLASSPATH=%CLASSPATH%;C:\LS\JAVA.JAR保持原有的不变自己加上要加的jar包,用分号隔开,当然你也可以写到前面,如:se...
分类:
其他好文 时间:
2014-04-30 15:06:59
阅读次数:
383
1. cd命令格式:cd
[dirName](cd和目录之间使用空格隔开)作用:切换当前目录至dirName。实例:cd /home 切换当前目录到/home
(查看当前目录命令为pwd)cd .. 返回上一级目录cd ../.. 返回上两级目录cd ~ 进入个人的主目录2. ls命令格式:ls [...
分类:
系统相关 时间:
2014-04-29 18:41:53
阅读次数:
821
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters for "abcabcbb" is "abc", which the length is 3....
分类:
其他好文 时间:
2014-04-29 13:47:20
阅读次数:
251
一、linux 命令 0.man:查询使用手册1.pwd:Print the full
filename of the current working directory. 打印当前工作目录(文件夹)2.ls:List information
about the FILEs (the current...
分类:
编程语言 时间:
2014-04-29 11:31:46
阅读次数:
489
Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its path.
Note: You can only move either down or right at...
分类:
其他好文 时间:
2014-04-28 10:46:41
阅读次数:
311
首先打开终端(在搜索里面搜索Te即可出来)
然后输入 cd /Library/Java/Home/bin/然后这步很关键,由于我们用的是当前用户,所以没有最高权限,不能在Library文件夹下生成任何文件,所以照抄网上的方法是无法创建成功的,复制粘贴步骤4的内容。keytool -genkey -v -keystore android.keystore -alias android -keya...
分类:
移动开发 时间:
2014-04-27 22:45:18
阅读次数:
486