Command (Linux/Mac/Windows) to update all current global activated packages (git, path or hosted) to their latest version
pub global activate pubglobalupdate
Usage: pubglobalupdate [<pkg1> <pkg2>...] By default all packages are updated Global options: -h, --help Usage help --version Display version -v, --verbose Verbose -d, --dry-run Do not run test, simple show the command executed
Update all current activated packages
Update one package
$ pubglobalupdate stagehand
pub global activate -s path .
pub global activate -s git git://github.com/tekartik/pubglobalupdate.dart
You can install the package from the command line:
dart pub global activate pubglobalupdate
The package has the following executables:
Run this command:
$ dart pub add pubglobalupdate
$ flutter pub add pubglobalupdate
This will add a line like this to your package's pubspec.yaml (and run an implicit
dart pub get):
dependencies: pubglobalupdate: ^0.5.1
Alternatively, your editor might support
dart pub get or
flutter pub get. Check the docs for your editor to learn more.
Now in your Dart code, you can use:
import 'dart:async'; import 'package:pubglobalupdate/pubglobalupdate.dart' as pubglobalupdate; Future main(List<String> arguments) => pubglobalupdate.main(arguments);
Source Code: https://github.com/tekartik/pubglobalupdate.dart
If in case, the user is facing Window Update Error then they should manually reset Window Update Components. Generally, this error occurs because of the damage or corrupt Window update components or may be due to outdated Windows. But for more information, you should contact to the Microsoft team via www.office.com/setup enter the download key for free.
Manually Reset Windows Update Components:
In Windows8.1 and Windows 8: Go to the Start screen, then select Search, and then type cmd. Here, in the search results, you should press-and-hold or just right-click on Command Prompt. After this, you should select Run as Administrator.
In Windows 7 and earlier versions: You need to press the Windows logo key + R, then type cmd in the Run box, and tap on Enter. After this, right-click on cmd and then you have to select Run as Administrator.
net stop wuauserv
net stop appidsvc
net stop cryptsvc
net start wuauserv
net start appidsvc
net start cryptsvc
read here also…
#window update components #window update error #www.office.com/setup #office.com/setup #manually reset window update
Dig Command Line Options and Examples
Here is the frequently used command line options and example’s of dig command.
1. Basic Dig Command
A basic dig command accept domain name as command line parameter and prints Address record.
2. Query With Specific DNS Server
The default dig command queries to dns server configured on your system. For example, the Linux systems keep default DNS entry in /etc/resolv.conf.
3. Print Short Answer
Use +short command line option to print result in short form. This is basically useful with the shell scripting and other automation tasks.
4. Print Detailed but Specific Result
Use +noall with +answer to print detailed information but specific. This will print only answer section including few more details as a result.
#linux commands #command #dig #dig command #useful examples #linux
mv Command Examples
Below is the basic mv command examples on Linux terminal.
#linux commands #command #mv #useful example #mv command #linux
1 - Windows
Usually when we buy a system, the default OS is Windows. Many times I saw many people who say that Windows is easy. Let me better understand what they mean!
2 - GNU/Linux
There is a big thing in the GNU/Linux world called freedom and diversity. Torvalds first wrote Linux and then merged with GNU kernels, something Stallman was working on, and later became GNU/Linux. It can be said that everything runs on GNU/Linux! From car, etc. to computers and…
3 - Mac
But the phrase “Expensive and limited” does not necessarily mean bad… A Gmail app, a web app, a terminal, and other apps, and a fairly clean desktop (which Apple found works for people). For example, if you want a flower to be on top of the desktop, there is one way: you go to Mac and beg them to put flowers on the desktop.
#linux #windows #mac #gnu/linux #operating systems
In this remove or delete directories and files linux tutorial guide, you will learn how to remove empty directory and non empty directory linux using command line. And as well as how to remove/file files linux using command line.
So, this tutorial guide will show you you how to use the
rmdir commands to remove or delete files and directories in Linux with and without confirmation.
#how to delete directory in linux #how to remove non empty directory in linux #remove all files in a directory linux #linux delete all files in current directory #linux delete all files in a directory recursively #delete all files in a directory linux