Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
I would like to know difference between below 2 commands cat and fold commands? I just used fold command and it acts like cat command.
cat
fold
fold file1.txt cat fold.txt (both are using to display the contents of the file)
それらのマンページを確認してください
man fold fold - wrap each input line to fit in specified width man cat cat - concatenate files and print on the standard output
明らかにfold幅を指定できますが、そのようなオプションはありませんcat