basic unix commands gcc n.
Download
Skip this Video
Download Presentation
Basic Unix Commands & GCC

Loading in 2 Seconds...

play fullscreen
1 / 4

Basic Unix Commands & GCC - PowerPoint PPT Presentation


  • 112 Views
  • Uploaded on

Basic Unix Commands & GCC. Saurav Karmakar Spring 2007. Basic Unix Commands. man - format and display the on-line manual pages viz. Command : $man ls ls - list directory contents Command : $ls pwd - print name of current/working directory Command : $pwd mkdir - create a directory

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'Basic Unix Commands & GCC' - primo


Download Now An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
basic unix commands gcc

Basic Unix Commands & GCC

Saurav Karmakar

Spring 2007

basic unix commands
Basic Unix Commands
  • man- format and display the on-line manual pages

viz. Command : $man ls

  • ls - list directory contents

Command : $ls

  • pwd- print name of current/working directory

Command : $pwd

  • mkdir- create a directory

viz. Command : $mkdir d1

  • cd – change directory

viz. Command : $cd d1

basic unix commands1
Basic Unix Commands
  • cd..– Move to the parent directory of the current directory. Command : $cd ..
  • cd~- Move to the user's home directory which is "/home/username". Command : $cd~
  • cp - Copy the files "myfile" to the file "yourfile" in the current working directory.

Command : $cp myfile yourfile

  • logout - Logs the current user off the system.

viz. Command : $logout

  • passwd– change password for an account

viz. Command : $passwd

Logs the current user off the system.

gcc compiler
GCC compiler
  • Compiling C++ program through c++ :

Compiles the c++ program file and creates an output.

Command : $c++ program.cc

Command : $c++ program.cc –o out

  • Executing the output :

Command : $./a.out

Command : $./out