码迷,mamicode.com
首页 > 编程语言 > 详细

Java应用基础微专业-工程篇

时间:2017-07-04 00:06:05      阅读:241      评论:0      收藏:0      [点我收藏+]

标签:force   控制   detail   3.2   cut   files   tor   ram   paste   

第1章-命令行

1.1 命令行基础

ls -a: list all files (including hidden files)

.DS_Store: files detailed information in the directory

cd: back to home directory ( or cd ~)

cd -: back to the previous directory

~ : the home directory

cd ~username: going to the home directory of the user named username

.. : the upper directory

. : the current directory

(eg: ./excutableProgram) -- why? for security reason: 

what if someone has a virus program named ls in a directory? You are gonna run it when u want to "list".

You are gonna run it when u want to "list".

--> ./ls will be more secure.

mv file1 file2/ mv dir1 dir2: rename -- actually: move file1/dir1 to file2/dir2

when using rm to delete a file, the file is legit gone.

rmdir a non-empty directory, it will say "Directory not empty"

solution: rm -rf dir : r: recursive f: forced -- delete the whole directory including the files & dirs in it

cp sourceFile destinationDirectory: copy and paste sourceFile to destinationDirectory

mv file existDestinationDirectory: cut and paste file to existDestinationDirectory

 

 

 

1.2 命令行操作和配置

1.3 和网络有关的操作

第2章-Git

2.1 版本控制简介

2.2 分支模型

2.3 Git

第3章-Maven

3.1 Maven实战

3.2 Maven核心概念

Java应用基础微专业-工程篇

标签:force   控制   detail   3.2   cut   files   tor   ram   paste   

原文地址:http://www.cnblogs.com/FudgeBear/p/7113358.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!