How to Edit Hosts File on Linux?
Linux provides the “nano” and “vim” text editors to edit or modify the host or any other file using the “sudo” privilege. It is easy to access and use.
Linux provides the “nano” and “vim” text editors to edit or modify the host or any other file using the “sudo” privilege. It is easy to access and use.
For copying and pasting the command in the Linux terminal, use the right-click of the mouse, the middle button, or press the keyboard shortcut keys.
Google Docs offers the “Line & paragraph spacing” option from the menu bar and the “Line & paragraph spacing” icon to change the line spacing in Google Docs.
In Google Docs, small numbers can be added through the subscript and superscript options. This functionality is supported on the web and mobile versions.
In Google Docs, dictation is enabled using the “Voice Typing” option from the “Tools” tab and the “Ctrl+Shift+S” shortcut key.
In Google Docs, the built-in Cornell notes template can be created from a third-party website or by selecting the “Table” option from the “Insert” tab.
To import a Docx to Google Docs, upload the file in “Google Drive”. After that, save the docs file by pressing the “Save as Google Docs” option.
Click on the “Review suggested edits” option. After that, a dialogue box will pop up; press the “Accept all” button to accept all the suggestions on Google Docs.
The “Table” option is used to make the job application template in Google Docs. Moreover, various built-in templates are also useful for performing this task.
To do a block quote in Google Docs, the “ruler” and “Indent” icons are used. Additionally, the “Tab” key can also be utilized to perform this task.
The “Table” option from the “Insert” tab can be utilized to insert a calendar in Google docs. The mobile app also has a “Table” option for this purpose.
Google Docs provides an amazing feature, “Voice Typing”, and a shortcut key, “Ctrl+Shift+S”, to type with your voice into the document.
Auto capitalization is turned off using the “Preferences” option from the “Tools” tab that converts the first capital letter of a new line to a small one.
In Google Docs, the “Avery Labels” are printed using the “CTRL+P” shortcut key and “Print” option from the “File” tab of the MenuBar.
In Google Docs, the “Special characters” and “Equation” options are used to make fractions. These options come from the “Insert” tab of the menu bar.
In Google Docs, free book templates are created using the “Free templates gallery” option from the “File” tab and “Third-Party” websites.
In Google Docs, users can write a letter by typing and formatting the text and built-in templates. These templates come from the “From template gallery” option.
Google Docs offers the “Page setup” option from the “File” tab to format documents pageless for writing and editing the document without a page break.
In Google Docs, a script format can be made by choosing the “Courier” font style and “Fountainize” third-party extension.
In Google Docs, you can make a questionnaire from the built-in features like “Add text box”, “Insert Checkboxes”, and customized questionnaire in Google Forms.
Google Docs provides the “Table” option for inserting text fields to create fillable forms. After that, add checklists from the “Bullets & numbering” option.
To collaborate with single or multiple users, Google Docs offers the “Share” button by adding people by specifying roles as “Viewer”, Editor, and “Commenter”.
Learn how to check CPU utilization in Linux using built-in tools like top, htop, and vmstat. Keep your system running smoothly with these easy-to-use commands.
Several methods are discussed to write to a file in bash, which helps to write single or multiple lines and the same content to multiple files simultaneously.
To create a user with a different home directory in Linux, we can use the “d” option of the useradd command as performed in this article.
Command-line arguments are parameters passed to a script while executing them in the bash shell, and their uses are discussed in detail throughout this article.
The tar command can be used to create and manage archives files in Linux easily. Our detailed guide shows the working and usage of the tar command in Linux.
We can use the Bash heredoc method in Linux to execute multiple lines of commands and data simultaneously, which is explained in this guide with examples.
To use the fg command in Linux, follow the general syntax “fg [Job]”. You can use different symbols to bring the jobs into the foreground in Linux.
The top is the built-in utility of the Linux operating system for displaying the processes of the processor activities and the Kernel tasks.
In Linux, the ping command is used to troubleshoot networks, including the local machine network. The ping command comes preinstalled on Linux.
The “mkdir” Linux command creates new directories in the PWD or a specific directory. It also sets their permissions during the creation process.
Linux and most of its distributions offer the “telnet” command that connects the machines remotely. However, it is the old Linux command line utility.
To move files and directories in Linux, we can use the ‘mv’ command or the GUI. For more detailed examples, read this post.
Learn how to mount an ISO file on your Linux system easily. Follow our detailed guide for quick and easy access to the data contained within your ISO files.
The main objective of the “truncate” Linux command is to reduce/shrink or extend the standard file size to the required one.
In Linux, the environment variables are set using the “export” command line tool. The user can view them via the “printenv”, “env”, and the “echo” commands.
The BusyBox is the UNIX suite that contains different commands and functions of the Linux distributions in a single executable file.
To install the SFTP, run the command “sudo apt install ssh -y” and do the necessary configuration steps explained here.
QEMU/KVM can be installed by running the command “sudo apt install qemu-kvm libvirt-daemon-system libvirt-clients bridge-utils -y” on Ubuntu 22.04.
In Bash, the until loop iterates the code until the specified condition is met. Using the until loop, users can modify conditions according to requirements.
The 5 best ways to uninstall the Software on Ubuntu is by using the utilities, including the apt, dpkg, snap, flatpak, and the Ubuntu Software.
The “tar” file combines multiple files/directories and metadata in Linux. It is created using the “tar” command line tool.
The main difference between the “useradd” and “adduser” commands is their execution and implementation. For more detail, follow this guide.
Linux offers the “bzip2” command to open the “bz2” compressed file. This task can also be performed using the “tar” command line utility.
The most feasible solution to the error “crontab” is not running is to activate/enable the “crontab” service. For more possible solutions, read this post.
The reason for the error “brew command not found” error is that the “brew” Command is not Installed” and its “Incorrect Path”.
The tar command compresses and extracts the files/directories. The tar xvf is used to extract the contents of the archive file with its verbose.
The OpenSSL S_Client command can be used to test, debug, disable the client-side connection and print, check, verify, and specify cipher for SSL certificates.
To show the line numbers in Vim / Vi in Linux, use the command “:set number”, “:set relativenumber”, and “:set number relativenuber”.
The user can use the “–user” for the username, and for the password, use the “–password” or “–ask-password” option in the wget command.
After accessing the “/proc/sys/vm/swappiness” file, you can change the swappiness value using “sudo” privileges that will apply to the operating system.
Linux offers the “history” utility with the “-c” option and “-w” option to clear the current session’s command history and all previous session history.
Linux offers the “tmpfs” and “/etc/fstab” files to create a ramdisk in the operating system. It is useful for storing and accessing data.
The “crontab -e” command helps the user to edit a crontab file into the “nano” text editor. The user can also use another editor instead of “nano” i.e “vi”.
To increase the SSH connection timeout, change the values of ClientAliveInterval, and the ClientAliveInterval in the Server’s SSH configuration file.
To adjust the tmux pane size, use the mouse keys, the arrow keys with the prefix, or the commands used with the prefix.
Quest Score: 0%
Grant your users access to a specific folder on your Linux system with just a few simple commands and ensure they have the proper permissions to access.
To ping a specific port in Linux, we can use the tools of nc, nmap, and telnet. All these tools are useful for managing network interfaces.
CentOS offers the “lsb_release”, “hostnamectl”, and “uname” commands to check the CentOS version. Also, the “centos-release” file contains version information.
Linux offers the “ps-ef” command that lists out the running processes with the command line arguments passed to the process.
Discover the capabilities of the ‘ls -l’ command in Linux. Learn how to list and sort files and directories in different ways with this powerful command.
Sort output from largest to smallest by a combination of “du” and “sort” commands with the “h” option. It displays output in a human-readable format.
Master the power of the set command in Linux with our comprehensive guide and learn how to set and unset shell variables and control script behavior.
Linux offers a “more” command that allows you to view the contents of a text file or output one page at a time. The syntax with multiple examples is given here.
Several methods are used to write comments in Linux bash scripts, such as single-line, inline, and multi-line comments, as described in this tutorial.
Get the best system monitoring tools for your Linux machine. These top-rated options offer advanced features, intuitive interfaces, and superior performance.
The cron jobs are scheduled by following the five asterisks pattern. Each asterisk denotes a time (minute, hour, day of the month, month, day of the week).
To check the available packages in the Yum package manager, the “yum list” and “yum info” commands are utilized in Linux System.
In Linux, the “ls” command works with “-l” and “-h” options to display the list of file sizes in a long and human-readable format, respectively.