Trending December 2023 # Create And Edit Animated Gifs From The Command Line In Ubuntu # Suggested January 2024 # Top 19 Popular

You are reading the article Create And Edit Animated Gifs From The Command Line In Ubuntu updated in December 2023 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 January 2024 Create And Edit Animated Gifs From The Command Line In Ubuntu

Does that entice you to create GIFs? If yes, you’ll be glad to know that there are various GUI-based GIF editors that work on different OS platforms. However, if you are on Linux and looking for a command line tool for this job, look no further as we will be discussing Gifsicle – a tool that lets you easily play with animated GIFs.

Note: version 1.78 of Gifsicle was used for all examples mentioned in this article.

Gifsicle Download and Installation

On Ubuntu (as well as other Debian-based systems), you can easily download and install the Gifsicle tool using the following command:


apt-get install


Alternatively you can also build it from scratch using its source code or use a pre-built binary – both are available for download from the tool’s official web page.

Create Animated GIF with Gifsicle

Suppose you have a bunch of jpg files and want to create an animated gif file out of them. Here’s how to do it:

Since the gifsicle command works only on gif files, you’ll first have to convert all the .jpg files into .gif format by using the convert command:










If the number of jpg files is large, you can use the following command to convert all of them:


'*.jpg[widht, for ex: 300x]'




Once the conversion from jpg to gif is done, the general command to combine individual gifs into a final animated one is as follows:

For example, I had the following group of jpg images.

The following is the command I used to produce an animated gif out of the above images:

Please note that the value of --delay represents the delay between frames in hundredths of a second. Also, I used “forever” as a value to the --loopcount flag. This is to make sure that the animation doesn’t stop. You can use any integer value if you want the animation to be restricted to that number of counts.

Extract Individual Frames

Gifsicle also allows you to easily extract individual frames from an animated gif. Here’s an example of how I did it:

If the number of frames in the animated gif is quite high, and you want to extract all of them, then – quite understandably – it’ll be impractical to run the above command again and again manually. In that case you can run the command in a loop from a shell script.

Another thing worth mentioning here is that you can also use negative values with “#.” Negative values refer to frames from the end. For example, “#-1” will bring you the last frame.

Edit Animated GIF

With Gifsicle you can also easily edit animated GIFs. For example, the following command creates a new “out.gif” which is nothing but the old “out.gif” with its first frame replaced with the merge of “a.gif” and “b.gif”:








chúng tôi



chúng tôi chúng tôi you can use the --delete flag to delete frames. For example, the following command deletes the first frame of “out.gif” with the resultant gif being “out-new.gif”:

You can also use the --insert-before flag to add a frame (or multiple frames) anywhere in an existing animated gif.

Image Transformation

Gifsicle also offers some image transformation options. For example, you can use the tool to resize gif images. You can use the --resize [width]x[height] flag to resize your gif image to a particular width and height. From the command’s man page: “Either width or height may be an underscore ‘_’. If the argument is widthx_, then the output GIF is scaled to width pixels wide without changing its aspect ratio.”

Here’s how I performed a resize operation on “out.gif”:

The above command produced a file named “out-resize.gif” which was nothing but a resized “out.gif” with 150px width.


Gifsicle may not be a very popular GIF creating/editing tool, but it’s certainly a very useful one. And let me make it clear that whatever we’ve discussed here is just a tip of the iceberg, as the tool offers a plethora of features/options. I thing it’s worth giving a try – learn more about it here.

Himanshu Arora

Himanshu Arora is a freelance technical writer by profession but a software programmer and Linux researcher at heart. He covers software tutorials, reviews, tips/tricks, and more. Some of his articles have been featured on IBM developerworks, ComputerWorld, and in Linux Journal.

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 Create And Edit Animated Gifs From The Command Line In Ubuntu

Diskpart And Fsutil Command Line Tools For Disk Management In Windows 11/10

You don’t need to have 3rd Party Partition Manager Software to achieve resize partitions in Windows 11, Windows 10, Windows 8, Windows 7 & Windows Vista. The operating system includes a very useful Disk Management Tool that lets you resize partitions and more. In this post we will see how to resize a partition in Windows, using the built-in Disk Management Tool.

You cannot merge partitions in Windows with this utility. If your 2nd partition is empty, you can delete the 2nd partition and then extend the 1st partition, to use the freed-up space. Also, note that you can extend only to the right; if you are desirous of extending the partition to the left, you may have to use a 3rd party tool. You can read more here about the Disk Management Tool.

Sometimes one or more options may be grayed out and thus unavailable. If this happens, it could mean that such a step may not be physically possible.

You can resize a Partition even if Disk Management fails using DISKPART and FSUTIL command-line tools for Disk Management in Windows 10.

Resize a Partition in even if Disk Management fails

It may happen that the Disk Management tool may fail to complete an operation successfully. Should you wish to continue, nevertheless, please first backup your important data should anything go wrong. You may have to use diskpart.exe.

Diskpart Utility

The  Diskpart utility can do everything that the Disk Management console can do, and more! It’s invaluable for scriptwriters or anyone who simply prefers working at a command prompt.

Among several other things, you can use Diskpart to do the following:

Convert a basic disk to a dynamic disk

Convert a dynamic disk to a basic disk.

Create a partition at an explicit disk offset.

Delete missing dynamic disks.

There are two types of partitions you can create: Primary and Extended. Only a Primary partition can be made bootable, so if you are planning to install an OS, you will have to select this option. For backup purposes, you may opt for Extended partitions.

Now, to see which number is associated with the volume you are planning to work with, type: list volume.

Depending on what you want to do to the partition you can select any of the following commands. Typing help and hitting Enter enumerates the options.

Example :

To extend size by 5GB, type Extend size=5000 To shrink the volume by minimum 1GB, up to a maximum of 5 GB, type, Shrink desired=5000 minimum=1000 You can even delete a partition by typing, Delete Partition and hitting Enter.



Windows also includes an additional command-line tool for file, system, and disk management, called Fsutil. This utility helps you to change the short name of a file, find files by SID’s (Security Identifier) and perform other complex tasks.

FSUtil and Diskpart are powerful, but not for inexperienced Windows user. So do be careful, please.

There is not enough space available on the disk(s) to complete this operation

What do you do if you get the message – There is not enough space available on the disk(s) to complete this operation?

Most new computers with OEM Windows pre-installs come with 4 partitions. Hard disks configured as basic disks are limited to 4 primary partitions or 3 primary partitions and 1 extended partition and multiple logical drives. And as such, if you try to shrink the OS partition, you may find that you cannot create a 5th partition due to this limit.

There could be two possible solutions for this issue:

As the disk pre-configured by OEM may have conflicts with the disk management tool in Windows, you should try some 3rd party tool to re-partition the disk.

You may try to delete a less important partition created already and merge the space to create a new partition with a proper drive letter.

Deleting the partitions created by the OEM is often not possible due to the way the OEMs configure the partitions. Therefore the option then is to extend the operating system partition back to the original size to regain use of the unallocated space. If additional storage is needed, consider adding an external USB hard disk.

7 Best Tabbed Command Line Tools For Windows 10

7 best tabbed command line tools for Windows 10




Command line might not be the most visually appealing or the simplest feature of Windows 10, but it’s without a doubt the most powerful one. Although Command Prompt is one powerful tool, it still lacks certain features such as tabs.

In practice this means that if you want to run Command Prompt and see your network information and a developer console at the same time, you have to open two different command line windows and switch between them. This is impractical, but since Command Prompt doesn’t have native support for tabs, it’s currently the only way to do it. Since there’s no way to use tabs with Command Prompt on Windows 10, we decided to show you few command line alternatives that support tabbed interface.


Console2 is a simple and lightweight Command Prompt alternative for Windows 10. This tool has been one of the best Command Prompt alternatives for years and even though it hasn’t received any updates recently, it’s still an outstanding tool. Console2 comes with support for tabbed interface which allows you to simultaneously run different command lines. If you want to differentiate your tabs, you can assign a different name to each tab in order to organize your tabs more easily.

READ ALSO: PyCmd is an Alternative to Windows Command Line Console

Console2 comes with all sorts of customization options, and it allows you to set the transparency of your console window. One thing we didn’t like about this tool is the lack of support for standard copy and paste shortcuts. Besides that, Console2 sounds like an amazing alternative to Command Prompt, and if you’re looking for a command line tool that supports tabs, Console2 is one of the tools that you should check out.


It’s worth mentioning that this tool also supports Windows style text editing, thus allowing you to select, cut, copy and paste into command line similarly to any text document while using the familiar shortcuts. Another feature we need to mention is the search toolbar that allows you to quickly search for any output in command line. In fact, PowerCmd will highlight each word from your search query in a different color thus making it easier for you to find it.

Lastly, if you heavily use command line, you’ll be pleased to know that PowerCmd allows you to automatically save console output log, so you can examine it at any time, even if your PC or application crashes.


We have to mention that ColorConsole comes with rather simplistic search feature, but at the same time, it allows you to manually select and highlight output in command line, so you can easily find it when needed. Another feature is the ability to export your output as HTML or RTF which some users might find helpful.

Expert tip:


This tool comes with support for Unix commands and it allows you to launch remote sessions such as SSH, Telnet, FTP, VNC and many others. Each session is listed in the sidebar on the left so you can easily create new sessions.

MobaExtrem comes with graphical SFTP browser, so you can easily drag and drop files when you’re using SFTP connection. In addition, you can also display remote application directly on your PC while running SSH, TELNET or RLOGIN/RSH sessions. If you’re connecting to remote server using SSH, you can edit remote files directly from MobaExtrem by using built-in MobaTextEditor. This tool also allows you to remotely control Windows desktop computers by using RDP protocol. Of course, there’s support for remote Unix desktop by using XDMCP.

READ ALSO: How to Add Run Command to Start menu in Windows 10

Terminal Wings

Terminal Wings comes with minimalistic and visually appealing interface, and just like all the predecessors on this list, it supports tabbed interface. This application is simple to use and it allows you to easily select, copy and paste any input from the command line.


ConEmu is another free command line tool with tabbed interface. This tool comes with a simple user interface, which makes it perfect for basic users. Despite its simple appearance, ConEmu has a wide range of features hidden in its settings. You can change the visual appearance of the command line, set predefined code to run and much more.

PowerShell ISE

If you want to use command line with tabs on Windows 10, there’s no need to download alternative tools from the Internet since you can use Microsoft’s PowerShell ISE. This tool is integrated in Windows 10 and it comes with many features, one of them being tabbed interface.

Of course, there’s support for a wide range of PowerShell commands, but if you’re not too familiar with PowerShell commands, there’s a list of commands along with additional details about each command available right from the PowerShell ISE.

Although Command Prompt doesn’t support tabs, Windows 10 comes with its own alternative in form of PowerShell ISE. If you’re looking for a third-party alternative, PowerCmd offers wide range of features along with a user-friendly interface. Unfortunately, PowerCmd isn’t available for free, but if you’re looking for a free tabbed command line tool for Windows 10, ConEmu might just be what you need.

READ ALSO: Complete List With All Shell Commands in Windows 10

Was this page helpful?


Start a conversation

6 Useful Linux Command Line Tools For System Administrators

The command line is seriously powerful. With it users can execute powerful actions on computers and even servers in quick succession without the need to fuss with heavy GUI tools, and even invoke automated scripts that can do massive amounts of actions at once. This is especially useful when it comes to doing serious system administration.

With a terminal-based tool, users can gain access to massive amounts of information remotely and with ease. What are some of the best command-line based tools on Linux? Let’s find out!


When programs operate, they often have access to certain files on the system. These files could be images, video files, or even just library files being accessed. This tool is useful because it allows the user to view a list of any and all open files, along with processes from the programs accessing them.

Since Lsof is so well known, users don’t need to go out and install it. Chances are it’s already installed on the system. To test it out just run the lsof command.


Nmap (Network mapper) is a command line tool that allows the user to create a map of a network. Despite being just a command line tool, Network mapper has many, many options. It can discover network hosts, operating systems, and scan ports, check firewall security, and even find network exploits that may be present.

Like many of the tools on this list, Nmap is found in most Linux distributions’ software repositories. To install it, search for nmap and install it.


Tcpstat is a terminal program that can read and report back network interface information to the user. The program can do this by directly monitoring one specific device in real time or by reading data from a dump file. A simple, but useful utility especially for system administrators looking to find out the performance of specific network cards.

To install Tcpstat, check your Linux distributions’ package repository. Alternatively, download a package of it at chúng tôi or get the source code directly from the developer.


Htop is an improvement on a terminal-based tool known as “Top.” It offers improvements on top such as better visual readouts (menus and user interfaces), more user-friendly and interactive than Top, etc. This program allows users to view running programs, processes, memory usage, and pretty much everything you’d see in a normal task management GUI tool on the Linux desktop.

This tool is especially helpful for system administrators who look for easy ways to kill, restart or suspend unresponsive programs over a remote connection. It also comes in handy when checking in on the overall CPU and Memory performance. The program is available in most Linux distributions’ package repositories. Open up a terminal window and search for “htop” to install it.


For those looking for a way to look over network packets there is Tcpdump. It’s a simple package analyzing tool that can show TCP/IP network traffic as it happens. Using Tcpdump allows users to view detailed information about the contents of packets both coming (and leaving) through the network in real time and dump it into files for further viewing later.

This sort of tool is a favorite for forensic and security professionals, as it allows the ability to “spy” on Internet traffic from any computer it can connect with. To install Tcpdump, open up a terminal and search and use the package manager to install Tcpdump. It’s most likely in the default repositories.


System administrators on Linux might find themselves in a command line for most of their work from managing servers or even client computers and other things. That’s why it’s very important to find out the best command line-based tools to make the job easier. Each tool featured on this list does exactly that: makes system administration easier on Linux, each in its own way.

Derrik Diener

Derrik Diener is a freelance technology blogger.

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.

What Is Google Collections, And How To Create, Edit, Share And Remove It

Google has an update to its Pinterest-inspired Collections feature inside the Google app. Collections will get a taste of Google’s AI by offering you suggestions about items you searched for and grouping them into one. This means that Google will look for patterns in your Searches to suggest new collections so that you can get back to doing what you started.

Collections inside the Google app will sort out searches related to activities like shopping, cooking, and other hobbies. Not only can you save the collections recommended for you but also create new ones depending on what you like and share them with family and friends. This will also improve your search experience as Google will first show you what might want to see by learning from your collections.

What is Google Collections

The latest update to Google Collections makes revising your older searches easy. For collections created previously, Google shows you other related items, including websites, images and more through its AI. This helps you avoid typing in a search query yourself. Suggested Collections is live in the US starting today and will expand to other regions soon.

Another feature added to Google Collections is the ability to collaborate on a collection by sharing them with friends and family. Prior to this, you could only share viewable collections with others. The update, thus, allows members in a group to make changes to a collection like family members using a shopping list or employees sharing and editing work-related items.

How to create a Google Collection

Step 1: Open the Google app on your Android device.

Step 2: Hit the Collections tab at the bottom.

Step 3: Tap on New at the top right.

Step 4: Enter a name for your collection.

Step 5: Tap on Create.

A new collection has been created for you to save links, images, and places from Google search results to find them later quickly.

How to use Google Collections

Now that you’ve created a new collection inside Google Collections, it’s time for you to learn how to get it going. You can add pictures, websites, and places to a collection, remove them at will, share your collections to others and also delete them if you no longer deem it necessary.

RELATED: How to access Google Collections

How to add something to a Google collection

You can add anything you search on Google to Collections.

Note: For collections to work, Google Chrome needs to be set as your default web browser on your smartphone.

Step 1: Open the Google app.

Step 2: Tap on the Search bar at the top.

Step 3: Search for anything you’re interested in. To give you an example, we searched for “Quick party recipes”.

Google will show you a number of a bunch of results related to your search.

Alternatively, you can also save items like places on Maps, searching for images on Google Search or when opening articles from your Google feed.

Step 4: Tap on any of the results listed.

Step 5: Tap on the Add to  icon at the top.

By default, this page will be saved to your most recent collection, which in this case is the Favorite Pages collection.

Step 6: To save the page inside your new collection, tap on Change at the bottom right.

A list of options will pop up including the Collection that you created previously.

Step 7: Tap on the collection you want to save the link on.

The selected items will be moved to your preferred collection. You can also add the items to a new collection by tapping on New Collection.

How to remove saved items from a Google Collection

Step 1: Open the Google app.

Step 2: Tap on the Collections tab at the bottom.

Step 3: Select the collection you want to remove items from.

Step 4: Tap on the 3-dot icon of the item that you want to remove.

Step 5: Tap Remove.

Step 6: If you wish to remove multiple items from a collection, either long-press one of the items and select the items or tap on the 3-dot icon of an item, tap Select and select the items. After selecting the items to remove, tap the trash icon at the top right and confirm the deletion by tapping Remove.

How to share a Google collection

Step 1: Open the Google app.

Step 2: Tap on the Collections tab at the bottom.

Step 3: Select the collection you want to share with friends and family.

Step 4: Tap on the Share button at the top under the collection title.

Step 5: You’ll be asked to switch your collection from private to public. To do this, tap on the toggle that’s displayed on the screen.

Step 6: Now decide whether you want the people you’re sharing a collection to just view your collection or make changes in the future. Select any of the following options:

View only link: Select this by default if you do not want others to edit your collections.

Contributor link: Select this only if you want the people you’re sharing with to have the ability to make changes to your collection later.

Step 7: Tap on Continue.

A link to your collection will be created. You can now share the link to anyone from your contacts listed in the share sheet or on the apps that are installed on your phone. You can manually send the link by tapping on the Copy icon.

How to delete a Google collection

Step 1: Open the Google app.

Step 2: Tap on the Collections tab at the bottom.

Step 3: Select the collection you want to delete.

Step 4: Tap on the 3-dot icon at the top right.

Step 5: Tap Delete.

Step 6: Confirm the process by tapping on Delete again.

Race To The Finish Line With Grand Prix Bets From Mybookie, Betus And Onwin

The Australian Formula 1 Grand Prix is one of the most eagerly anticipated events of the year. Talent from the best racing countries in the world battles out through fuel, metal, and fire to have a chance at the podium. In the world of online gambling, F1 has gained almost a cult following with many sites now having it in their selection and the diversification of bets help to secure a win for the bettors. As they move with the times, these online gambling sites have opened their doors to not only crypto casinos but also crypto sportsbooks and this makes it more accessible to a wider audience and allows users to have a higher payout. Sites like MyBookie, BetUS, and ONWIN encourage this kind of betting and open up worlds of opportunity to their users.

Most experienced sports bettors love a sport because of the adrenaline rush that they experience at every moment of the game. With F1, that adrenaline rush is a constant high that every racing fan chases. Motorsport is not only about the competition between the racers who race for the benefit of being crowned champion but it is also about the teams who compete to make and race the best cars. There are a lot of big companies such as Shell, Rolex, and Petronas that are staked in the sports and as such, the lucrative nature attracts a very eager individual who wants to make money from the other side of the track.

MyBookie: Race to the Winning Line

MyBookie is an online casino and sportsbook that offers great odds for some of the biggest games in the world. Their F1 register looks to be particularly good. There are the traditional runners who have the expected odds on them and the underdogs that have a lot of pressure riding on them.

Max Verstappen is set at -280, indicating that he is sure to win this tournament, but his strongest competition, Lewis Hamilton is set at +2400 and after last year’s loss, it is most likely that Hamilton is looking for some redemption. The closest bet next to Verstappen is Sergio Perez with +430, followed by Fernando Alonso at +840. Experienced F1 bettors know that even though Hamilton is considered an underdog for this race, his talent is sure to be enough for a win.

BetUS: Best Bet on a Win

BetUs hosts some of the best betting selections by covering a wide range of sports and international tournaments. Their F1 selection looks very promising, especially with the interesting odds for Hamilton and Verstappen, indicating a higher payout.

Verstappen is sitting significantly higher at -300, expressing much confidence in him taking the cup. However, the odds are confident about Hamilton as well, sitting at +2200, indicating that he is expected to perform exceptionally well. Sergio Perez is slightly higher in payout here, set at +450, but Fernando Alonso has jumped to +900, which expresses the great potential for a good payout.

ONWIN: Winning From the Start

ONWIN is making waves in the Brazilian and European markets with its incredible selection of casino options and its diversified sportsbook. Users have a choice of traditional table games along with a live casino and various mobile games. Although the site does not have a motorsports option yet, it will very soon because of how popular the sport is in Brazil. However, there are many other highly lucrative ways to turn a profit on the site.

Due to the site being exclusively crypto-focused, there are a variety of bonuses that can be availed. Users can deposit any of the 8 different currencies that are accepted by the site and receive a 100% or 30% bonus with USDT or BTC. Along with this, there is a 40% bonus on every 3rd deposit of DOGE and LTC and a crazy 50% bonus on USDC and TRX deposits.

In addition, the sportsbook consists of classic sports with classic bets but also branches into more specific bets such as goals scored, number of goals, and number of cards given. Altogether, these aspects accumulate through the game and even if the bettor does not win outright, they still receive their winnings from these small bets.

Final Thoughts

Formula 1 is one of the largest motorsports in the world because of the excitement it creates and its lucrative nature. Many sites cover this sport because of its popularity and offer users a lot of opportunities to win by also creating very specific bets which greatly increases the bettor’s likelihood of winning. BetUS and MyBookie have given great odds to their users and ONWIN is soon to follow in this path.

For more information, please visit:

Update the detailed information about Create And Edit Animated Gifs From The Command Line In Ubuntu 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!