Explore tens of thousands of sets crafted by our community.
Command Line Interface Commands
25
Flashcards
0/25
cat [file]
Concatenates and displays the content of files.
cp [source] [destination]
Copies files or directories from source to destination.
curl [options] [URL]
Transfers data from or to a server, using one of the supported protocols (HTTP, HTTPS, FTP, and more).
tar [options] [archive-file] [file or directory]
Creates, extracts, or lists archives using tar file format.
pwd
Prints the current working directory path.
tail [file]
Displays the last few lines of a file.
ls
Lists all files and directories in the current directory.
touch [file]
Creates a new file if it does not exist, or updates the access and modification times of an existing file.
head [file]
Displays the first few lines of a file.
kill [PID]
Terminates the process with the given PID.
mv [source] [destination]
Moves or renames files and directories.
mkdir [directory]
Creates a new directory.
find [directory] [criteria]
Searches for files and directories based on given criteria.
history
Displays command line history.
chown [owner] [file]
Changes the owner of one or more files.
grep [pattern] [file]
Searches for a pattern in files and prints all lines containing that pattern.
echo [text]
Displays a line of text.
rmdir [directory]
Deletes an empty directory.
chmod [permissions] [file]
Changes the file mode (permissions) of one or more files.
man [command]
Displays the manual page for the specified command.
ps
Displays current active processes.
cd [directory]
Changes the current directory to the specified directory.
rm [file]
Deletes a file.
less [file]
Views the contents of a file one page at a time.
wget [URL]
Non-interactive download of files from the Web.
© Hypatia.Tech. 2024 All rights reserved.