File Management
|
Command |
Use |
|
cat |
Concatenate files or display them. |
|
cd |
Change directory. |
|
chmod |
Change access modes on files. |
|
cp |
Copy files. |
|
csplit |
Break files at specific locations. |
|
file |
Determine a file’s type. |
|
head |
Show the first few lines of a file. |
|
ln |
Create filename aliases. |
|
ls |
List files or directories. |
|
mkdir |
Create a directory. |
|
more |
Display files by screenful. |
|
mv |
Move or rename files or directories. |
|
pwd |
Print working directory. |
|
rcp |
Copy files to remote system. |
|
rm |
Remove files. |
|
rmdir |
Remove directories. |
|
split |
Split files evenly. |
|
tail |
Show the last few lines of a file. |
|
wc |
Count lines, words, and characters. |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access