1. Creating a tar archive without compression To create a tar archive of a set of files or directories, you can use the following command: tar-cvf my.tar file-name my.taris the name of the output archive in whic
This method is a bit longer and requires knowledge of the path of the directory system. Accessing a Directory in Linux Using Commands To use the directory, you have to know about some special commands. 1. Viewing the Current Directory Using “pwd” Command You can use the pwd (print ...
“How can we find out how many NICs are installed in our Redhat host without checking it physically?” As with everything else for Linux, there is a command that can do the trick for you and reports all the NIC cards that have been detected by the kernel. Below is all the commands ...
its icon in Windows, and its out of box experience (OOBE) which is what happens when you run WSL for the first time. You’ll notice that theoobe_commandoption points to a file which is a Linux executable, meaning you can set up your full experience just in Linux if you wish. As...
InUnix, the name of thetarcommand is short for tape archiving, the storing of entire file systems onto magnetic tape, which is one use for the command. However, a more common use fortaris to simply combine a few files into a single file, for easy storage and distribution. ...
Themkdir commandcreates a new directory with the name provided in the command line, while thecdcommand enters the same directory immediately after creation. A more complex example is toextract any compressed filetype: extr() { if [ -f $1 ] ; then ...
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...
Thesos reportcommand is a tool that collects configuration details, system information and diagnostic information from a Red Hat Enterprise Linux system. For instance: the running kernel version, loaded modules, and system and service configuration files. The command also runs external programs to coll...
Tar is a Posix standard archiving utility originally meant for making tape archives; one of tar's most enduring uses has been for system backups. Tar can take everything that is stored on a filesystem and store it in a structured file, including special
rm:cannotremove`file1': Operation not permitted [root@nglinux ~]# Now even the root can’t delete the file. This is the magic of these file attributes in Linux. I hope you liked the article. Do post your comments, suggestions or questions below....