Beginners should not skip this.
Hello everyone. I hope you're doing well. LPTHW is the acronym of the book that I'm following for this series : Learn Python The Hard Way. Today, we'll look into supposedly the scary part of the computer for beginners. The part which looks scary and difficult to deal with, the part which looks fancy to non-programmers and looks like a really cool or advanced tech. But if you learn how to make friends with your black screen, it's like a dog - very friendly, loyal and helpful. The learning curve isn't quite difficult as many perceive it.
Meet your best friend:
Press: Ctrl + Alt + T in Linux to access it.
OR
Press WindowsKey+R
, then type cmd
Note: sometimes you'll have to right click and Run as administrator
(Why and how? - Go Google it)
OR
Press Windows key
, type Powershell
. Press Enter Key
or Shift + Enter
Hello Best friend!
What's the name though?
Your friend has many names. In windows operating system, you'd call it Command Prompt
as you see in the second picture above. There's a variant called PowerShell
as you in the third picture above. Then, we have the powerful Terminal
for Linux operating system. If you already use Linux or Mac, you're most likely aware of it already.
Getting to know your friend
Now that you know what your friend looks like and what you call it, it's time to know him better. Isn't that what you'd do when you make a new friend? Ask him what he does for living, where does he work, what's his interest etc etc.
So, do the same here but your friend is most likely not going to answer those questions for you. You'll have to Google them. Ask Google about your new friend, ask questions like : "What is a terminal?" or "What is a command prompt?" or "Why do we use command prompt?" or any such things you have in your mind right now. Just google it and skim through the first few links. You will find the answers.
Seek and Ye shall find
--More like--> Google and Ye shall find
Seek and Ye shall find
--More like--> Google and Ye shall find
BY THE BOOK
Today, you'll have to make sure you know a thing or two about your best friend properly.
TASK #1 (for beginners only, PRIZE : $1)
: Read the Appendix A: Command Line Crash CourseType what each of the following command does in the comment below and the first correct response receives a 100% upvote from me, worth $1. :P
- cd
- mkdir
- ls
- rmdir
- cp
- mv
- less
- more
- cat
- rm
- touch
- pwd
- pushd
- popd
TASK #2 (open to all, PRIZE: 25SBD) - JUDGE AND SPONSOR @pharesim.
Write a program that prints the numbers from 1 to 100.
But for multiples of three
print “Steem” instead of the number
and for the multiples of five
print “It”.
For numbers which are multiples of both three and five
print “SteemIt"
Please submit your solutions in the comment section below with the task number.
Judge's decision of the best solution is final. Decision will be announced after the payout of this post. In case two solutions are identical/same, the first one counts.
-isteemit.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Great going! What about the other 11 though?
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Let me revise them, it has been very long time I used them.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Pushd and popd similar to CD for change stack of folder but after return to older folder sorry for rude English 😂
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Congratulations @isteemit! You have completed some achievement on Steemit and have been rewarded with new badge(s) :
Award for the number of posts published
Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here
If you no longer want to receive notifications, reply to this comment with the word
STOP
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
STOP
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
i am a java programmer and good work 😍
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Hi Nomi! You can try Task#2. :)
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
#Take2
Language used : Ruby
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Great going Elishagautam! Please do mention the language you've used and format it if possible.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Nice information
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
interesting post, worth a try first ...
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
I have upvoted 😉
please look at my photo
Upvote my post
thank you
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Task #2 (was award already given? I assume it did)
Language: Python
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Nicely done, @veleje!
The award hasn't been given out yet. Judge will decide the winning solution at the end of the payout of this post.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Yay, I was not logged in to steemit for about two months, I just saw I got it. YES!! ;-) and thank you!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thank you for sharing! Upvoted and following you :)
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
good
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
CD move from current folder do CD folder
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
good your sharing
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
မဂၤလာပါမမ
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit