Please enable JavaScript.
Coggle requires JavaScript to display documents.
PROGRAMMING TOOLS (EXAMPLE SEQUENCE - Check something in a whole group of…
PROGRAMMING TOOLS
-
COMMAND: cat
Simply displays the raw file-contents on your terminal. Great for text files, garbaged for binaries.
-
-
-
-
-
-
-
COPY CONTENTS TO A FILE
We can redirect standard output of a file into a new file else existing file with ‘>‘ (greater than) symbol.
Careful, existing contents of test1 will be overwritten by contents of test file.
cat test > test1
Appends in existing file with ‘>>‘ (double greater than) symbol. Here, contents of test file will be appended at the end of test1 file.
cat test >> test1
-
CONCATENATE FILES
cat section1.1 section1.2 section1.3 >section1
This command creates a file named section1 that is a copy of section1.1 followed by section1.2 and section1.3.
-
-
COMMANDS: gzip, gunzip
Compression/Uncompression of files