摘要: ls :查看当前目录中的文件 ls -l:查看文件中的所有文件及信息 ls -a:查看文件中的所有文件及隐藏文件 mkdir:创建一个文件夹 touch:创建一个空文件 cd ./xxx:进入xxx目录 cd /:回到根目录 cd .:进入下一级目录 cd ..:返回上一级目录 chmod:更改文件 阅读全文
posted @ 2019-06-29 00:10 Anonym_白熊 阅读(233) 评论(0) 推荐(0) 编辑
摘要: 一、文件处理命令:1.ls:列表list参数:ls -l:当前目录下的文件ls -a:隐藏的全部文件:第一个 . 是当前,第二个 .. 表示上一个(...)表示省略的内容ls -d:目录属性ls -t:按照当前时间顺序列出文件ls -i:输出inode编号ls -R:当前目录递归下的文件和文件夹2. 阅读全文
posted @ 2019-06-29 00:09 Anonym_白熊 阅读(208) 评论(0) 推荐(0) 编辑
摘要: Linux系统中的目录结构以树形结构呈现 root:超级管理员的家目录 bin:存放普通用户执行命令 boot:存放系统引导装载程序 dev:存放磁盘挂载存储 etc:存放Linux操作系统的服务还有系统的配置文件 home:存放普通用户的家目录 var:存放系统的日志文件,网站的根目录 lib:存 阅读全文
posted @ 2019-06-29 00:04 Anonym_白熊 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 1 package xiancheng_3v; 2 3 import java.awt.Container; 4 5 import javax.swing.*; 6 public class Swing_and_Thread extends JFrame implements Runnable{ 7 JLabel jl = new JLabel();//声明JLabel... 阅读全文
posted @ 2019-06-13 10:02 Anonym_白熊 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 1 /*Random类应用与Math类应用,创建一个类, 2 * 1)分别用Random类和Math.random()方法生成随机数。 3 * 2) 把Math.random()方法生成的随机数,转换成1-100的整数 4 * 5 */ 6 public class Test { 7 8 public static void main(String[]... 阅读全文
posted @ 2019-06-06 09:42 Anonym_白熊 阅读(194) 评论(0) 推荐(0) 编辑
摘要: 1 import java.beans.FeatureDescriptor; 2 import java.io.*; 3 import java.util.Scanner; 4 5 6 public class num_3v { 7 public static void main(String[] args) throws IOException { 8 ... 阅读全文
posted @ 2019-05-31 11:54 Anonym_白熊 阅读(121) 评论(0) 推荐(0) 编辑
摘要: 1 import java.io.*; 2 3 4 public class num_1v { 5 public static void main(String[] args) throws IOException { 6 File file = new File("e:\\test.txt"); 7 FileWriter fw = ne... 阅读全文
posted @ 2019-05-31 11:51 Anonym_白熊 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 1 package first_program; 2 3 import java.io.File; 4 import java.io.IOException; 5 6 public class num_1v { 7 public static void main(String[] args) { 8 File file = new Fi... 阅读全文
posted @ 2019-05-30 10:01 Anonym_白熊 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 1 import java.awt.*; 2 import java.awt.event.*; 3 import javax.swing.*; 4 5 public class Login extends JFrame implements ActionListener { 6 JTextField jf_name; 7 JPasswordField jf_pas... 阅读全文
posted @ 2019-05-24 11:24 Anonym_白熊 阅读(229) 评论(0) 推荐(0) 编辑
摘要: 1 #ifndef LIQUEUE_H_INCLUDED 2 #define LIQUEUE_H_INCLUDEF 3 #include 4 #endif 5 #include "head.h" 6 #include 7 #include 8 #define N 100 9 typedef int ElemType; 10 typedef struct qn... 阅读全文
posted @ 2019-05-24 10:00 Anonym_白熊 阅读(1191) 评论(0) 推荐(0) 编辑