If you need to print a second column, you can use a shell script. You can also pass in an arbitrary column using the -l flag. In this example, we’ll print a second column named $2. Then, we need to specify the value of the second column by using paired quotes. And that’s it! Now, …
Others
There are many ways to install a Perl module in Linux. For example, you can install a module via the Perl shell. In this method, you have to specify the path to the perl module in the Perl environmental variables. CPAN is a central repository for Perl modules, with 192,207 in 41,002 distributions. However, if …
If you’ve forgotten your Ubuntu 18 04 password, there are several steps you can take to regain access. First, open the recovery menu and choose “drop to root shell prompt.” This will bring up a list of user accounts. Type in a new password. This will not appear right away, but repeat the process until …
The date command can display the current system date or change it. Using the date command, you can also print out a date in various formats, calculate future or past dates, or even see what time it was when you last modified a file. To format the date, you can use a string containing a …
In Unix, the command “ls” can be used to display the first 5 lines of a file. To display the remaining lines, use the -n option, which specifies the number of lines to display. If you only need to display the first five lines, simply type “ls -f”. Another way to display the first five …
If you’re having trouble booting up your HP laptop, you may be wondering how to flash bios on HP laptops. The good news is that there are several different ways to do this. The easiest method is to create a USB flash drive and copy the files onto it. Once you’ve copied the files to …
If you’re looking for a community-driven Linux distribution that’s based on Ubuntu, you should consider Linux Mint. This distro comes bundled with a lot of open-source and free applications. It can run both proprietary and free software, and it can support full out-of-box multimedia support. For a more thorough review of the Linux Mint experience, …
To start recording your screen video and audio, you can use the ScreenRec command in Ubuntu. It is a powerful Linux screen recorder that comes with a presentation booster. After you download and install ScreenRec, you can launch it through the Ubuntu Software Manager or through the command line. To record video, you can choose …
You can learn how to mount NTFS files on a USB drive using the Linux command line. The command to mount an NTFS file-system is’mount’ without the first “n”. If you use an incorrect partition name, you will not be able to mount the NTFS file-system. Once you have mapped your drive and mounted it, …
The first thing to know about Dmesg is how it works. The kernel uses Dmesg to store and examine messages in its ring buffer. It prints out all the messages from this buffer. Then, you can look at them using the cat command. You can read the log directly, or you can use the -t …
