Java Scrap Book  

Java Scrap Book > Ubuntu > Ubuntu Command

Ubuntu Basic Command

Command Action
ls Get list of file and directory
ls -l Get formatted list of all file and directory
ls -t time wise listing of all file and directory
ls *.txt All file with .txt extension
ls -a List including hidden file and directories
ls -atl time wise listing of all file and directory including hidden file
man ls All available option for ls command

Copy file

cp : Copy Files (The cp command will make a copy of a file for you.)
# cp r_test.txt r1_test.txt


Copyright © 2013-2017

javascrapbook.com is a computer science content service should not be treated as the publisher or speaker of any information provided by another Computer Science content provider.

Contact email: help@javascrapbook.com