Command Line - CS50 Shorts

preview_player
Показать описание
***

This is CS50, Harvard University's introduction to the intellectual enterprises of computer science and the art of programming.

***

HOW TO SUBSCRIBE

HOW TO TAKE CS50

HOW TO JOIN CS50 COMMUNITIES

HOW TO FOLLOW DAVID J. MALAN

***

CS50 SHOP

***

LICENSE

CC BY-NC-SA 4.0
Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International Public License

David J. Malan
Рекомендации по теме
Комментарии
Автор

Timestamps
00:00 - Intro
01:25 - ls
03:18 - cd and pwd
07:44 - mkdir
09:01 - cp
12:02 - rm
15:44 - mv
17:38 - Other commands

Summary
ls List content of the current directory
cd Change current directory
pwd Print current working directory
mkdir Create directory
cp Copy file, use -r to copy a directory
rm Delete file, use -r to delete a directory, -f to skip confirmation /!\ NO UNDO /!\ be careful !!
mv Move (rename) file or directory
Ctrl + L Clear screen

blblbl
Автор

After you've started typing an existing file or folder name you can press the "tab-key" to autocomplete. If there is more than one possible file or folder double pressing "tab-key" will show you a list.

Hamserto
Автор

"Linux operating system is favored by programmers, because it's just... cooler, right?"
I love this guy

sonicfreak
Автор

The video should have timestamps. I just wanted to review a few commands.

vijaynyaya
Автор

Idk why but every time he says tilde my brain whispers Swinton

JayTorin
Автор

as a side note its only for the unix os's that use bash what is most of then but their is more shells then just bash

mattitalks
Автор

pwd stands for "print working directory", not "present working directory"

luizashabetnick
Автор

Whenever I try to change directories to a folder it says "too many arguments"

BDL
Автор

I am new to cs50, I am using the cloud version of cs50, my terminal area is very small, I can barely see one line, how do I make it bigger

weiliu
Автор

Rise your ✋ when you're in class 7, you use kail Linux to look cool, and then learn those basic commands, to showoff in front of your friends. Those days these commands are 😍🥰😘.

pavanganeshpg
Автор

I tried the rm command in MacOS and I wasn't asked if I was sured about that

jordanabarcelos
Автор

I have Ubuntu 22.04.2 LTS as my OS, and it didn't ask me whether I want to delete a file or not, meaning there wasn't y/n question when deleting a file while working in the terminal. Does this y/n question before removal depend on the version of Ubuntu or something?

katya
Автор

Hey, Is there any way to remove all of the file inside my current directory at once?

md.mashrafirahman
Автор

CLI = command line interface <> GUI

joostvanderlinden
Автор

does the L in ctrl L stand for anything? i always think its ctrl c for clear... thinking about it now, is it possible that since ctrl c is for copy, that the L is the letter after C in clear?

BlindElephantNK
Автор

hey Mr. Lloyd??? Would you consider making a class for operating system codes like just plain game maker studio 2 code gml code. i gaurantee I will pay full price on that one as soon as i learn enough about code as that is exactly why i am here in the first place and the roads from there (in google) lead directly to here and that is why i am here right now. so please make one for gml code a full class with both types of tutorial or maybe you Mr. david mallan can make one. please this is so there will be no jargon or inconsistencies in learning. It is really a lot like c and thank you very much for listening and remember the searches for find ways to learn gml code are ending up at harvard university and to make sure it happens just start a game maker studio 2 gml code course and the amount will double. It took six search's i found unsatisfactory to find you. just set one up for gml code and they will come.

deathincarnatesplace
Автор

Just wondering whether pwd stands for "print working directory" rather for "present working directory"

Kayzer
Автор

Why we must used command line? Are windows UI more easy to used?

eduarduskresnapurnama
Автор

First, I wanna say thanks to Doug for the videos. However, I would like to point this could and should be a 5 min video. Far too much rambling and repeating.

simspawn
Автор

There's something fishy about the last few seconds of the video. I think he might have meant to write 'mv greddy.c greedy.c'. He typed the file names in reverse, thereby retaining the faulty file name of greddy.c and not renaming to greedy.c. You can see the incorrect file name still there when he types 'ls' and greddy.c is still there. Anyone else notice that?

coldfuzion