Preserve Bash History in Multiple Terminal Windows on Linux

Satish Kumar
Updated on 25-Jan-2023 11:34:13
Bash history is a powerful tool that can help you keep track of all the commands you've executed in your terminal. It can be especially useful when you're working with multiple terminal windows, as it allows you to easily switch between them and pick up where you left off. In this article, we'll show you how to preserve bash history in multiple terminal windows on Linux, and explain why it's so important. Why Preserve Bash History? Preserving bash history is important because it allows users to easily recall commands they have previously executed in the terminal. This can save time ... Read More

Find and tar Files on Linux

Satish Kumar
Updated on 25-Jan-2023 11:33:22
One of the most powerful features of the Linux operating system is the ability to find and manipulate files quickly and easily from the command line. This can be especially useful when working with large numbers of files or when you need to automate certain tasks. In this article, we will take a look at two of the most commonly used command-line tools for finding and compressing files on Linux: the find command and the tar command. Finding Files with the find Command The find command is a powerful tool that allows you to search for files on your Linux ... Read More

The netcat Command in Linux

Satish Kumar
Updated on 25-Jan-2023 11:32:39
The netcat command in Linux is a powerful tool for network communication and troubleshooting. It allows users to read and write data to network connections using the TCP or UDP protocols. In this article, we will explore the various uses and capabilities of the netcat command, including examples of how to use it for network communication and troubleshooting. What is the netcat command? The netcat command, also known as nc, is a command-line utility that allows users to read and write data over a network connection. It can be used to establish connections to servers and clients, send and receive ... Read More

Remove the First Line of a Text File in Linux

Satish Kumar
Updated on 25-Jan-2023 11:31:42
There are several ways to remove the first line of a text file in Linux. In this article, we will go over three different methods that can be used to accomplish this task. Method 1: Using the head Command The head command is a Linux utility that is used to display the first few lines of a text file. It can also be used to remove the first line of a text file by using the -n option. The -n option is used to specify the number of lines that should be displayed. By specifying -1, we can remove the ... Read More

Redirecting the Output of an Already Running Process on Linux

Satish Kumar
Updated on 25-Jan-2023 11:31:07
Linux is a powerful operating system that allows users to perform a wide range of tasks, including redirecting the output of an already running process. This feature is particularly useful when you want to send the output of a process to a file, a different terminal window, or even a remote server. In this article, we will discuss how to redirect the output of an already running process on Linux, with examples and sub-headings. Using gdb to Redirect the Output Another method to redirect the output of an already running process on Linux is by using the GNU Debugger (gdb) ... Read More

SQL Query to Convert Rows to Columns in SQL Server

Bharti Kumari
Updated on 25-Jan-2023 11:26:39
Introduction The PIVOT operator is used to rotate rows of a table into columns. It is useful for generating cross-tabular reports, where the results are presented in a summary form. The PIVOT operator is available in SQL Server 2005 and later versions. The PIVOT operator is used to convert rows into columns in a SQL Server database. It is often used to generate cross-tabular reports, where the results are presented in a summary form. Definition In SQL Server, the PIVOT operator allows you to convert rows into columns. It is useful for generating cross-tabular reports, where the results are ... Read More

Set Database From Single User Mode to Multi User in SQL?

Bharti Kumari
Updated on 25-Jan-2023 11:23:30
Introduction In SQL, a database can be set to single user mode or multi user mode. When a database is in single user mode, only one user can connect to the database at a time. This can be useful for maintenance tasks that need to be performed on the database, as it ensures that no other users are modifying the data while the maintenance is being done. However, once the maintenance is complete, it is usually necessary to set the database back to multi user mode so that multiple users can connect to the database and access the data. This ... Read More

Neural Control and Coordination

Praveen Varghese Thomas
Updated on 25-Jan-2023 11:21:49
Introduction Coordination is the process that aids in the function and interaction of the organs and complements the function of each other. The neutral system helps in the integration of the bodily functions of humans. The neural system provides an organized network to point-to-point connections which are helpful in rapid coordination. It functions with the endocrine system that helps in rendering the chemical integration with the help of hormones. What is the Neural System? The neural system assists in the functionalities of various organs in the human body. It is composed of highly specialized cells that are known ... Read More

Oracle DataBase – Grant Privileges to a User in SQL Command Line

Bharti Kumari
Updated on 25-Jan-2023 11:20:37
Introduction In an Oracle Database, privileges are used to control access to the database's objects and operations. A privilege is a permission to perform a specific action on a specific object, such as SELECTing data from a table or EXECUTing a stored procedure. When you create a user in the database, that user does not have any privileges by default. In order for the user to be able to perform any actions, you must grant them the necessary privileges. This can be done by using the GRANT command in SQL command line. When a user has been granted a privilege, ... Read More

How to Update Two Tables in One Statement in SQL Server?

Bharti Kumari
Updated on 25-Jan-2023 11:18:05
Introduction In SQL Server, you may sometimes need to update data in multiple tables at the same time. This can be done using a single UPDATE statement, which allows you to update multiple tables in a single query. To update two tables in one statement, you can use the UPDATE statement with a JOIN clause. The JOIN clause allows you to specify a relationship between the two tables that you want to update, based on a common column or set of columns. Definition The term "update two tables in one statement" refers to the process of using a single UPDATE ... Read More
1 2 3 4 5 6 7 ... 9842 Next
Advertisements