Posts Tagged With: cat

Trasfer over the network

Tagged with: , , , , ,

Transfer stdin and stdout to and from machines over the network


ssh remote_machine 'cat - > file' < file
No Comments »

Find Current DNS Server

Tagged with: , , , , , , ,

The DNS servers are in the /etc/resolv.conf file – cat it to find what they are. You can edit to too – just edit the file…


cat /etc/resolv.conf
No Comments »

Reverse a File

Tagged with: , , , , , ,

This commands reverses a file in linux – the last line will be the first…


tac file.txt

tac = reverse of cat

No Comments »

Concatinate Files in Linux

Tagged with: , , , ,

This is how you concatinate multiple files in linux…


cat file1 file2 file3 > final_file
No Comments »