Github - Classroom - and - Linux - Commands
Github - Classroom - and - Linux - Commands
Using
BBM103 Introduction to Programming Lab 1
Fall 2018
Signing Up to GitHub Classroom
Signing Up to GitHub Classroom
Assignment title
Fall 2018
The Shell & Terminal
• The Shell is a program that takes commands from the keyboard and
gives them to the operating system to perform.
• When you open a terminal emulator, by default you are in the home directory of
the logged in user.
10/19/2018
cp
• cp copies files and directories. In its simplest form, it copies a single file:
cp (cont.)
• You can specify the full path to where you want to copy your file:
rm
If you want to delete any file or directory the command is 'rm' (for
files) and 'rm -r' (for directories).
mv
• mv command moves or renames files and directories depending
on how it is used.
mkdir
• If you want to create new directories the command is mkdir.
10/19/2018
cat
cat stands for Concatenate (birleştirmek). It is used to create new file (with or
without content), concatenate files and display the output of files on the standard
output.
zip & unzip
• zip and unzip commands create and extract zip archive files respectively.
• The * character serves as a "wild card" for filename expansion. By itself,
it matches every filename in a given directory.
• Most executable programs intended for command line use provide a
formal piece of documentation called a manual or man page. A
special paging program called man is used to view them.
ssh
• ssh (Secure Shell client) is a program for logging into a remote
machine and for executing commands on a remote machine.
scp
• scp allows files to be copied to, from, or between different hosts. It uses ssh for
data transfer and provides the same authentication and same level of security
as ssh.