Title | Linux Basic Command on Backtrack 5 R3 |
Permission | rw-r--r-- |
Author | Unknown |
Date and Time | 21:40 |
Category | backtrack| basic| command |
Share |
ls
Used to listing the files in a directory
ls /usr/local/bin
Used to listing the files in a specific directory (/usr/local/bin)
cat filename.txt
Changing the directories
cd /var/tmp
Creating new file
touch filename.txt
Copying file
cp /source/file/dir/filename /target/file/dir/filename
Creating a directory.
mkdir directoryname
Renaming file
mv oldfile.txt newfile.txt
Moving file
mv file.txt target/dir/
Finding the number of lines in a file
wc logfile.txt
Showing your active dir
pwd
Removing file
rm file name
If you want more information about basic command in Backtrack you can read my previous article about Backtrack 5 common command or Basic command for installing package