Filesystem hierarchy standard describes directory structure and its content in Unix and Unix like operating system. It explains where files and directories should be located and what it should contain. The Root Directory All the directories in the Linux system comes under the root directory which is represented by a forward slash (/). Everything in your system can […]
Category: Linux
4. Linux File Contents Command
There are many commands which help to look at the contents of a file. Now we’ll look at some of the commands like head, tac, cat, less & more and strings. Commands Function head It displays the beginning of a file. tail It displays the last part of a file. cat This command is versatile […]
3. Linux File Commands
Linux Files In Linux system, everything is a file and if it is not a file, it is a process. A file doesn’t include only text files, images and compiled programs but also include partitions, hardware device drivers and directories. Linux consider everything as as file. Files are always case sensitive. Linux File Commands Command […]
2. Linux Directory Commands
Directory Command Description pwd The pwd command stands for (print working directory). It displays the current working location or directory of the user. It displays the whole working path starting with /. It is a built-in command. ls The ls command is used to show the list of a folder. It will list out all […]
7. Linux Networking Commands
Linux ifconfig – The command ifconfig stands for interface configurator. This command enables us to initialize an interface, assign IP address, enable or disable an interface. It display route and network interface. ifconfig Hostname -i Get details of specific interface- ifconfig eth0 Linux traceroute command- Linux traceroute command is a network troubleshooting utility that helps us […]
6. Linux Filters
Linux cut Command- cut OPTION… [FILE]… -b, –bytes=LIST: It is used to cut a specific section by bytes. -c, –characters=LIST: It is used to select the specified characters. -d, –delimiter=DELIM: It is used to cut a specific section by a delimiter. -f, –fields=LIST: It is used to select the specific fields. It also prints any line that does not […]
10. Important Linux Commands
find – The find command is used to find a particular file within a directory. It also supports various options to find a file such as byname, by type, by date, and more. The following symbols are used after the find command: (.) : For current directory name (/) : For root find . -name “*.txt” ===================================================================================== locate […]
1. Linux introduction
What is Linux? Linux is an open-source operating system like other operating systems such as Microsoft Windows, Apple Mac OS, iOS, Google android, etc. An operating system is a software that enables the communication between computer hardware and software. It conveys input to get processed by the processor and brings output to the hardware to […]
8. Linux Users & Groups Management
Linux Users User management includes everything from creating a user to deleting a user on your system. User management can be done in two ways on a Linux system. Graphical tools are easy and suitable for new users, as it makes sure you’ll not run into any trouble. Command line tools includes commands like useradd, userdel, passwd, […]
9. Package/Service Management
YUM – Yellowdog Updater, Modified- YUM is a package management utility for RPM-based distributions. RPM (Red Hat Package Manager) is the package manager that systems like RHEL and CentOS are based on. YUM uses RPM under the hood, hiding its complexity through a high-level abstraction. Fedora 22 and RHEL 8 introduced a rewrite of YUM, called […]