Shows the current working directory.
pwdLists files and directories.
lsLists files with detailed information.
ls -lShows hidden files.
ls -aChanges the current directory.
cd folder_nameMoves one directory up.
cd ..Creates a new directory.
mkdir new_folderDeletes an empty directory.
rmdir folder_nameCreates an empty file.
touch file.txtCopies a file.
cp source.txt destination.txtCopies a directory.
cp -r folder1 folder2Moves or renames a file.
mv old.txt new.txtfor rename file
mv old.txt /path/to/destination /for move file
Deletes a file.
rm file.txtDeletes a directory.
rm -r folder_nameSearches for a specific string in files.
grep "specific string" filename.txtgrep -i "specific string" filename.txtCase-insensitive search
Displays the command history.
historyDisplays file contents.
cat file.txtClears the terminal screen.
clearShows the manual of a command.
man lsPrints text to the terminal.
echo "Hello Linux"Changes file permissions.
chmod 755 file.shChanges file ownership.
chown user file.txtDisplays system information.
uname -aShows disk usage.
df -hDisplays memory usage.
free -hShows running processes.
topDisplays running processes.
psStops a process.
kill PIDShows current user.
whoamiShows command history.
historySearches text in files.
grep "text" file.txtSearches for files.
find . -name file.txt