Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

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.

Comment

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
Comment

cat command

$cat filename
# will output file content to stdout
Comment

what is the use of 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 is short for concatenate. This command displays the contents of one or more files without having to open the file for editing.
Comment

PREVIOUS NEXT
Code Example
Shell :: revert file to master version git 
Shell :: cisco encryption command 
Shell :: how to merge child branch to master branch in git 
Shell :: how to remove git config property 
Shell :: ubuntu increase volume 
Shell :: k8s dashboartd 
Shell :: installl dukto 
Shell :: stash a single file 
Shell :: bash float operations 
Shell :: search for process in top 
Shell :: uninstall couchbase 
Shell :: linux bash assign variable 
Shell :: adb default location 
Shell :: start bungeecord server 
Shell :: debian grub set default kernel 
Shell :: push a new local repository to github. 
Shell :: check program installed c# 
Shell :: openvpn client docker 
Shell :: git view entire log 
Shell :: clone private repo github ssh 
Shell :: setting Flask app variable 
Shell :: linux password expires date 
Shell :: mendeley on ubuntu 
Shell :: hadoop delete directory without url 
Shell :: install pup command mac 
Shell :: screen recorder mint 
Shell :: Docker show currently running containers 
Shell :: Make a backup of the database with SSH 
Shell :: how to install helm 
Shell :: xargs 
ADD CONTENT
Topic
Content
Source link
Name
2+5 =