get the absolute path of a file in linux readlink -f filenme [heshuai@login01 3_Variation_calling]$ readlink -f combined_selected_genelist.vcf /data/home/heshuai/CD_diease/3_Variation_calling/combined_selected_genelist.vcf…
Notes on The Linux Command Line (by W. E. Shotts Jr.) edited by Gopher 感觉博客园是不是搞了什么CSS在里头--在博客园显示效果挺蛋疼的...这本书相当棒,建议一读 File, file systems and commands ls -a(all) -d(directory) -h(human-readable) less (show file content) FHS /bin: Contains binaries (pr…
When you are using Linux command line frequently, using the history effectively can be a major productivity boost. In fact, once you have mastered the 15 examples that I’ve provided here, you’ll find using command line more enjoyable and fun. 1. Disp…
I passionately enjoy working with commands as they offer more control over a Linux system than GUIs(Graphical User Interfaces) applications, therefore am always on the look out to discover or figure out interesting ways and ideas to make Linux so eas…
linux & command line & console & logs how to get the logs form linux command console https://cn.bing.com/search?q=how%20to%20get%20the%20logs%20form%20linux%20command%20console&qs=n&form=QBRE&sp=-1&pq=how%20to%20get%20the%20log…
1.最近使用SVN工具时,Checkout出项目到本地后后,然后将其导入到Intellij idea中开发,在提交svn代码的时候,出现这样的错误:Can't use Subversion command line client: svn     Probably the path to Subversion executable is wrong. Fix it.百度了一个上午,终于找到解决方法.在此感谢火龙战士的博主https://my.oschina.net/zhengweishan/bl…
Linux用户以及权限相关命令 查看身份 id:Display user identity. 这个命令的输出会显示uid,gid和用户所属的组. uid即user ID,这是账户创建时被赋予的. gid是primary group ID,是主要的组的id.当然这个用户也可以属于其他更多的组. 用户账户信息被定义在 /etc/passwd文件中,组信息被定义在/etc/group文件中. chmod 命令名称:chmod 命令英文原意:change the permissions mode of…
<The Linux Command Line> 读书笔记02 关于命令的命令 命令的四种类型 type type—Indicate how a command name is interpreted. type命令:展示命令的类型. which which—Display which executable program will be executed. which命令:展示可执行命令的位置. 因为可执行命令有可能会有多个版本,所以有必要根据位置来判断究竟是哪个. which仅对可执行程序…
<The Linux Command Line> 读书笔记01 基本命令介绍 1. What is the Shell? The Shell is a program that takes keyboard commands and passes them to the operating system to carry out. 提示符 $被称作shell prompt,它表明shell准备好接收输入. 通常是包含了你的用户名和机器名(username@machinename),之后是当前的…
Most of this note comes from the Beginning the Linux Command Line, Second Edition by Sander van Vugt The only reason why many administrators are using a graphical interface on Linux, is because it allows them to run many terminal windows simultaneous…
Linux Command Line 解析 0 处理模型 Linux kernel的启动包括很多组件的初始化和相关配置,这些配置参数一般是通过command line进行配置的.在进行后续分析之前,先来理解一下command line的处理模型: 要处理的对象是一个字符串,其中包含了各种配置信息,通常各个配置之间通过空格进行分离,每个配置的表达形式是如:param=value1,value2 或者很简单就是一个rw. 那么kernel就需要提供对这些参数进行处理的处理函数列表.根据参数的作用以及…
http://book.haoduoshipin.com/tlcl/book/zh/ 本书是 The Linux Command Line 的中文版, 为大家提供了多种不同的阅读方式. 中英文双语版-html 中英文双语版-PDF-2015-01-16 中文版-html 中文版-PDF-2015-01-16 中文版-EPUB 欢迎大家参与本书的翻译: github 本书的翻译由happypeter发起,Billie主力翻译,并社区协同努力 (Github Contributors)…
Prerequisite: Linux Command Line(I): Beginner ================================ File I/O $ cat > a.txt #create a file 'a.txt' and appends things into it Type random stuff... # press Ctrl+d to exit editting $ cat a.txt Type random stuff... $ cat > a.t…
https://tecadmin.net/ways-to-send-email-from-linux-command-line/ We all know the importance of emails these days for information transfer. There are many free emails service providers which we used for use like Gmail, Yahoo, RediffMail etc, which pro…
附上链接:http://billie66.github.io/TLCL/book/chap01.html Content: part1-Introduction part2-Learning The shell starts our exploration of the basic language of the command line including such things as the structure of commands,file system navigation, comm…
Yunduan CUI graphical user interfaces make easy tasks easy, while command line interfaces make difficult tasks possible Part 1 学习Shell 1. 什么是 Shell? Shell 是用户与操作系统交流的程序,它读取用户的键盘输入并交由操作系统执行相应的命令.所有linux都支持一个叫做 bash 的shell,它的全称是 "Bourne Again SHell&quo…
https://www.codecademy.com/en/courses/learn-the-command-line Background The command line is a text interface for your computer. It's a program that takes in commands, which it passes on to the computer's operating system to run. From the command line…
by Umer Zeeshan Ijaz The purpose of this tutorial is to introduce students to the frequently used tools for NGS analysis as well as giving experience in writing one-liners. Copy the required files to your current directory, change directory (cd) to t…
Before you do this, you should be in a GOME or KDE environment, then type the following commands to check whether you've stalled the app: $ type evince then just view the PDF file by typing this: $ evince filename.pdf But you'd better add a "&&qu…
1 learn some more commands: (1) ls-List directory contents (2) file -Determine file type (3) less-View file contents 2 ls (1)Type ls to see a list of files and subdirectories contained in the current working directory. (2)Besides the current working…
1 introduce the following commands pwd - Print name of current working directory cd-Change directory ls-List directory contents 2 understand the file system tree Unix-like systems such as Linux always have a single file system tree, regardless of how…
1. 如果要删除目录, rmdir or rm -d 或许可以删除空目录,但是只有 rm -R 可以把目录以及其内容连带删除! 2. 查看文件大小: ls -l --block-size=G 还可以换成MB #or ls -lh 3. mac中使用sudo user: sudo -s 然后输入你的用户密码(不是master code)即可! 4. 截取部分文件 截取行: file.txt > top_100_row.txt 同理可用tail截取 还可使用grep进行行的选择 截取列: -d','…
考試月終於暫告一段落,終於有時間回歸Linux 的懷抱.不知怎的,在VMware Workstation 12 上登入Ubuntu後總是blue screen,明明昨天用terminal 也沒有事啊真令人摸不著頭腦@@ 算吧,反正有kali linux 用著吧.早晚VMware 會被換掉的. 哈哈,但是荒廢太久的關係,連賬號密碼也給忘了.被迫爬文:http://www.technig.com/reset-lost-password-of-kali-linux/ 昨天剛開始,試了一下command…
ls命令与长格式输出解释 文件权限 ls命令 ls 命令用于列出目录内容,不带参数时列出当前工作目录的内容,也可以指定目标目录(可以指定多个),列出目标目录下的内容. ls命令的参数 ls -l 长格式输出 ls命令加上-l参数,输出将是长格式的. 比如: -rw-r--r-- 1 root root 47584 2012-04-03 11:05 logo-Edubuntu.png 解释一下是什么意思: 首先,第一个字母说明文件类型,小横线-表示是二进制文件,d表示是目录,也即文件夹,l表示是软…
● type – Indicate how a command name is interpreted● which – Display which executable program will be executed● help – Get help for shell builtins● man – Display a command's manual page● apropos – Display a list of appropriate commands● info – Displa…
Wildcards Wildcard Meaning * Matches any characters ? Matches any single character [characters] Matches any character that is a member of the set characters [!characters] Matches any character that is not a member of the set characters [[:class:]] Ma…
shell - a program that takes keyboard commands and passes them to the operating system to carry out bash - an acronym for 'Bourne Again SHell,is an enhanced replacement for sh, the original Unix shell program written by Steve Bourne. 3 Terminal -use…
心得 在用鼠标点击的图形化桌面之前,单纯用键盘操作软件的时代已经很成熟了.并且还在这样延续下去.鼠标不是电脑操作的唯一模式,至少不是程序员的. 在黑色屏幕下,因为没有鼠标所以只能用按键来操作软件.包括复制.粘贴.光标移动.内容查找和替换等.用键盘操作的高效性在那个时候是没有办法的办法.形成了这种手不离键盘就能操作电脑的习惯之后,即使现在有了鼠标,相比起来鼠标的效率确实要低发发呆 Cutting and Pasting Shell Script 双引号:双引号的整体是一个字符串,但是字符内容又支持…
https://stackoverflow.com/questions/5891342/modify-conf-file-with-shell-script http://www.grymoire.com/Unix/Sed.html https://www.amazon.com/Practical-Guide-Commands-Editors-Programming/dp/0134774604/ref=sr_1_4?ie=UTF8&qid=1522319499&sr=8-4&key…
Chapter 4 More bash shell Commands 1. ps ps -ef 2. top 3. kill 3940 kill -s HUP 3940 killall http* 4. df df -h 5. du du -h 6. sort sort -n sort -r sort -t ":" -k 3 -n 7. grep grep three file1 grep -v grep -n grep -c 8. tar tar -cvf test.tar test…