Koder Flashcards
(21 cards)
ls
list directory
nano
Simple text editor
grep
Search file(s) for lines that match a given pattern
sudo
Execute a command as another user
cd
change directory
mkdir
Create a new directory
cp
Copy files or directories
mv
Move (rename) files or directories
rm
Remove files or directories
pwd
Determine the current directory youre working in
ssh
Secure Shell (SSH), is a UNIX-based command interface and protocol for securely getting access to a remote computer
ls -F
List files and folder, with folders having a backslah for distinctions sake. Remember large F.
ls -l
List files in column-view, with info like size, modification date, read and write rights etc.
ls -al
List hidden files. (.Filename) Also list files in column-view, with info like size, modification date, read and write rights
-r
Rekursive, all files and folder in a folder.
Eks: cp -r …
Copy rekursive (everything in a folder) …
(cd) ..
Go back in directory
Eks: cd ..
Change directory, go one step back
open (filename.extension)
The open command is equivalent to double clicking a file in the Finder.
ps -ax
(“Process status”) To get a list of every running process on your computer
chmod
Change access permissions
chown
Change file owner and group
chgrp
Change group ownership