Linux Command - touch
touch
- change file timestamps, or create a file if the file does not exist.
touch
- change file timestamps, or create a file if the file does not exist.
rm
- remove files or directories.
cp
- copy files and folders.
mv
- Move or rename files and directories.
rmdir
- Removes a directory.
mkdir
- Creates a directory. Current user must have write permission in the current directory in order to create a new directory.
grep
command, which stands for “global regular expression print,” processes text line by line
and prints any lines which match a specified pattern.
To print only the matched part, use -o
option
pwd
- Print full name of current/working directory.
cd
- Change the shell working directory.
ls
- one of the most common commands in Linux. This command lists directory contents. It can also list permissions, owner, size etc. It sorts the file alphabetically by default.
Linux makes sure only proper people can have access to the proper files.
/Linux-Command-File-Permission/
Linux files have a lot of properties
There are different file types in Linux file system.
The Filesystem Hierarchy Standard (FHS) defines the directory structure and directory contents in Linux distributions.
This series is for understanding Linux and its commands.