- What basic tools do you need to start programming?
- What command would you use for the following in bash (CLI)?
- Check your current directory
- Change to a directory named ‘bin’ (bin is in your current directory)
- make a new directory called ‘lib’
- create a new file called ‘book.py’
- list all the contents the current directory
1-What basic tools do you need to start programming?
computer, learn the command line interface CLI or text editor(sublime, bracket), programming language, Apache, FTP.
2- What command would you use for the following in bash (CLI)?
*to check my current directory $pwd
*Change to a directory named ‘bin’ (bin is in your current directory) $cd /bin
*make a new directory called ‘lib’ $mkdir lib
*create a new file called ‘book.py’ $touch book.py
*list all the contents the current directory $ ls
$ ls -f
1-What basic tools do you need to start programming?
– computer system
– Install the CLI , and how to use the CLI.
– Install a text editor.
– Learn a programming Language.
__
2- What command would you use for the following in bash (CLI) ?
3- to check my current directory
$ echo $PWD
4- Change to a directory named ‘bin’ (bin is in your current directory)
$cd /bin
5- make a new directory called ‘lib’
$FILE_MKDIR, ‘lib’
6-create a new file called ‘book.py’
py cf book.py files
7- list all the contents the current directory
$ ls -a
1- What is the basic tools do you need to start programming ?
We need :
• Computer system
• Install the CLI and how to use it
• Install a text editor
• Learn a programming language
2- What command would you use for the following in bash “CLI ” ?
-Check your current directory
• To accomplish this task we will use “os module ” in python it has a method called “getcwd”()
import os
dirpath = os.getcwd()
-Change to a directory named ‘bin’ (bin is in your current directory)
• If you want just the directory name then either you can split by “/” or use another function called basename from os.path module.
• foldername = os.path.basename(dirpath)
• print(“Directory name is : “bin” + foldername)
– to make a new directory called ‘lib’
• os.mkdir(lip)
– create a new file called ‘book.py’
• file=open(“c: \\book.py”,’w’ )
then if we want to close the file we will write this code
file.close()
– list all the contents the current directory
• for x in os.listdir(‘.’):
• print x
1-What basic tools do you need to start programming?
-computer , programming language , translators .
-computer system
-install the CLI , and how to use the CLI.
-install a text editor .
-learn a programming
2- What command would you use for the following in bash “CLI ” ?
-Change to a directory named ‘bin’ (bin is in your current directory) $cd /bin
-make a new directory called ‘lib’ $mkdir lib
-create a new file called ‘book.py’ $touch book.py
-list all the contents the current directory $ ls
$ ls -f
3- to check my current directory
– by using the pwd command.
4- Change to a directory named ‘bin’ (bin is in your current directory)
– cd /bin .
5- make a new directory called ‘lib’
-FILE_MKDIR, ‘lib’
1 _What basic tools do you need to start ?
-Computer
-CLI
– programming language
-Text editor
-shell
2 _ What command would you use for the following in bash ( CLI ) ?
-Command line interface
3 _ Check your current directly .
-PWD
4 _ Change to directory named “bin” .
-CD bin
5 _ Make a new directory called “lib” .
– MK Dir lib
6 _ Create a new file called “book,py” .
-touch book.py
7 _ List all the contents the current directory .
-LS
1 _What basic tools do you need to start ?
-Computer
-CLI
– programming language
-Text editor
-shell
2 _ What command would you use for the following in bash ( CLI ) ?
-Command line interface
3 _ Check your current directly .
-PWD
4 _ Change to directory named “bin” .
-CD bin
5 _ Make a new directory called “lib” .
– MK Dir lib
6 _ Create a new file called “book,py” .
-touch book.py
7 _ List all the contents the current directory .
-LS
1 _What basic tools do you need to start ?
-Computer
-CLI
– programming language
-Text editor
-shell
2 _ What command would you use for the following in bash ( CLI ) ?
-Command line interface
3 _ Check your current directly .
-PWD
4 _ Change to directory named “bin” .
-CD bin
5 _ Make a new directory called “lib” .
– MK Dir lib
6 _ Create a new file called “book,py” .
-touch book.py
7 _ List all the contents the current directory .
-LS
1 _What basic tools do you need to start ?
-Computer
-CLI
– programming language
-Text editor
-shell
2 _ What command would you use for the following in bash ( CLI ) ?
-Command line interface
3 _ Check your current directly .
-PWD
4 _ Change to directory named “bin” .
-CD bin
5 _ Make a new directory called “lib” .
– MK Dir lib
6 _ Create a new file called “book,py” .
-touch book.py
7 _ List all the contents the current directory .
-LS
1- What is the basic tools do you need to start programming ?
it depends on The type of programming you intend to learn (Web/Mobile) (design/develope) , the programming language what you are trying to learn but if you want to learn for example how to make an application for Android you will need some tools like android studio and xcode etc…
2- What command would you use for the following in bash “CLI ” ?
*to check my current directory
$ pwd
$echo $path
*Change to a directory named ‘bin’ (bin is in your current directory)
$cd /bin
*make a new directory called ‘lib/
$mkdir lib
*create a new file called ‘book.py’
$touch book.py
*list all the contents the current directory
$Is -a
Including hidden files
1- What is the basic tools do you need to start programming ?
* code editor, a compiler or interpreter,
*any programming language
* Install the CLI and how to use it
* You can develop for Android on OSX, windows or Linux
2-What command would you use for the following in bash (CLI)?
* The echo command
3-Check your current directory?
*To display the location of your current working directory, enter the command pwd
4-Change to a directory named ‘bin’ (bin is in your current directory)
*change directories with the cd command
5-make a new directory called ‘lib’
*You can also create multiple new directories in the current directory by using the md command
6-create a new file called ‘book.py’?
*touch book.py
7-list all the contents the current directory?
$You can use the ls command to list the files in any directory to which you have access.
ls hello
Lists files whose complete name is hello; if hello is a directory, displays the contents of the
-a
Shows all files, including those beginning with . (a period). The dot is special in the Unix file
-F
Marks special files with symbols to indicate what they are: / for directories, @ for symbolic links, * for executable programs
Shows the rights to the file, the owner, the size in bytes, and the time of the last modification made to the file. (The l stands for “long”.)
1- What is the basic tools do you need to start programming ?
* code editor, a compiler or interpreter,
*any programming language
* Install the CLI and how to use it
* You can develop for Android on OSX, windows or Linux
2-What command would you use for the following in bash (CLI)?
* The echo command
3-Check your current directory?
*To display the location of your current working directory, enter the command pwd
4-Change to a directory named ‘bin’ (bin is in your current directory)
*change directories with the cd command
5-make a new directory called ‘lib’
*You can also create multiple new directories in the current directory by using the md command
6-create a new file called ‘book.py’?
*touch book.py
7-list all the contents the current directory?
$You can use the ls command to list the files in any directory to which you have access.
ls hello
Lists files whose complete name is hello; if hello is a directory, displays the contents of the
-a
Shows all files, including those beginning with . (a period). The dot is special in the Unix file
-F
Marks special files with symbols to indicate what they are: / for directories, @ for symbolic links, * for executable programs
-l
Shows the rights to the file, the owner, the size in bytes, and the time of the last modification made to the file. (The l stands for “long”.)
1- What is the basic tools do you need to start programming ?
* code editor, a compiler or interpreter,
*any programming language
* Install the CLI and how to use it
* You can develop for Android on OSX, windows or Linux
2-What command would you use for the following in bash (CLI)?
* The echo command
3-Check your current directory?
*To display the location of your current working directory, enter the command pwd
4-Change to a directory named ‘bin’ (bin is in your current directory)
*change directories with the cd command
5-make a new directory called ‘lib’
*You can also create multiple new directories in the current directory by using the md command
6-create a new file called ‘book.py’?
*touch book.py
7-list all the contents the current directory?
$You can use the ls command to list the files in any directory to which you have access.
ls hello
Lists files whose complete name is hello; if hello is a directory, displays the contents of the
-a
Shows all files, including those beginning with . (a period). The dot is special in the Unix file
-F
Marks special files with symbols to indicate what they are: / for directories, @ for symbolic links, * for executable programs
-l
Shows the rights to the file, the owner, the size in bytes, and the time of the last modification made to the file. (The l stands for “long”.)
1- What is the basic tools do you need to start programming ?
* code editor, a compiler or interpreter,
*any programming language
* Install the CLI and how to use it
* You can develop for Android on OSX, windows or Linux
2-What command would you use for the following in bash (CLI)?
* The echo command
3-Check your current directory?
*To display the location of your current working directory, enter the command pwd
4-Change to a directory named ‘bin’ (bin is in your current directory)
*change directories with the cd command
5-make a new directory called ‘lib’
*You can also create multiple new directories in the current directory by using the md command
6-create a new file called ‘book.py’?
*touch book.py
7-list all the contents the current directory?
$You can use the ls command to list the files in any directory to which you have access.
ls hello
Lists files whose complete name is hello; if hello is a directory, displays the contents of the
-a
Shows all files, including those beginning with . (a period). The dot is special in the Unix file
-F
Marks special files with symbols to indicate what they are: / for directories, @ for symbolic links, * for executable programs
-l
Shows the rights to the file, the owner, the size in bytes, and the time of the last modification made to the file. (The l stands for “long”.)
1-ما الأدوات الأساسية التي تحتاجها لبدء البرمجة؟
-الكمبيوتر ، لغة البرمجة ، الترجمة. –
نظام الكمبيوتر
– تثبيت CLI ، وكيفية استخدام CLI.
تثبيت محرر نص.
– تعلم البرمجة
ما الأمر الذي ستستخدمه في ما يلي في bash (CLI)؟
تحقق من الدليل الحالي الخاص بك
التغيير إلى دليل باسم “bin” (سلة الوارد في الدليل الحالي)
أنشئ دليلًا جديدًا باسم “lib”
إنشاء ملف جديد يسمى “book.py”
سرد جميع محتويات الدليل الحالي
9 ردود على “مسابقة 1”

عبدالرحمن اسامه صالح 30 سبتمبر 2018 الساعة 9:29 صباحًا
1-ما الأدوات الأساسية التي تحتاجها لبدء البرمجة؟
الكمبيوتر ، تعلم واجهة سطر الأوامر CLI أو محرر النص (سامية ، قوس) ، لغة البرمجة ، Apache ، FTP.
2- ما الأمر الذي ستستخدمه في ما يلي في bash (CLI)؟
* للتحقق من الدليل الحالي الخاص بي $ pwd
* تغيير إلى دليل المسمى ‘بن’ (بن في الدليل الحالي الخاص بك) $ cd / bin
* إنشاء دليل جديد يسمى ‘lib’ $ mkdir lib
* أنشئ ملفًا جديدًا باسم “book.py” $ touch book.py
* قائمة جميع محتويات الدليل الحالي $ ls
$ ls -f
الرد

عائشة محمود الجلادي 6 أكتوبر 2018 الساعة 3:16 صباحًا
1-ما الأدوات الأساسية التي تحتاجها لبدء البرمجة؟
– نظام الكمبيوتر
– تثبيت CLI ، وكيفية استخدام CLI.
– قم بتثبيت محرر نص.
– تعلم لغة البرمجة.
__
2- ما الأمر الذي ستستخدمه في ما يلي في bash (CLI)؟
3- للتحقق من الدليل الحالي الخاص بي
$ صدى $ PWD
4- قم بالتبديل إلى الدليل المسمى “bin” (سلة الوارد في دليلك الحالي)
$ cd / bin
5- إنشاء دليل جديد يسمى “lib”
$ FILE_MKDIR ، “lib”
6-إنشاء ملف جديد يسمى “book.py”
py ملفات
7 – قائمة جميع محتويات الدليل الحالي
$ ls -a
الرد

احمد جمال عبد المطلب 12 أكتوبر 2018 الساعة 4:37 مساءً
1- ما هي الأدوات الأساسية التي تحتاجها لبدء البرمجة؟
نحن بحاجة إلى:
• نظام الكمبيوتر
• تثبيت CLI وكيفية استخدامه
• تثبيت محرر نص
• تعلم لغة برمجة
2- ما الأمر الذي ستستخدمه في ما يلي في bash “CLI”؟
-تحقق من الدليل الحالي
• لإنجاز هذه المهمة سوف نستخدم “وحدة os” في بيثون لديها طريقة تسمى “getcwd” ()
import os
dirpath = os.getcwd ()
-التغيير إلى دليل باسم “bin” (سلة الوارد في دليلك الحالي)
• إذا كنت تريد فقط اسم الدليل ثم يمكنك إما انقسام بواسطة “/” أو استخدام وظيفة أخرى تسمى basename من وحدة os.path.
1. What basic tools do you need to start programming?
– Personal computer
– learn a programming language you hope to use
– learn how to use CLI
– Text editor
2. What command would you use for the following in bash (CLI)?
3. Check your current directory
– $echo $path
4. Change to a directory named ‘bin’ (bin is in your current directory)
– $cd bin/
5.make a new directory called ‘lib’
– $ mkdir lib
6.create a new file called ‘book.py’
– $touch book.py
7. list all the contents the current directory
– Is-a
lists all contents in the working directory, including hidden files and directories
1- What is the basic tools do you need to start programming ?
* code editor, a compiler or interpreter,
*any programming language
* Install the CLI and how to use it
* You can develop for Android on OSX, windows or Linux
2-What command would you use for the following in bash (CLI)?
* The echo command
3-Check your current directory?
*To display the location of your current working directory, enter the command pwd
4-Change to a directory named ‘bin’ (bin is in your current directory)
*change directories with the cd command
5-make a new directory called ‘lib’
*You can also create multiple new directories in the current directory by using the md command
6-create a new file called ‘book.py’?
*touch book.py
7-list all the contents the current directory?
$You can use the ls command to list the files in any directory to which you have access.
ls hello
Lists files whose complete name is hello; if hello is a directory, displays the contents of the
-a
Shows all files, including those beginning with . (a period). The dot is special in the Unix file
-F
Marks special files with symbols to indicate what they are: / for directories, @ for symbolic links, * for executable programs
-l
Shows the rights to the file, the owner, the size in bytes, and the time of the last modification made to the file. (The l stands for “long”.)
1 _What basic tools do you need to start ?
-Computer
-CLI
– programming language
-Text editor
-shell
2 _ What command would you use for the following in bash ( CLI ) ?
-Command line interface
3 _ Check your current directly .
-PWD
4 _ Change to directory named “bin” .
-CD bin
5 _ Make a new directory called “lib” .
– MK Dir lib
6 _ Create a new file called “book,py” .
-touch book.py
7 _ List all the contents the current directory .
-LS
1- What is the basic tools do you need to start programming ?
* code editor, a compiler or interpreter,
*any programming language
* Install the CLI and how to use it
* You can develop for Android on OSX, windows or Linux
2-What command would you use for the following in bash (CLI)?
* The echo command
3-Check your current directory?
*To display the location of your current working directory, enter the command pwd
4-Change to a directory named ‘bin’ (bin is in your current directory)
*change directories with the cd command
5-make a new directory called ‘lib’
*You can also create multiple new directories in the current directory by using the md command
6-create a new file called ‘book.py’?
*touch book.py
7-list all the contents the current directory?
$You can use the ls command to list the files in any directory to which you have access.
ls hello
Lists files whose complete name is hello; if hello is a directory, displays the contents of the
-a
Shows all files, including those beginning with . (a period). The dot is special in the Unix file
-F
Marks special files with symbols to indicate what they are: / for directories, @ for symbolic links, * for executable programs
-l
Shows the rights to the file, the owner, the size in bytes, and the time of the last modification made to the file. (The l stands for “long”.)
1- What is the basic tools do you need to start programming ?
* code editor, a compiler or interpreter,
*any programming language
* Install the CLI and how to use it
* You can develop for Android on OSX, windows or Linux
2-What command would you use for the following in bash (CLI)?
* The echo command
3-Check your current directory?
*To display the location of your current working directory, enter the command pwd
4-Change to a directory named ‘bin’ (bin is in your current directory)
*change directories with the cd command
5-make a new directory called ‘lib’
*You can also create multiple new directories in the current directory by using the md command
6-create a new file called ‘book.py’?
*touch book.py
7-list all the contents the current directory?
$You can use the ls command to list the files in any directory to which you have access.
ls hello
Lists files whose complete name is hello; if hello is a directory, displays the contents of the
-a
Shows all files, including those beginning with . (a period). The dot is special in the Unix file
-F
Marks special files with symbols to indicate what they are: / for directories, @ for symbolic links, * for executable programs
-l
Shows the rights to the file, the owner, the size in bytes, and the time of the last modification made to the file. (The l stands for “long”.)
1.What basic tools do you need to start programming?
computer.editor.compiler.programming language
2.What command would you use for the following in bash (CLI)?
Check your current directory
3.Check your current directory
dirpath = os.getcwd()
4.Change to a directory named ‘bin’ (bin is in your current directory)
$cd /bin
5.make a new directory called ‘lib’
to make a new directory called ‘lib’
os.mkdir(lip)
6.create a new file called ‘book.py
file=open(“c: \\book.py”,’w’ )
7.list all the contents the current directory
What basic tools do you need to start programming?
1/computer 2/editor 3/compiler 4/suitable language programming
What command would you use for the following in bash (CLI)?
dirpath = os.getcwd()
Check your current directory?
foldername = os.path.basename(dirpath)
print(“Directory name is : “bin” + foldername}
Change to a directory named ‘bin’ (bin is in your current directory)?
cd/bin
5- make a new directory called ‘lib?
FILE_MKDIR, ‘lib’
create a new file called ‘book.py’?
py cf book.py files
1-what basic tools do you need to start programming ?
_ computer science fundamentals
_install the cli and how to use the cli
_install atext editor
_learn aprogramming language
_coursera
_youtube
_ help ful resources (stack overflow)
2-what command would you use for the following in bash ( cli)?
3-to check my current directory
Secho$PWD
4-change to directory named ‘bin'<bin is inyour current directory $cb/bin
5- make anew directory called 'lib'
$file-Mkdir 'lib'
6-create anew file called 'book .py
Touch book .py
7-list all the contents the current directory
$Is -a
1-What basic tools do you need to start programming?
computer, learn the command line interface CLI or text editor(sublime, bracket), programming language, Apache, FTP.
2- What command would you use for the following in bash (CLI)?
*to check my current directory $pwd
*Change to a directory named ‘bin’ (bin is in your current directory) $cd /bin
*make a new directory called ‘lib’ $mkdir lib
*create a new file called ‘book.py’ $touch book.py
*list all the contents the current directory $ ls
$ ls -f
1-what basic tools do you need to start programming
.computer system
.install the cli and how to use the cli
.install text ediotor
.learn aprogramming language
2-what command would you use for the following in bash(cli
3-to check my current directory
.$echo$Pwd
4-change to dirctory called ‘lip’
.$ Cd/bin
5-make anew dirctory called ‘bin’
.$file_MKDIR, ‘lip’
6-creat anew file called book py’
.py cf book.py file /touch bookpy
7- list all the contents the current directory
$ is_a
1-What basic tools do you need to start programming?
# computer system
# Install the CLI and how to use it
# Install a text editor.
# Learn a programming Language.
2- What command would you use for the following in bash (CLI) ?
>>to check my current directory
(($ echo $PWD))
>>Change to a directory named ‘bin’ (bin is in your current directory)
(($cd /bin))
>>make a new directory called ‘lib’
(($FILE_MKDIR, ‘lib’))
>>create a new file called ‘book.py’
(($touch book.py))
>>list all the contents the current directory
(($ ls
$ ls -f))
1-What basic tools do you need to start programming?
– computer system
– Install the CLI , and how to use the CLI.
– Install a text editor.
– Learn a programming Language.
__
2- What command would you use for the following in bash (CLI) ?
3- to check my current directory
$ echo $PWD
4- Change to a directory named ‘bin’ (bin is in your current directory)
$cd /bin
5- make a new directory called ‘lib’
$FILE_MKDIR, ‘lib’
6-create a new file called ‘book.py’
py cf book.py files
7- list all the contents the current directory
$ ls -a