Question: Are there anymore comments that can be used with bash terminal? can you show me please? I'm trying to teach myself. basic bash commands are:
Are there anymore comments that can be used with bash terminal? can you show me please? I'm trying to teach myself.
basic bash commands are:
(1) ls List directory contents
The ls command allows you to quickly view all files within the specified directory.
Syntax: ls [option(s)] [file(s)]
(2) echo Prints text to the terminal window
echo prints text to the terminal window.
Syntax: echo [option(s)] [string(s)]
(3) touch Creates a file
touch is used to create new files..
Syntax: touch [option(s)] file_name(s)
(4) mkdir Create a directory
mkdir is a command used to create directories.
Syntax: mkdir [option(s)] directory_name(s)
(5) grep search
grep is used to search text for patterns specified by the user.
Syntax: grep [option(s)] pattern [file(s)]
(6) man Print manual or get help for a command
The man command is your manual and helps you to figure out what a command does.
Syntax: man [option(s)] keyword(s)
(7) pwd Print working directory
pwd is used to print the current directory youre in.
Syntax: pwd [option(s)]
(8) cd Change directory
cd will change the directory youre in so that you can get info, manipulate, read, etc.
Syntax: cd [option(s)] directory
(9) mv Move or rename directory
mv is used to move or rename directories.
Syntax: mv [option(s)] argument(s)
(10) rmdir Remove directory
rmdir will remove empty directories.
Syntax: rmdir [option(s)] directory_names
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
