Likewise, the shell can be found out by using the ps command, though the ps command is used to display the PIDs of all the running processes: $ps To specifically find the shell you are using with the help of the ps command, execute the following command with the flag “-p” which is...
What is the command prompt? You now know what a terminal emulator is and what a shell is, from my previous article,How to open a Linux Terminal Window. You might need a quick refresher on the two terms. Simply put, a command prompt is an input field in the terminal emulator (CLI) w...
Linux is a free, open source operating system released under theGNU General Public License (GPL). Anyone can run, study, modify, and redistribute the source code, or even sell copies of their modified code, as long as they do so under the same license. ...
You can also use . (dot) instead of source command like this: . filename [options] How does source command work? The syntax of this command is simple, but understanding it requires a slightly deeper look at some Linux concepts. If you’re brand new to Linux or programming, you might o...
What Is a Command? (Running Linux)Copyright ©
Linux is based on the earlier Unix system, which used the principle of modular design. In this type of system, the OS provides simple tools, while shell scripting and command language combine to perform complex workflows. Linux supports a number of languages, including PHP, Perl, Ruby, Python...
Grep is a command line utility in Unix and Linux systems. It is used for finding a search patterns in the content of a given file. With its unusual name, you may have guessed that grep is an acronym. This is at least partially true, but it depends on who you ask. ...
Boot Linux GRUB version 1 GRUB version 2 Alternative boot loaders dmesg command Runlevels /etc/inittab Change runlevel Network protocols What is an IP address? What is a MAC address? What is DHCP? What is DNS? Basic networking ifconfig command Configure a static IP address in Ubuntu Configu...
Init Command in Linux Conclusion What is Init Process? In layman’s terms, when you press the power button, your system will first look for the bootloader (basically, your Linux grub), and then it will try to launch thekernel. But the kernel itself cannot launch all of the processes, so...
What is the-f Command in Linux? Usually, you can use the f command option in different commands to get different results. Tar Command Let’s use the tar command with and without the -f option: tar-xsample.tar.gz As you can see in the previous image, the terminal is showing an error...