GlacieReiN

Sunday, 13 December 2015

Command Prompt:
  1. Directory
    • Print working directory (echo %cd%)
    • Change directory (cd)
    • List directory (dir)
    • Make directory (mkdir)
    • Remove directory (rmdir)
  2. File
    • Run (start <file>)
    • Create file (type nul > <file>)
    • View (more)
    • Write to file (echo)
    • Copy file(s) (copy)
    • Move file(s) (move)
    • Remove file(s) (del)
    • Wild Card (*)
  3. Others
    • Disk Part (diskpart)
    • Host Name (hostname)
    • IP Configuration (ipconfig)
    • Copy (left-click, drag across, then Enter) and paste (right-click)
    • Scripting (.cmd file)
Examples:
C:\Users\Jiayee > D:
D:\ > C:
C:\Users\Jiayee >

C:\Users\Jiayee > echo A
A
C:\Users\Jiayee > echo "A"
"A"
C:\Users\Jiayee > echo A > myFile.txt
C:\Users\Jiayee > echo A >> myFile.txt
C:\Users\Jiayee > echo A > myFile.txt

C:\Users\Jiayee > move Helloworld.java Temp.java
C:\Users\Jiayee > move Temp.java HelloWorld.java

C:\Users\Jiayee > python MyProgram.py < input.txt
<OUTPUT>
C:\Users\Jiayee > python MyProgram.py < input.txt > output_2.txt

C:\Users\Jiayee > python MyProgram.py < input.txt | more

The directory is not empty.




Git:
  1. Create a new remote repository online, fork from existing repositories.
  2. Set up the aforementioned repository locally (clone, pull).
  3. Create changes in the local repository (write).
  4. Save or undo changes in the local repository (add, commit).
  5. Update the remote repository with the local repository (push).
  6. Refer to "Syllabus"

Labels: , , ,



GlacieReiN

2015/10/10

About Blog

Anything geeky or nerdy shall be here!

About Me

Currently at a loss for words

My LinkedIn

Programming Languages

(in descending order)
  1. Python
  2. Ruby
  3. Java
  4. JavaScript
  5. C#
  6. Everything Else

Web Development

(in arbitrary order)
  1. HTML
  2. CSS
  3. jQuery
  4. Bootstrap, Materialize
  5. Hugo
  6. Flask
  7. Ruby on Rails

Others

  1. Elasticsearch
  2. MongoDB
  3. Chef
  4. Ansible

The Hacks

2015

    January to June

  • DSO: Defusing the Binary Bomb
  • DSO: Dynamic Malware Analysis
  • NUS AY15/16 Semester 1

  • CS1101S Programming Methodology
  • CS1231 Discrete Structures
  • MA1101R Linear Algebra I
  • MA1521 Calculus for Computing
  • December

  • GitHub
  • NUSComputing.com
  • NUSBiZiT.org
2016


Contact Me



Affiliates

GlacieRaiN
ZongLong
BiZiT Society
NUS Wind Symphony

Organisations

NUS Computing Club
NUS Hackers


Archives

October 2015
November 2015
December 2015
January 2016
February 2016
March 2016
April 2016
May 2016
June 2016
July 2017


Advertisement



Credits