instruction
stringclasses
1 value
input
stringlengths
1
48
output
stringlengths
15
108
Unnamed: 3
float64
Unnamed: 4
float64
Explain the linux command
ls
The most frequently used command in Linux to list directories
null
null
Explain the linux command
pwd
Print working directory command in Linux
null
null
Explain the linux command
cd
Linux command to navigate through directories
null
null
Explain the linux command
mkdir
Command used to create directories in Linux
null
null
Explain the linux command
mv
Move or rename files in Linux
null
null
Explain the linux command
cp
Similar usage as mv but for copying files in Linux
null
null
Explain the linux command
rm
Delete files or directories
null
null
Explain the linux command
touch
Create blank/empty files
null
null
Explain the linux command
ln
Create symbolic links (shortcuts) to other files
null
null
Explain the linux command
cat
Display file contents on the terminal
null
null
Explain the linux command
clear
Clear the terminal display
null
null
Explain the linux command
echo
Print any text that follows the command
null
null
Explain the linux command
less
Linux command to display paged outputs in the terminal
null
null
Explain the linux command
man
Access manual pages for all Linux commands
null
null
Explain the linux command
uname
Linux command to get basic information about the OS
null
null
Explain the linux command
whoami
Get the active username
null
null
Explain the linux command
tar
Command to extract and compress files in Linux
null
null
Explain the linux command
grep
Search for a string within an output
null
null
Explain the linux command
head
Return the specified number of lines from the top
null
null
Explain the linux command
tail
Return the specified number of lines from the bottom
null
null
Explain the linux command
diff
Find the difference between two files
null
null
Explain the linux command
cmp
Allows you to check if two files are identical
null
null
Explain the linux command
comm
Combines the functionality of diff and cmp
null
null
Explain the linux command
sort
Linux command to sort the content of a file while outputting
null
null
Explain the linux command
export
Export environment variables in Linux
null
null
Explain the linux command
zip
Zip files in Linux
null
null
Explain the linux command
unzip
Unzip files in Linux
null
null
Explain the linux command
ssh
Secure Shell command in Linux
null
null
Explain the linux command
service
Linux command to start and stop services
null
null
Explain the linux command
ps
Display active processes
null
null
Explain the linux command
kill and killall
Kill active processes by process ID or name
null
null
Explain the linux command
df
Display disk filesystem information
null
null
Explain the linux command
mount
Mount file systems in Linux
null
null
Explain the linux command
chmod
Command to change file permissions
null
null
Explain the linux command
chown
Command for granting ownership of files or folders
null
null
Explain the linux command
ifconfig
Display network interfaces and IP addresses
null
null
Explain the linux command
traceroute
Trace all the network hops to reach the destination
null
null
Explain the linux command
wget
Direct download files from the internet
null
null
Explain the linux command
ufw
Firewall command
null
null
Explain the linux command
iptables
Base firewall for all other firewall utilities to interface with
null
null
Explain the linux command
sudo
Command to escalate privileges in Linux
null
null
Explain the linux command
cal
View a command-line calendar
null
null
Explain the linux command
alias
Create custom shortcuts for your regularly used commands
null
null
Explain the linux command
dd
Majorly used for creating bootable USB sticks
null
null
Explain the linux command
whatis
Find what a command is used for
null
null
Explain the linux command
top
View active processes live with their system usage
null
null
Explain the linux command
useradd and usermod
Add new user or change existing users data
null
null
Explain the linux command
passwd
Create or update passwords for existing users
null
null
Explain the linux command
whereis
Locate the binary source and manual pages for a command
null
null
Explain the linux command
apt
Package manager
null
null
Explain the linux command
Ctrl + C
Kill process running in the terminal.
null
null
Explain the linux command
Ctrl + Z
Stop the current process. The process can be resumed in the foreground with fg or in the background with bg.
null
null
Explain the linux command
Ctrl + W
Cut one word before the cursor and add it to the clipboard.
null
null
Explain the linux command
Ctrl + U
Cut part of the line before the cursor and add it to the clipboard.
null
null
Explain the linux command
Ctrl + K
Cut part of the line after the cursor and add it to the clipboard.
null
null
Explain the linux command
Ctrl + Y
Paste from clipboard.
null
null
Explain the linux command
Ctrl + R
Recall the last command that matches the provided characters.
null
null
Explain the linux command
Ctrl + O
Run the previously recalled command.
null
null
Explain the linux command
Ctrl + G
Exit command history without running a command.
null
null
Explain the linux command
clear
Clear the terminal screen.
null
null
Explain the linux command
!!
Run the last command again.
null
null
Explain the linux command
exit
Log out of the current session.
null
null
Explain the linux command
find [path] -name [search_pattern]
Find files and directories that match the specified pattern in a specified location.
null
null
Explain the linux command
find [path] -size [+100M]
See files and directories larger than a specified size in a directory.
null
null
Explain the linux command
grep [search_pattern] [file_name]
Search for a specific pattern in a file with grep.
null
null
Explain the linux command
grep -r [search_pattern] [directory_name]
Recursively search for a pattern in a directory.
null
null
Explain the linux command
locate [name]
Locate all files and directories related to a particular name.
null
null
Explain the linux command
which [command]
Search the command path in the $PATH environment variable.
null
null
Explain the linux command
awk '[search_pattern] {print $0}' [file_name]
Print all lines matching
null
null
Explain the linux command
ls
List files and directories in the current directory
null
null
Explain the linux command
ls -a
List all files and directories in the current directory (shows hidden files)
null
null
Explain the linux command
ls -l
List files and directories in long format
null
null
Explain the linux command
pwd
Show the directory you are currently working in
null
null
Explain the linux command
cd
Change directory
null
null
Explain the linux command
cd ~
Change directory to $HOME
null
null
Explain the linux command
cd ..
Move up one directory level
null
null
Explain the linux command
cd -
Change to the previous directory
null
null
Explain the linux command
cd [directory_path]
Change location to a specified directory
null
null
Explain the linux command
dirs
Show current directory stack
null
null
Explain the linux command
df -h
Check free and used space on mounted systems.
null
null
Explain the linux command
df -i
Show free inodes on mounted file systems.
null
null
Explain the linux command
fdisk -l
Display disk partitions sizes and types with the command.
null
null
Explain the linux command
du -ah
See disk usage for all files and directories.
null
null
Explain the linux command
du -sh
Show disk usage of the current directory.
null
null
Explain the linux command
mount
Show currently mounted file systems.
null
null
Explain the linux command
findmnt
Display target mount point for all file systems.
null
null
Explain the linux command
mount [device_path] [mount_point]
Mount a device.
null
null
Explain the linux command
tar zxvf [file_name.tar.gz]
Extract files from a gzipped tarball
null
null
Explain the linux command
cd [extracted_directory]
Change directory to the extracted directory
null
null
Explain the linux command
./configure
Prepare the source code for compilation by generating makefiles
null
null
Explain the linux command
make
Compile the source code using the makefiles
null
null
Explain the linux command
make install
Install the compiled software
null
null
Explain the linux command
sudo snap install [package_name]
Install a Snap package
null
null
Explain the linux command
sudo snap find [keyword]
Search for a package in the Snap store
null
null
Explain the linux command
sudo snap list
List installed Snap packages
null
null
Explain the linux command
flatpak install [package_name]
Install a Flatpak package
null
null
Explain the linux command
flatpak search [keyword]
Search for a Flatpak application in repositories
null
null
Explain the linux command
flatpak list
List installed Flatpak packages
null
null
Explain the linux command
scpu
See CPU information.
null
null
Explain the linux command
lsblk
See information about block devices.
null
null