Unix Flashcards
What is the command to list your files?
ls
Explain the action of the following command:
ls
Lists your files.
What is the command to list your files in long format?
ls -l
Explain the action of the following command:
ls -l
Lists your files in long format.
What is the command that lists all files, even the hidden ones (the ones that begin with a ‘.’).
ls -a
Explain the action of the following command:
ls -a
Lists all files - even the hidden ones (the ones that begin with a ‘.’).
Command that shows the first part of a file, just as much as will fit on one screen.
more file_name
more filename
Command that shows the first part of a file, just as much as will fit on one screen.
cal
Show calendar in command line
whoami
shows username
date
shows date
touch “file_name”
creates file
open “file_name”
opens file
mkdir “directory_name”
makes folder
bin/rails
.