John works as a Network Administrator for Perfect Solutions Inc. The company has a Linux-based network. John is working as a root user on the Linux operating system. He has a data.txt file in which each column is separated by the TAB character. Now, he wants to use this file as input for a data mining software he has created. The problem preventing him from accomplishing his task is that with his data mining software, he has used TAB as a delimiter to distinguish between columns. Hence, he is unable to use this file as input for the software. However, if he somehow replaces the TAB characters of the file with SPACE characters, he can use this file as an input file for his data mining software.
Which of the following commands will John use to replace the TAB characters of the file with SPACE characters?
A. expand -t 1 data.txt > data.txt
B. cat data.txt
C. chmod 755 data.txt
D. touch data.txt
John works as a Network Administrator for Perfect Solutions Inc. The company has a Linux-based network. John is working
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
John works as a Network Administrator for Perfect Solutions Inc. The company has a Linux-based network. John is working
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!