SlideServe
Menu
Préférences
© SlideServe · v2026

Basic Unix Commands & GCC

primo avatar
4 diapositives · 351 Views · Aug 07, 2014

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

Basic Unix Commands & GCC - slide 1
01 / 4Basic Unix Commands & GCC
1 / 17

Télécharger la présentation

Basic Unix Commands & GCC
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. Basic Unix Commands & GCC Saurav Karmakar Spring 2007

  2. 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

  3. 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.

  4. 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