Tech Journal Week 8 - ArtTHEbard/SYS255FA19-Notes GitHub Wiki

File Transfer

  • In this weeks lab, I explored multiple methods of executing file transfer.
  • I first used the scp command on Windows and Linux to transfer files between the two.
    • Syntax: scp .\FILE Sam-adm@dhcp02-samjohnson:
  • This command was also used to transfer files between the firewall and a Linux Box, using the same syntax
  • I then set up a basic HTTP server using the command (sudo firewall-cmd --add-port 8009/tcp --permanent, sudo firewall-cmd --reload, python -m SimpleHTTPServer 8009) on the dhcp box.
  • I was able to connect through a Windows browser and browse the Linux files.
  • I was able to Access AD02's files by typing \ad02-samjohnson\C$ into wk02 file explorer.
  • I used the curl command to pull down webpages to the CLI
  • I used the Copy-Item and Get-Content commands on Windows to send and remotely view items between Windows and Linux.

Git Commands