Skip to content

xzj478/Computer-Basis

Repository files navigation

Computer-Basis

Class 02 Commands we learned:

Ctrl+Shift+T : Open new window of Terminal;

Ctrl+Shift+C : Open new tab of Terminal;

Ctrl+Shift+L : Clear terminal commands line;

whoami : Who is the user now;

pwd : Where is the user now;

ls : Working list;

echo $0: Which bash are we use;

man XXX : Manual of the command;

XXX (press tab): the command which include XXX will be listed;

uname(-a) : details of the OS.

history(>some output file) : list of command line we used before(output to the file we named);

Class 03 Commands we learned:

mkdir XXX : Create new directory;

rmdir XXX : Remove directory;

ls -a : Show all the directories;

ls -l : Show details of directories;

ls -al: Show all the details of all directories;

cat XXX : Show the file content;

cd XXX : Go to some address;

echo -e "\x" : Show result with backslash commands work;

touch XXX.XXX : Create empty file;

cp . . : copy 1 file to another;

mv . . : move 1 file to another place(also could rename it);

rm . : remove 1 file;

. >> . : continue 2nd file by 1st file;

Class 04 Commands we learned:

git clone XXX(github link): get repositories from github;

nano XXX: write script or file in nano UI;

chmod 744: change permission to 744;

PATH=$PATH:~/XXX/: extend XXX directory into path;

gcc: GNU C Compiler;

About

Computer Studies(basic course) e-diary

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published