rohanbalkondekar
commited on
Commit
•
d4346b4
1
Parent(s):
569ba3c
Upload linux-commands.csv
Browse files- linux-commands.csv +151 -0
linux-commands.csv
ADDED
@@ -0,0 +1,151 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
instruction,input,output,,
|
2 |
+
Explain the linux command,ls,The most frequently used command in Linux to list directories,,
|
3 |
+
Explain the linux command,pwd,Print working directory command in Linux,,
|
4 |
+
Explain the linux command,cd,Linux command to navigate through directories,,
|
5 |
+
Explain the linux command,mkdir,Command used to create directories in Linux,,
|
6 |
+
Explain the linux command,mv,Move or rename files in Linux,,
|
7 |
+
Explain the linux command,cp,Similar usage as mv but for copying files in Linux,,
|
8 |
+
Explain the linux command,rm,Delete files or directories,,
|
9 |
+
Explain the linux command,touch,Create blank/empty files,,
|
10 |
+
Explain the linux command,ln,Create symbolic links (shortcuts) to other files,,
|
11 |
+
Explain the linux command,cat,Display file contents on the terminal,,
|
12 |
+
Explain the linux command,clear,Clear the terminal display,,
|
13 |
+
Explain the linux command,echo,Print any text that follows the command,,
|
14 |
+
Explain the linux command,less,Linux command to display paged outputs in the terminal,,
|
15 |
+
Explain the linux command,man,Access manual pages for all Linux commands,,
|
16 |
+
Explain the linux command,uname,Linux command to get basic information about the OS,,
|
17 |
+
Explain the linux command,whoami,Get the active username,,
|
18 |
+
Explain the linux command,tar,Command to extract and compress files in Linux,,
|
19 |
+
Explain the linux command,grep,Search for a string within an output,,
|
20 |
+
Explain the linux command,head,Return the specified number of lines from the top,,
|
21 |
+
Explain the linux command,tail,Return the specified number of lines from the bottom,,
|
22 |
+
Explain the linux command,diff,Find the difference between two files,,
|
23 |
+
Explain the linux command,cmp,Allows you to check if two files are identical,,
|
24 |
+
Explain the linux command,comm,Combines the functionality of diff and cmp,,
|
25 |
+
Explain the linux command,sort,Linux command to sort the content of a file while outputting,,
|
26 |
+
Explain the linux command,export,Export environment variables in Linux,,
|
27 |
+
Explain the linux command,zip,Zip files in Linux,,
|
28 |
+
Explain the linux command,unzip,Unzip files in Linux,,
|
29 |
+
Explain the linux command,ssh,Secure Shell command in Linux,,
|
30 |
+
Explain the linux command,service,Linux command to start and stop services,,
|
31 |
+
Explain the linux command,ps,Display active processes,,
|
32 |
+
Explain the linux command,kill and killall,Kill active processes by process ID or name,,
|
33 |
+
Explain the linux command,df,Display disk filesystem information,,
|
34 |
+
Explain the linux command,mount,Mount file systems in Linux,,
|
35 |
+
Explain the linux command,chmod,Command to change file permissions,,
|
36 |
+
Explain the linux command,chown,Command for granting ownership of files or folders,,
|
37 |
+
Explain the linux command,ifconfig,Display network interfaces and IP addresses,,
|
38 |
+
Explain the linux command,traceroute,Trace all the network hops to reach the destination,,
|
39 |
+
Explain the linux command,wget,Direct download files from the internet,,
|
40 |
+
Explain the linux command,ufw,Firewall command,,
|
41 |
+
Explain the linux command,iptables,Base firewall for all other firewall utilities to interface with,,
|
42 |
+
Explain the linux command,sudo,Command to escalate privileges in Linux,,
|
43 |
+
Explain the linux command,cal,View a command-line calendar,,
|
44 |
+
Explain the linux command,alias,Create custom shortcuts for your regularly used commands,,
|
45 |
+
Explain the linux command,dd,Majorly used for creating bootable USB sticks,,
|
46 |
+
Explain the linux command,whatis,Find what a command is used for,,
|
47 |
+
Explain the linux command,top,View active processes live with their system usage,,
|
48 |
+
Explain the linux command,useradd and usermod,Add new user or change existing users data,,
|
49 |
+
Explain the linux command,passwd,Create or update passwords for existing users,,
|
50 |
+
Explain the linux command,whereis,Locate the binary source and manual pages for a command,,
|
51 |
+
Explain the linux command,apt,Package manager,,
|
52 |
+
Explain the linux command,Ctrl + C,Kill process running in the terminal.,,
|
53 |
+
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.,,
|
54 |
+
Explain the linux command,Ctrl + W,Cut one word before the cursor and add it to the clipboard.,,
|
55 |
+
Explain the linux command,Ctrl + U,Cut part of the line before the cursor and add it to the clipboard.,,
|
56 |
+
Explain the linux command,Ctrl + K,Cut part of the line after the cursor and add it to the clipboard.,,
|
57 |
+
Explain the linux command,Ctrl + Y,Paste from clipboard.,,
|
58 |
+
Explain the linux command,Ctrl + R,Recall the last command that matches the provided characters.,,
|
59 |
+
Explain the linux command,Ctrl + O,Run the previously recalled command.,,
|
60 |
+
Explain the linux command,Ctrl + G,Exit command history without running a command.,,
|
61 |
+
Explain the linux command,clear,Clear the terminal screen.,,
|
62 |
+
Explain the linux command,!!,Run the last command again.,,
|
63 |
+
Explain the linux command,exit,Log out of the current session.,,
|
64 |
+
Explain the linux command,find [path] -name [search_pattern],Find files and directories that match the specified pattern in a specified location.,,
|
65 |
+
Explain the linux command,find [path] -size [+100M],See files and directories larger than a specified size in a directory.,,
|
66 |
+
Explain the linux command,grep [search_pattern] [file_name],Search for a specific pattern in a file with grep.,,
|
67 |
+
Explain the linux command,grep -r [search_pattern] [directory_name],Recursively search for a pattern in a directory.,,
|
68 |
+
Explain the linux command,locate [name],Locate all files and directories related to a particular name.,,
|
69 |
+
Explain the linux command,which [command],Search the command path in the $PATH environment variable.,,
|
70 |
+
Explain the linux command,awk '[search_pattern] {print $0}' [file_name],Print all lines matching,,
|
71 |
+
Explain the linux command,ls,List files and directories in the current directory,,
|
72 |
+
Explain the linux command,ls -a,List all files and directories in the current directory (shows hidden files),,
|
73 |
+
Explain the linux command,ls -l,List files and directories in long format,,
|
74 |
+
Explain the linux command,pwd,Show the directory you are currently working in,,
|
75 |
+
Explain the linux command,cd,Change directory,,
|
76 |
+
Explain the linux command,cd ~,Change directory to $HOME,,
|
77 |
+
Explain the linux command,cd ..,Move up one directory level,,
|
78 |
+
Explain the linux command,cd -,Change to the previous directory,,
|
79 |
+
Explain the linux command,cd [directory_path],Change location to a specified directory,,
|
80 |
+
Explain the linux command,dirs,Show current directory stack,,
|
81 |
+
Explain the linux command,df -h,Check free and used space on mounted systems.,,
|
82 |
+
Explain the linux command,df -i,Show free inodes on mounted file systems.,,
|
83 |
+
Explain the linux command,fdisk -l,Display disk partitions sizes and types with the command.
|
84 |
+
Explain the linux command,du -ah,See disk usage for all files and directories.,,
|
85 |
+
Explain the linux command,du -sh,Show disk usage of the current directory.,,
|
86 |
+
Explain the linux command,mount,Show currently mounted file systems.,,
|
87 |
+
Explain the linux command,findmnt,Display target mount point for all file systems.,,
|
88 |
+
Explain the linux command,mount [device_path] [mount_point],Mount a device.,,
|
89 |
+
Explain the linux command,tar zxvf [file_name.tar.gz],Extract files from a gzipped tarball,,
|
90 |
+
Explain the linux command,cd [extracted_directory],Change directory to the extracted directory,,
|
91 |
+
Explain the linux command,./configure,Prepare the source code for compilation by generating makefiles,,
|
92 |
+
Explain the linux command,make,Compile the source code using the makefiles,,
|
93 |
+
Explain the linux command,make install,Install the compiled software,,
|
94 |
+
Explain the linux command,sudo snap install [package_name],Install a Snap package,,
|
95 |
+
Explain the linux command,sudo snap find [keyword],Search for a package in the Snap store,,
|
96 |
+
Explain the linux command,sudo snap list,List installed Snap packages,,
|
97 |
+
Explain the linux command,flatpak install [package_name],Install a Flatpak package,,
|
98 |
+
Explain the linux command,flatpak search [keyword],Search for a Flatpak application in repositories,,
|
99 |
+
Explain the linux command,flatpak list,List installed Flatpak packages,,
|
100 |
+
Explain the linux command,scpu,See CPU information.,,
|
101 |
+
Explain the linux command,lsblk,See information about block devices.,,
|
102 |
+
Explain the linux command,lspci -tv,Show PCI devices in a treelike diagram.,,
|
103 |
+
Explain the linux command,lsusb -tv,Display USB devices in a tree-like diagram.,,
|
104 |
+
Explain the linux command,lshw,List hardware configuration information.,,
|
105 |
+
Explain the linux command,cat /proc/cpuinfo,Show detailed CPU information.,,
|
106 |
+
Explain the linux command,cat /proc/meminfo,View detailed system memory information.,,
|
107 |
+
Explain the linux command,cat /proc/mounts,See mounted file systems.,,
|
108 |
+
Explain the linux command,free -h,Display free and used memory.,,
|
109 |
+
Explain the linux command,sudo dmidecode,Show hardware information from the BIOS.,,
|
110 |
+
Explain the linux command,hdparm -i /dev/[device_name],Display disk data information.,,
|
111 |
+
Explain the linux command,hdparm -tT /dev/[device_name],Conduct a read speed test on the device/disk.,,
|
112 |
+
Explain the linux command,badblocks -s /dev/[device_name],Test for unreadable blocks on the device/disk.,,
|
113 |
+
Explain the linux command,fsck /dev/[device_name],Run a disk check on an unmounted disk or partition.,,
|
114 |
+
Explain the linux command,ip addr show,List IP addresses and network interfaces.,,
|
115 |
+
Explain the linux command,ip address add [IP_address],Assign an IP address to interface eth0.,,
|
116 |
+
Explain the linux command,ifconfig,Display IP addresses of all network interfaces.,,
|
117 |
+
Explain the linux command,ping [remote_host],Ping remote host.,,
|
118 |
+
Explain the linux command,netstat -pnltu,See active (listening) ports with the netstat command.,,
|
119 |
+
Explain the linux command,netstat -tuln,Show TCP and UDP ports and their programs.,,
|
120 |
+
Explain the linux command,whois [domain_name],Display more information about a domain.,,
|
121 |
+
Explain the linux command,dig [domain_name],Show DNS information about a domain using the dig command.,,
|
122 |
+
Explain the linux command,dig -x [domain_name],Do a reverse DNS lookup on the domain.,,
|
123 |
+
Explain the linux command,dig -x [IP_address],Do a reverse DNS lookup of an IP address.,,
|
124 |
+
Explain the linux command,host [domain_name],Perform an IP lookup for a domain.,,
|
125 |
+
Explain the linux command,hostname -I,Show the local IP address.,,
|
126 |
+
Explain the linux command,nslookup [domain_name],Receive information about an internet domain.,,
|
127 |
+
Explain the linux command,uname -r,See kernel release information.,,
|
128 |
+
Explain the linux command,uname -a,Show system information via uname command.,,
|
129 |
+
Explain the linux command,uptime,Display how long the system has been running including the load average.,
|
130 |
+
Explain the linux command,hostname,View system hostname.,,
|
131 |
+
Explain the linux command,hostname -i,Show the IP address of the system.,,
|
132 |
+
Explain the linux command,last reboot,List system reboot history.,,
|
133 |
+
Explain the linux command,date,See current time and date.,,
|
134 |
+
Explain the linux command,timedatectl,Query and change the system clock.,,
|
135 |
+
Explain the linux command,cal,Show current calendar (month and day).,,
|
136 |
+
Explain the linux command,w,List logged-in users.,,
|
137 |
+
Explain the linux command,whoami,See which user you are using.,,
|
138 |
+
Explain the linux command,finger [user_name],Show information about a particular user.,,
|
139 |
+
Explain the linux command,ulimit [flags] [limit],View or limit system resource amounts.,,
|
140 |
+
Explain the linux command,shutdown [hh:mm],Schedule a system shutdown.,,
|
141 |
+
Explain the linux command,shutdown now,Shut down the system immediately.,,
|
142 |
+
Explain the linux command,modprobe [module_name],Add a new kernel module.,,
|
143 |
+
Explain the linux command,dmesg,Show bootup messages.,,
|
144 |
+
Explain the linux command,ssh [user_name]@[host],Connect to a remote host as a user via SSH.,,
|
145 |
+
Explain the linux command,ssh [host],Securely connect to a host via SSH default port 22.,,
|
146 |
+
Explain the linux command,ssh -p [port],Connect to the host using a particular port.,,
|
147 |
+
Explain the linux command,ssh-keygen,Generate SSH key pairs.,,
|
148 |
+
Explain the linux command,sudo service sshd start,Start SSH server daemon.,,
|
149 |
+
Explain the linux command,scp [file_name] [user_name]@[host]:[remote_path],Securely copy files between local and remote systems via SSH.,,
|
150 |
+
Explain the linux command,sftp [user_name]@[host],Interactive file transfer over encrypted SSH session using SFTP protocol.,,
|
151 |
+
Explain the linux command,telnet [host],Connect to the host via Telnet default port 23,,
|