Cat command in Linux with examples
#view a file with linux command.
$cat index.js
#view multiple files together
$cat index.js README.js ../app.js
Cat command in Linux with examples
#view a file with linux command.
$cat index.js
#view multiple files together
$cat index.js README.js ../app.js
cat command in linux
cat command allows us to
create single or multiple files,view contain of file, concatenate files and redirect output in terminal or files.
cat meaning linux
$ cat file.txt #cat shows contents of file
This is the content of file.txt
cat in bash shell
cat allows for you to write multiple lines of code without having to physically enter the file. You can use the command cat > filenmae - this works for windows' git bash
cat file commaand explaind
cat [OPTION] [FILE]...
cat command
# cat command be used to show, create and redirect the contents of file
# create file called test.txt and ask for input
cat >test.txt
# show command
cat text.txt
# Combinint multiple files into single files
cat text text2 text3 > text3
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us