![]() Reboot command is used to reboot, shut down, or halt the system. The following command installs the flameshot application, which is one of the most popular screenshot tools on Linux. For starters, a package manager essentially automates the process of installing and removing applications. It is one of the most popular and powerful package managers for Ubuntu/Debian. aptĪpt stands for Advanced Packaging Tool. You can also transfer the ownership to root using the command. You want to transfer the ownership to user1. Let’s assume there’s a file named file1 and you’re user0. The chown command is used to transfer the ownership of files. Replace “newzipfile” with the name of the zipped file you want to extract. To extract all the files from a zipped file using the command. In the above command, newzipfile.zip is the name of the zipped file in which we’re going to put the two text files file1.txt and file2.txt. :~$ zip newzipfile.zip file1.txt file2.txt Here’s how you you Zip and Unzip commands. Zip is used to create a new zip file, whereas Unzip is used to unzip zipped files. The f in “-rf” is used to tell rm to ignore files and arguments that don’t exist. Sudo rm -rf directory #removes the directory You’ll need both rm and -r (recursive) to remove a directory. The rm command is used to remove files and directories. You can use the command “man cat” to learn more about it. Now, the cat command has a lot of commands that we couldn’t fit in this article. Although in most environment I have observed issues when I disabled IPv6 using sysctl as the the module is still loaded on the server so some application may fail to work or throw error so I prefer to completely unload the ipv6 module from the Linux server to avoid any conflicts.Cat file1 file2 > file3 #This will merge files in file 1 and file 2 in a new file You can achieve this with or without reboot. In this tutorial we learned about how we can disable IPv6 properly across all the relevant configuration files and network. You can verify the same using netstat to lists chronyd process listening on udp6 # netstat -plan | egrep 'tcp6|udp6' ![]() ![]() Restart chronyd service # systemctl restart chronyd ![]() If you are using chrony instead of NTP to sync your local server with Network timezone, then to disable chronyd service on a upd6 socket create /etc/sysconfig/chronyd file using any text editor, with line below: OPTIONS="-4" You don't need to restart any service and the changes will take affect runtime. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |