The document lists Linux commands and their descriptions. It provides examples of how to use each command. Some key commands covered include ls to list files, cd to change directories, cp to copy files, rm to remove files, mkdir to create directories, and grep to search files for text. Character shortcuts and wildcards are also described, such as / for directory separator, * to represent one or more characters, and [] for ranges. Common directories in the Linux file system are outlined, including /root, /home, /bin, /etc, and others.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
15 views
Technology Essentials1 Linux
The document lists Linux commands and their descriptions. It provides examples of how to use each command. Some key commands covered include ls to list files, cd to change directories, cp to copy files, rm to remove files, mkdir to create directories, and grep to search files for text. Character shortcuts and wildcards are also described, such as / for directory separator, * to represent one or more characters, and [] for ranges. Common directories in the Linux file system are outlined, including /root, /home, /bin, /etc, and others.
&& pwd ; whoami ay7aga ; whoami command if the first succeed)
Command separator (run second
|| pwd ; whoami ay7aga ; whoami command if the first failed) Directory name Directory description / Root directory, every thing starts from there. /root Root home directory, contains Desktop, Downloads, Documents and so on. /bin Contains users binaries (ls, cp, cat). /sbin Contains system binaries (reboot, ifconfig, fdisk). /etc Contains system configuration files. /home Home directory for all users (/home/student, /home/testuser). /boot Contains boot load files and kernel files. /lib Contains system libraries. /var Contains variable data which is continuously change in size (log files: /var/log). Contains user programs and it contains another bin (/usr/bin) & sbin (/usr/sbin) /usr (which contains second level user and system binaries). /mnt Mount directory where system admin can mount any partitions here. /tmp Temporary files (delete at reboot).