Trending February 2024 # Schedule Ubuntu Shutdown With This Simple Command # Suggested March 2024 # Top 2 Popular

You are reading the article Schedule Ubuntu Shutdown With This Simple Command updated in February 2024 on the website We hope that the information we have shared is helpful to you. If you find the content interesting and meaningful, please share it with your friends and continue to follow and support us for the latest updates. Suggested March 2024 Schedule Ubuntu Shutdown With This Simple Command

While there are plenty of tools that allow you to schedule your Ubuntu to shutdown at a specified time, here is an inbuilt command that you can use to automate the shutdown of your computer. It will save you the effort of installing third party software too.

Open a terminal and type:





This will shutdown the computer immediately.






The computer will shutdown at 4.05pm.






The computer will shutdown 5 minutes from now.

If you want it to restart instead of shutdown, use the “-r” flag instead. For example:





Isn’t that easy?


Damien Oh started writing tech articles since 2007 and has over 10 years of experience in the tech industry. He is proficient in Windows, Linux, Mac, Android and iOS, and worked as a part time WordPress Developer. He is currently the owner and Editor-in-Chief of Make Tech Easier.

Subscribe to our newsletter!

Our latest tutorials delivered straight to your inbox

Sign up for all newsletters.

By signing up, you agree to our Privacy Policy and European users agree to the data transfer policy. We will not share your data and you can unsubscribe at any time.

You're reading Schedule Ubuntu Shutdown With This Simple Command

Apex Directx Error: Fix This Issue With 4 Simple Methods

Apex Directx Error: Fix This Issue With 4 Simple Methods Updating the graphics card drivers is a practical solution




The Apex Directx error affects many users and may indicate that your drivers are outdated. 

Disabling the firewall may help, and as a last resort, you may reinstall Origin. 



To fix Windows PC system issues, you will need a dedicated tool

Fortect is a tool that does not simply cleans up your PC, but has a repository with several millions of Windows System files stored in their initial version. When your PC encounters a problem, Fortect will fix it for you, by replacing bad files with fresh versions. To fix your current PC issue, here are the steps you need to take:

Download Fortect and install it on your PC.

Start the tool’s scanning process to look for corrupt files that are the source of your problem

Fortect has been downloaded by


readers this month.

Apex Legends DirectX error can prevent you from starting the game, and in today’s article, we’ll show you how to fix this problem once and for all.

The game has been out for a while now, and EA’s new battle royale game has become a little phenomenon in its own right, with 50 million players in its first month. That’s something to write home about.

Let’s take about possible triggers and solutions.

What causes Apex Directx error?

From the feedback from multiple users, we have been able to sum up the principal triggers for this error to include the following two elements:

Outdated drivers – In most instances, this refers to the graphics driver. If it is bad or outdated you may experience this error.

Firewall or antivirus – Some antivirus apps are notorious for blocking out essential components. You may need to disable your antivirus.

While there may be some other minor triggers, you should be concerned about the above listed. So let us explore practical solutions for Apex legends DirectX 11 and 12 errors.

How can I fix Apex Legends DirectX error? 1. Directx .cab file removal 2. Turn off your firewall

For some users, this simple solution might work. However, keep in mind that turning off your firewall may not solve Apex Legends DirectX errors for all the gamers out there.

So, here are the steps to follow:

3. Run CCleaner

CCleaner is a handy tool that removes any unnecessary files left over from apps and programs that weren’t completely installed. This tool cleans your Windows Registry.

All you need to do is download CCleaner from the official website, install it on your PC and run it.

4. Update your graphics driver

Another common cause for DirectX errors is outdated graphics drivers. Make sure you installed the latest GPU drivers for Apex Legends.

Alternatively, you may go to your GPU manufacturer’s official website and download the available graphics driver updates.

These solutions should help you when you face this Apex DirectX error. In some extreme cases, you may have to uninstall Origin. Usually, this is a last resort solution, but it may help you to solve this problem.

Was this page helpful?


Start a conversation

How To Install And Use Command Line Cheat Sheets On Ubuntu

Cheat is a command line primarily based on Python software that lets in system administrators to view and save helpful cheat sheets. It retrieves simple-text examples of a delegated command which will remind the user of alternatives, arguments, or commonplace makes use of. Cheat is used for “commands which you use frequently, however now not frequently sufficient to consider”

Installing Cheat

Before installing Cheat, we need to make sure that everything’s up to date on the system as shown in the below command –

$ sudo apt-get update && sudo apt-get upgrade

Installing Cheat is best done with the Python package manager Pip. To install pip, use the following command –

$ sudo apt-get install python-pip

To install cheat, use the following command –

$ sudo pip install cheat

The sample output should be like this –

Collecting cheat    Downloading chúng tôi (42kB)    Downloading docopt-0.6.2.tar.gz    Downloading chúng tôi (755kB) Installing collected packages: docopt, pygments, cheat    Running chúng tôi install for docopt ... done    Running chúng tôi install for cheat ... done Successfully installed cheat-2.1.24 docopt-0.6.2 pygments-2.1.3

To verify if the cheat is installed or not, use the following command –

$ cheat -v

The sample output should be like this –

cheat 2.1.24 Setting the Text Editor

we are able to pass on to create our personal cheat sheets, Cheat desires to know which textual content editor we would love to apply to edit sheets by means of chúng tôi set nano text editor, use the following command –

$ export EDITOR=/usr/bin/vim

We can confirm the above command was successful using the following command –

$ printenv EDITOR

The output should be like this –


To make this change persistent and permanent across all future shell sessions, you must add the environment variable declaration to your .bashrc file. This is one of several files that are run at the start of a bash shell session. To open bashrc file, use the following command –

$ nano ~/.bashrc

The sample output should be like this –

# ~/.bashrc: executed by bash(1) for non-login shells. # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) # for examples # If not running interactively, don't do anything case $- in    *i*) ;;      *) return;; esac export EDITOR=/usr/bin/vim # don't put duplicate lines or lines starting with space in the history. # See bash(1) for more options HISTCONTROL=ignoreboth # append to the history file, don't overwrite it shopt -s histappend # for setting history length see HISTSIZE and HISTFILESIZE in bash(1) HISTSIZE=1000

Then add the same export command as shown below

..................................................... # If not running interactively, don't do anything case $- in *i*) ;; *) return;; esac export EDITOR=/usr/bin/vim # don't put duplicate lines or lines starting with space in the history. # See bash(1) for more options HISTCONTROL=ignoreboth ...........................................

Save and exit the file.

Running Cheat

To run Cheat in its most basic form for tail command, use the following command –

$ cheat tail

The sample output should be like this –

# To show the last 10 lines of file tail file # To show the last N lines of file tail -n N file # To show the last lines of file starting with the Nth tail -n +N file # To show the last N bytes of file tail -c N file # To show the last 10 lines of file and to wait for file to grow tail -f file

To see the list of all existing cheats, use the following command –

$ cheat -l

The output should be like this –

7z /usr/local/lib/python2.7/dist-packages/cheat/cheatsheets/7z ab                     /usr/local/lib/python2.7/dist-packages/cheat/cheatsheets/ab apk                    /usr/local/lib/python2.7/dist-packages/cheat/cheatsheets/apk apparmor               /usr/local/lib/python2.7/dist-packages/cheat/cheatsheets/apparmor apt                   /usr/local/lib/python2.7/dist-packages/cheat/cheatsheets/apt apt-cache             /usr/local/lib/python2.7/dist-packages/cheat/cheatsheets/apt-cache apt-get             /usr/local/lib/python2.7/dist-packages/cheat/cheatsheets/apt-get aptitude             /usr/local/lib/python2.7/dist-packages/cheat/cheatsheets/aptitude asciiart             /usr/local/lib/python2.7/dist-packages/cheat/cheatsheets/asciiart asterisk             /usr/local/lib/python2.7/dist-packages/cheat/cheatsheets/asterisk at                   /usr/local/lib/python2.7/dist-packages/cheat/cheatsheets/at awk                   /usr/local/lib/python2.7/dist-packages/cheat/cheatsheets/awk bash                /usr/local/lib/python2.7/dist-packages/cheat/cheatsheets/bash bower                /usr/local/lib/python2.7/dist-packages/cheat/cheatsheets/bower chmod                /usr/local/lib/python2.7/dist-packages/cheat/cheatsheets/chmod chown                 /usr/local/lib/python2.7/dist-packages/cheat/cheatsheets/chown convert             /usr/local/lib/python2.7/dist-packages/cheat/cheatsheets/convert crontab             /usr/local/lib/python2.7/dist-packages/cheat/cheatsheets/crontab csplit             /usr/local/lib/python2.7/dist-packages/cheat/cheatsheets/csplit cups                 /usr/local/lib/python2.7/dist-packages/cheat/cheatsheets/cups curl                 /usr/local/lib/python2.7/dist-packages/cheat/cheatsheets/curl cut                /usr/local/lib/python2.7/dist-packages/cheat/cheatsheets/cut date                 /usr/local/lib/python2.7/dist-packages/cheat/cheatsheets/date dd                   /usr/local/lib/python2.7/dist-packages/cheat/cheatsheets/dd df                   /usr/local/lib/python2.7/dist-packages/cheat/cheatsheets/df dhclient             /usr/local/lib/python2.7/dist-packages/cheat/cheatsheets/dhclient .............................................................................................. Creating and Editing Cheat Sheets

To create a cheat sheet, use the following command –

$ cheat -e tutorialspoint

The above command tutorialspoint is a cheat sheet name. It will open a blank cheat sheet. Now add your cheats and save it.

Searching Cheat Sheets

To search cheat sheet, use the following command –

$ cheat -s tail

The above command is searching for tail command. The sample output should be like this –

asterisk:    # To print out the details of SIP accounts: dnf:    # To search package details for the given string dpkg:    # List all installed packages with versions and details hardware-info:    # Display all hardware details journalctl:    # Actively follow log (like tail -f) mdadm:    # See detailed array confiration/status    mdadm --detail /dev/md${M} p4:    # Print details related to Client and server configuration pacman: pip:    # Show details of a package tail:    tail file    tail -n N file    tail -n +N file    tail -c N file    tail -f file

That’s it. After this article, you will be able to understand – How To Install and Use Command Line Cheat Sheets on Ubuntu, we will come up with more Linux based tricks and tips. Keep reading!

Ubuntu 10.10 Alpha: Slouching Toward Ubuntu Gnome

Ubuntu 10.10, codenamed Maverick Meerkat, is still two months from its final release. However, if the first alpha and the forecasts about it are an accurate indication, the release is already taking on a character all its own.

Specifically, Maverick may be the release in which the Ubuntu version of GNOME differs from generic GNOME to the point where it should be recognized as a separate desktop — call it Ubuntu GNOME.

Of course, at this point, the character of the release could change. If you look at the blueprints for the release, you will notice that many features are incomplete, or still to be implemented at all. Still, the fact that many of the visible desktop changes are among the first implemented may suggest the emphasis that Ubuntu places upon them (although the ease of implementation or the enthusiasm of the developers may be factors, as well.) At any rate, this is a change that has been coming for at least a year, and in Maverick it is starting to become noticeable. Although all the changes in Maverick do not contribute to this impression, many do.

Those who want to explore Maverick for themselves can download one of the daily build Live CDs. Alternatively, you can see some of the new features in Maverick through the collection of MaverickMovies, a selection of videos about major features. Many of the videos are matched with inappropriate music, but if you turn the sound off, you can at least see some of the upcoming features. You can also try installing from the Live CD to a hard drive, although, if you do, the usual warnings about doing serious work on unstable software apply.

Not all the changes in Maverick contribute to the sense that Ubuntu is developing its own sub-version of GNOME. Of these neutral changes, the most obvious is the installation program.

The installer also features a simpler, starker look. What is most obvious, though, are the adjustments in functionality.

Over the years, Ubuntu has done its best to keep its installer simple. In the 10.10 release, simplicity obviously remains the goal, and some steps, such as the placement of the startup options in the installer, rather than a separate menu and reducing them to two — Try Ubuntu and Install Ubuntu — continue the move toward simplicity. So does the simplified partitioner, in which the options are reduced to automatically using the whole disk and manual partitioning.

However, at the same time, experience has apparently taught Ubuntu developers that more complexity is needed. Before you can start making any choices, the installer suggests that “for best results” you need 2.7 gigabytes of hard drive space, a system plugged into a power source (and not, apparently, one running from a battery), and an Ethernet connection (rather than a wireless one).

The installer also offers an option to install proprietary software — mostly music codecs — “if it is needed for a better experience” and another to choose the hard drive. Only then does the 10.10 installer settle into the choices of previous versions, such as the time zone, keyboard, and user account, or encrypting the drive.

Many of the other features of the Maverick alpha are simple version changes of standard features and applications, such as the GNOME and KDE desktops, or the Linux kernel. Still others are changes in default applications, such as the replacement of F-Spot with Shotwell. For the most part, though, such changes have minimal effects on the Ubuntu menus’ content or order. If you know earlier versions of Ubuntu, you are unlikely to have much trouble navigating the Maverick menus.

Yet the most noticeable changes are those that are starting to make the experience of working in GNOME different in Ubuntu than in any other distribution.

So far, there is no implementation of the so-called “windicators” — the equivalent in windows of the panel’s notification tray on the desktop, and elements that may supercede the window’s bottom status bar. Those who are curious about whether the benefits of windicators can justify having the title bar buttons on the left side of the window will have to wait to see.

Another still-to-be-implemented feature (at least in the nightly build that I am currently investigating) is Multitouch, which adds touch-screen capacities to the desktop.

A Simple Introduction To Web Scraping With Beautiful Soup

The purpose of this series is to learn to extract data from websites. Most of the data in websites are in HTML format, then the first tutorial explains the basics of this markup language. The second guide shows a way to scrape data easily using an intuitive web scraping tool, which doesn’t need any knowledge of HTML. Instead, the last tutorials are focused on gathering data with Python from the web. In this case, you need to grasp to interact directly with HTML pages and you need some previous knowledge of it.

The post is the fourth in a series of tutorials to build scrapers. Below, there is the full series:

As an example, I am going to parse a web page using two Python libraries, Requests and Beautiful Soup. The list of countries by greenhouse gas emissions will be extracted from Wikipedia as in the previous tutorials of the series.

You surely aren’t allowed to scrape data from all the websites. I recommend you first look at the chúng tôi file to avoid legal implications. You only have to add ‘/robots.txt’ at the end of the URL to check the sections of the website allowed/not allowed.

Web scraping is the process of collecting data from the web page and store it in a structured format, such as a CSV file. For example, if you want to predict the Amazon product review’s ratings, you could be interested in gathering information about that product on the official website.

1. Import libraries

The first step of the tutorial is to check if all the required libraries are installed:

!pip install beautifulsoup4 !pip install requests

Once we terminated to look, we need to import the libraries:

Let’s import:

from bs4 import BeautifulSoup import requests import pandas as pd

Beautiful Soup is a library useful to extract data from HTML and XML files. A sort of parse tree is built for the parsed page. Indeed, an HTML document is composed of a tree of tags. I will show an example of HTML code to make you grasp this concept.

Illustration by Author

Since the HTML has a tree structure, there are also ancestors, descendants, parents, children and siblings.

2. Create Response Object

To get the web page, the first step is to create a response object, passing the URL to the get method.

req = requests.get(url) print(req) Request-Response Protocol. Illustration by Author.

This operation can seem mysterious, but with a simple image, I show how it works. The client communicates with the server using a HyperText Transfer Protocol(HTTP). In this line of code, it’s like when we type the link on the address bar, the browser transmits the request to the server and then the server performs the requested action after it looked at the request.

3. Create a Beautiful Soup object

Let’s create the Beautiful Soup object, which parses the document using the HTML parser. In this way, we transform the HTML code into a tree of Python objects, as I showed before in the illustration.

soup = BeautifulSoup(req.text,"html.parser") print(soup)

If you print the object, you’ll see all the HTML code of the web page.

4. Explore HTML tree

As you can observe, this tree contains many tags, which contain different types of information. We can get access directly to the tags, just writing:

soup.head soup.body soup.body.h1

A more efficient way is to use the find and find_all methods, which filter the element(s in case of find_all method).

row1 = tab.find('tr') print(row1)

Using the find method, we zoom a part of the document within the

tags, which are used to build each row of the table. In this case, we got only the first row because the function extracts only one element. Instead, if we want to gather all the rows of the table, we use the other method:

rows = tab.find_all('tr') print(len(rows)) print(rows[0])

We obtained a list with 187 elements. If we show the first item, we’ll see the same output as before. find_all method is useful when we need to zoom in on more parts with the same tag within the document.

5. Extract elements of the table

To store all the elements, we create a dictionary, which will contain only the names of the columns as keys and empty lists as values.

rows = tab.find_all('tr') cols = [t.text.rstrip() for t in rows[0].find_all('th')] diz = {c:[] for c in cols} print(diz)

So, we iterate over the rows of the table, excluding the first:

for r in rows[1:]: diz[cols[0]].append(r.find('th').text. replace('xa0', '').rstrip()) row_other = r.find_all('td') for idx,c in enumerate(row_other): cell_text = c.text.replace('xa0', '').rstrip() diz[cols[idx+1]].append(cell_text)

The first column is always contained within the

tags, while the other columns are within the

tags. To avoid having “n” and “xa0”, we use respectively the rstrip and replace functions.

In this way, we extract all the data contained in the table and save it into a dictionary. Now, we can transform the dictionary into a pandas DataFrame and export it into a CSV file:

df = pd.DataFrame(diz) df.head() df.to_csv('tableghg.csv')

Finally, we can have an overview of the table obtained. Isn’t it amazing? And I didn’t write many lines of code.

Final thoughts

I hope you found useful this tutorial. Beautiful Soup can be the right tool for you when the project is small. On the other hand, if you have to deal with more complex items in a web page, such as Javascript elements, you should opt for another scraper, Selenium. In the last case, it’s better to check the third tutorial of the series. Thanks for reading. Have a nice day!

Check Bluetooth Capability Easily With These 3 Simple Steps

Check Bluetooth Capability Easily with These 3 Simple Steps Check Bluetooth capability from Device Manager or Settings app




Most PCs nowadays come with built-in Bluetooth support, also called Bluetooth capability.

You can check if your PC has Bluetooth using Settings app or with other methods.



To fix Windows PC system issues, you will need a dedicated tool

Fortect is a tool that does not simply cleans up your PC, but has a repository with several millions of Windows System files stored in their initial version. When your PC encounters a problem, Fortect will fix it for you, by replacing bad files with fresh versions. To fix your current PC issue, here are the steps you need to take:

Download Fortect and install it on your PC.

Start the tool’s scanning process to look for corrupt files that are the source of your problem

Fortect has been downloaded by


readers this month.

Bluetooth can be quite useful, but before you can use it, you need to check Bluetooth capability. If Bluetooth file transfer is not working, it’s possible that you’re having some issues with it, so you need to check it with these steps.

How can I add Bluetooth capability to my PC?

If you want to have Bluetooth on your PC, there are two methods you can use:

Use a PC with built-in Bluetooth – All laptops and some desktop computers have Bluetooth capability. If you’re buying a new PC and you need Bluetooth, consider getting a laptop computer.

Use a Bluetooth adapter – If you have a desktop PC and you need Bluetooth functionality, adding a Bluetooth adapter is the fastest way to do that.

How can I check the Bluetooth capability on my device? 1. Use Device Manager

The easiest way to check for Bluetooth support is to use Device Manager. This built-in app allows you to view and configure all the devices and their drivers on your PC.

1. First, press the Win key + X at the same time on your keyboard to open the WinX menu.

2. Select Device Manager on that menu to open the window shown in the shot directly below.

3. What you need to look for on that window is a Bluetooth Radios category. That should be listed somewhere nearer the top of the window.

5. If you locate that section, it means that you have Bluetooth capability on your device.

2. Look for Bluetooth connection in Network connections 3. Check the Settings app

Those who don’t have Bluetooth can still add it to their desktop or laptop with a Kinivo BTD-400 USB dongle. You can plug that into a USB slot on your desktop or laptop.

How can I check the Bluetooth capability on Windows 11?

Windows 10 and 11 share many similarities, and checking Bluetooth compatibility is almost identical on both operating systems.

This means that you can follow the steps from above and use them on Windows 11 as well.

So that’s how to check Bluetooth capability on Windows. In case you don’t have the necessary drivers, visit our guide on how to download the Bluetooth driver.

Still experiencing issues?

Was this page helpful?


Update the detailed information about Schedule Ubuntu Shutdown With This Simple Command on the website. We hope the article's content will meet your needs, and we will regularly update the information to provide you with the fastest and most accurate information. Have a great day!