File (Command) - Linux Study Group

Group Info

Linux Study Group

Linux Study Group

Created by Joseph Wojcicki

Please join our group to share and discuss Linux

Share:
Joseph wojcicki

determines what kind of file you are asking about.


Joseph wojcicki

Cd command changes directory


cd by itself puts you in home directory

cd . will leave you in the same directory you are currently in

cd .. will move you up one directory

cd - will switch you to the previous directory


The Forum post is edited by Joseph wojcicki Sep 29
Joseph wojcicki
pwd command : Print working directory-Shows full path of a folder where we are currently working.
Joseph wojcicki

Ls command used to list files


To show colors type --color=always (colors represent different aspects of the files in the listing)

The Forum post is edited by Joseph wojcicki Sep 29
Joseph wojcicki
IF you are unsure where you are at use the pwd command
Joseph wojcicki

mkdir: Make directory


mkdir-p (creates parent folder)

The Forum post is edited by Joseph wojcicki Sep 29
Joseph wojcicki
rmdir: remove directory
The Forum post is edited by Joseph wojcicki Sep 29
You need to be a group member to post.