You can manipulate your file easily and quickly by using these commands in UNIX.
File navigating commands..
cat
Concatenate: displays a file.
cd
Change directory: moves you to the directory identified.
cp
Copy: copies one file/directory to specified location.
file
Identifies the file type (binary, text, etc).
find
Finds a file/directory.
head
Shows the beginning of a file.
less
Browses through a file from end or beginning.
ls
List: shows the contents of the directory specified.
mkdir
Make directory: creates the specified directory.
more
Browses through a file from beginning to end.
mv
Move: moves the location of or renames a file/directory.
pwd
Print working directory: shows the current directory the user is in.
rm
Remove: removes a file.
rmdir
Remove directory: removes a directory.
tail
Shows the end of a file.
touch
Creates a blank file or modifies an existing file’s attributes.
whereis
Shows the location of a file.
which
Shows the location of a file if it is in your PATH
Related Posts