File navigation and Basic Operations
pwd |
print working directory |
cd <path> |
change driectory to <path> cd ~ |
ls -lrt |
directory file list with details |
touch |
create a file |
mv <path1+filename> <path2> |
move the file in path1 to path2, it can used to rename file |
cp <path1+filename> <path2> |
copy, same as above |
file <filename> |
show the file-type |
ls -lrt <filename> |
details about the file |
stat <filename> |
|
tail -f |
show last rows of the file and keep update (live mnonitoring) |
vi <filname> |
open the file with vi editor |
Comments