linux command line learn - get the absolute path of a file

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

  

  

猜你喜欢

转载自www.cnblogs.com/shuaihe/p/9174348.html