Day2-Bran/First meet to linux

2023-11-28 21:38:03 浏览数 (1)

why i need to use linux?

because bioapps are based on linux.It is a syetem which is free and open to the world and does not contain pictures which will waste resources.And the Command Line code , meeting the need of analysing ,could handle many documents efficiently at the same time. when the dates are high to tens or hunreds G, the windows cannot meet your need,but linux could.


how to log in

1.download and install xshell

2.log in

reprinted from 简书/作者:小洁忘了怎么分身

reprinted from 简书/作者:小洁忘了怎么分身

Tip1:

  • IP address is a mark of the servicer. If it is mistaken,you cannot log in.
  • when u input the password,there is not tip.just write it wholy, that will be fine.

Tip2 :

  • 目录=文件夹
  • 路径=目录的层级位置

Some codes' meanings

pwd: print working directory 显示当前的路径

mkdir

make directory 创建目录

mkdir blank # #后面可加解释性文字

ls

显示列表

rm:删除

rm : delete documents

rmdir :delete blank directory

rm -f :delete not blank directory

cd

cd name of directory:ernter that D

cd -: come back to the last D

cd :主目录

vi

create Script or Word file

reprinted from :微信公众号生信星球

cat 文件名,查看文件内容

head name of file:look the 1-10 lines of the file

tail name of file:look倒数10行

head blank -nx name of file:look 1-xth lines of the file

cp

cp file1 file2:copy the file1 and use it to create a new file which is named file2

mv

mv blank file blank D:move file to D

mv file1 file2:rename the file1 to the file2

mv file ~:move the file to the homeD


outline

0 人点赞