0% found this document useful (0 votes)
57 views

Simpla Linux Commands II

The document summarizes common Linux commands including cd, clear, cp, ls, mv, mkdir, rm, and touch. Cd changes the current working directory. Clear clears the terminal screen. Cp copies files and directories. Ls lists directory contents. Mv renames or moves files. Mkdir creates new directories. Rm removes files or directories. Touch updates the access and modification times of files.

Uploaded by

cisco2389
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
57 views

Simpla Linux Commands II

The document summarizes common Linux commands including cd, clear, cp, ls, mv, mkdir, rm, and touch. Cd changes the current working directory. Clear clears the terminal screen. Cp copies files and directories. Ls lists directory contents. Mv renames or moves files. Mkdir creates new directories. Rm removes files or directories. Touch updates the access and modification times of files.

Uploaded by

cisco2389
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Simpla Linux Commands II

Commands cd What does it stand for?


Change the shell working directory.

When do you use it?


Change the shell working directory. Change the current directory to DIR. The default DIR is the value of the HOME shell variable.

clear

clear the terminal screen

clears your screen if this is possible. It looks in the environment for the terminal type and then in the terminfo database to figure out how to clear the screen.

cp

copy files and directories Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY.Mandatory arguments to long options are mandatory for short options too.

ls

list directory contents

List information about the FILEs (the current directory by default). Sort entries alphabetically if none of -cftuSUX nor --sort. Rename SOURCE to DEST, or move SOURCE(s) to DIRECTORY. Mandatory arguments to long options are mandatory for short options too.

mv

move (rename) files

mkdir rm

make directories

Create the DIRECTORY(ies), if they do not already exist. This manual page documents de GNU version of rm. Rm remove each specified file. By default, it does not remove directories.

Remove files of directories

rm-r touch
change file timestamps Update the access and modification times of each FILE to the current time.

You might also like