Sep 4, 2024
echo: Prints text to the terminal.touch: Creates new files.ls: Lists files and directories in a directory.man: Displays the manual or help for commands.chmod: Changes file permissions:
777: Read, write, and execute for everyone.444: Read permissions only.cat: Displays the content of files.pwd: Prints the current working directory.mkdir: Creates a new directory.cd: Changes the directory.rm -rf: Deletes files/directories.#!/bin/bash) to specify the script's interpreter.#!/bin/bash
mkdir Abhishek
cd Abhishek
touch first_file second_file
:wq in vi or vim editor.sh script.sh or ./script.sh to run a shell script.chmod before running the script.trap).