Trending October 2023 # Pem: Manage Your Personal Expenses From The Command Line # Suggested November 2023 # Top 12 Popular |

Trending October 2023 # Pem: Manage Your Personal Expenses From The Command Line # Suggested November 2023 # Top 12 Popular

You are reading the article Pem: Manage Your Personal Expenses From The Command Line updated in October 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 November 2023 Pem: Manage Your Personal Expenses From The Command Line

While expense management is a critical task, both for businesses and individuals, it generally requires you to use a GUI-based software. If you’re a command line geek who is looking for a CLI-based alternative, you should give pem a try. In this article, we will discuss the command line tool, along with the features it provides.

Note: all the examples discussed in this article are tested on Ubuntu 14.04.

Pem Installation

The easiest way (that I found) to install the tool is by downloading the package from its official website, building it from source, and then installing it. Here are the steps:





pem-0.7.9 .







An important point worth mentioning here is that instead of using wget (the first step), you can head to the GNU website to download the latest version of the tool.


Basic usage of the pem command is very easy – you just have to pass an expense note or description, followed by the expense amount. Here is an example:

The command above stores the description “Weekend Lunch” as well as the amount 700 in a file, which is named after the current month, and placed in the “.pem” folder under your HOME directory.

Note: if the expense description consists only of a single word, it is not mandatory to put it in double quotes, but if there are multiple words, it should always be put in double quotes.

Here is what the file contains:

The format of the output is [code],[tag],[income],[expense]

Use customized file name using -f option

Instead of using the standard file name and location (as specified in the previous example), you can also specify some other file using the -f option. Here is an example:

The command above will store the expense amount as well as details in the exp.txt file located on the Desktop.

Record an earning using the -e option

Like any other expense manager, the pem tool also lets you record your earnings, which can be done using the -e option. Here is an example:

Categorise your expenses or earnings using the -c option

You can attach tags or categories to your expenses or earnings using the -c option. For example:

The command shown in the screenshot above lists “Trip to Vegas” under the ‘travel fun’ category.

See a daily report using -s option

You can ask the pem command to display a daily report using the -s option. Here is an example:

You can also pass a number along with the above command to see a daily report with total after that many days. For example, pem -s 3 would display a daily report with a total after 3 days.

Similarly, you can use the -m option to display a monthly report.

Display category/tag-wise report using -C option

Sometimes it is required to view results based on a particular category or tag. You can do just that using the pem command’s -C option. Here is an example:

So you can see that the command shown in the screenshot above displays results related to the ‘travel’ category.

For more options, go through the man page.


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 Pem: Manage Your Personal Expenses From The Command Line

How To Play Mp3S From The Linux Command Line

At first, this may sound pointless. After all, aren’t there dozens of perfectly good GUI music apps out there? Haven’t we all found something we like, or at least don’t hate? Perhaps that’s true, but how much happier would you be if your music app of choice used a whole lot less resources? Or what if you could type in a command on your laptop from anywhere, and have music start playing from the speakers on your desktop? If you’re in to pranks, that works just as well on a friend/co-worker’s computer. Today’s topic is mpg123, an app which can (among other things) make a great GUI-free media player.

Get the app

Just about any Linux distribution with online repositories will have this package available, normally as just mpg123. Ubuntu users can find it in the Software Center or from the command line with


apt-get install


In the event that your distribution does not have binaries available, you can download the source code here.

The Basics

A single track can be played in a simple and pretty obvious way, just mpg123 followed by the filename, as in:

mpg123 MySong.mp3

Which will play the single track from start to finish with output something like this:


You can also use shell wildcards to send mpg123 several files at once. The simplest example is to use the above method, but replace the filename with a quick and easy *.mp3.




To set your playlist to shuffle mode, just add a -Z in there

Optionally, you can use normal bash redirect characters to feed mpg123 a list of filenames.




my-remote-machine-address mpg123






The -@ flag tells mpg123 to treat the following input as a playlist (it’s the shortened form of –list), and the < is a standard bash redirect to pull the text out of the file and use it as mpg123‘s input.

Remote Play Control

This isn’t exactly a “feature” of mpg123, it’s more like a side effect, but for this author, it’s the most handy thing about this application. You see, regular readers or Linux pros probably already know about SSH, the fantastically useful remote shell application with 1001 uses. Since SSH gives you a shell on a remote machine, you can run programs on that remote machine. As mpg123 is just another shell application, the normal rules apply. If you SSH into a machine and run mpg123, it will play out that machine’s speakers.

This is great for me. If I’m sitting on the porch with my netbook on a fine summer day, I can SSH into my desktop (which is hooked up to a home theater) and run a mpg123 to start my music without ever leaving the chair, or being forced to deal with the low-quality underpowered netbook speakers. Just SSH into the machine and run mpg123 as if you were sitting at the keyboard, as in




my-remote-machine-address mpg123





myplaylistfile Conclusion

Joshua Price

Josh Price is a senior MakeTechEasier writer and owner of Rain Dog Software

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.

How To Convert Xls File To Csv In Command Line

catdoc (in C)

The first command line tool we are going to talk about is catdoc. The tool is written in C by V.B. Vagner.

1.1 How to install it:


chúng tôi


xvf chúng tôi we have a catdoc-0.94.2 directory. Go inside this directory and run the following commands to install it:







The installation is an easy process and you should not face any problem here.

1.2 How to use it:

There are several option to run the command. I’ll tell the options that works best for the Microsoft Excel conversion:



1.3 Pros and Cons:

Pros: Straight forward installation

Cons: No selective conversion in multiple sheet scenario, it coverts all the sheets present in the xls file (one workaround would be to explicitly specify a footer in each sheet and then use option -b in the command), problems with few European characters, problem with date fields (the date fields are messed up big times), messes with quotes.

xls2csv (in Perl)

The second tool we are going to talk about is a Perl script xls2csv written by Ken Prows in Perl.

2.1 How to install it:

Download the script here. Gunzip and tar it like we did in previous section and go the extracted directory and use the following commands to install it:


chúng tôi






Remember this Perl script uses a number of other Perl modules:

2.2 How to use it:

The following command can be used to convert Microsoft excel to csv:














Option x and c (means xls and csv) are used to specify the input and output files where as b and a (means before and after) are used to specify the respective character encoding. We have use the same character encoding as in previous tool.

2.3 Pros and cons:

Pros: Good with western European character conversion and date fields, supports selective multiple sheet conversion,

Cons: Several Perl modules need to be installed, first cell should not be empty (otherwise it skips the whole row), messes with quotes

There are couple of other ways as well. Some scripts in Python and Java are also available to use but they are not as good as these two discussed here. I hope the article solves your problem. Question and suggestions are always welcomed. Cheers 🙂

Abhishek Prakash

Abhishek is a Linux lover and Opens Source enthusiast. He takes a keen interest in day-to-day computer life and wishes to share his experience with others to make their computer experience better and easier. He is the owner of increasingly popular tech blog Computer And You and Open Source blog It's FOSS.

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.

How To Manage Your Spotify Notifications

You never want to miss out on new music on Spotify. That’s why you set things up so that you get a push notification or an email letting you know whenever there is new music from an artist you’re following. But, when it comes to notifications, Spotify can help you stay on top of many other things. You can even choose how you want to get those notifications.

You may already know some of the tips and tricks that Spotify offers. But how does never missing out on new episodes or playlist updates sound? You can learn more about this and other topics by going into the app’s settings. If you ever want to make any changes, you only need to go back into settings and make the necessary changes.

How to Get Notifications on What Matter to You on Spotify

Spotify may not always recommend the best music, but sometimes they do. If it recommends a song you don’t like, all you have to do is ignore it. But what if you’re missing out on listening to your new favorite song by not giving this option a try. If you don’t think you can live with that feeling, the good news is that there’s an easy fix.

Open the Android app to see everything you can get notified about on Spotify. Tap on the cogwheel and when you’re in Settings, scroll down until you come across the notifications section. Choose the Notifications option, and you’ll see a list of everything you can get notified about. As you can see, it’s not a long list that will take up too much time to manage.

You can get notified about things such as:

Recommended music – Spotify will send you a push notification or an email when it finds music it thinks you might like.

New Music – Get notified when your favorite artist has a new song.

Playlist updates – Get notified when a playlist you follow gets updated.

Concert notifications – Get notified about updates about virtual and live shows by artists you like, online or in places near you.

Artist updates – Get the latest news on artists you listen to or artists Spotify thinks you might like.

Product news – Find out about new features that’ll be added and other products updates.

Spotify News and Offers – You’ll receive information on news, promos, and events for you.

New episode notifications – Know when there is a new episode on your favorite shows or podcasts. Here you’ll see a list of the shows you follow. To get a notification for a specific show, toggle on the option on the right.

All the options listed will offer the option to get notified either by push notification or email. You can change this at any time. It would be nice if there was a message waiting for when you open Spotify about what you never want to miss. It being displayed as a list you can easily dismiss.


You’ll never miss out on what matters to you by managing the Spotify notifications to your liking. If you ever change your mind and want to turn it off, all you have to do is follow the steps and turn off the notifications. The steps you have to follow are easy to remember so that you don’t have to waste time trying to figure it out.

How To Transform Your Reputation Into A Powerful Personal Brand

Remaining the best kept secret is a missed opportunity for everyone, especially the people you are here to serve.

Spend any time researching the topic of personal branding and you will inevitably come across someone saying, ‘we all have a personal brand whether we shape it or not.

I disagree entirely.

To suggest we have a personal brand without consciously shaping one would be like saying a busy street food vendor in Bangkok has a ‘brand’ just like McDonald’s. While both might have a reputation for serving a particular type of fast food, one clearly is a brand and the other is not.

The act of personal branding is intentional, and a clearly defined brand allows an individual or business to communicate their point of difference, values, and purpose clearly, harness the power of word of mouth and foster a loyal community and/or audience. When explaining where to find a McDonald’s, one only has to refer to the golden arches, whereas you might need to rely on other brands and landmarks to explain where to find the food vendor.

Many executives and entrepreneurs find themselves in a position where they are only remembered by the brands they work for and are associated with, rather than any form of personal brand and gravitas. They assume forging a reputation through consistent action and good work, for example serving great food, is enough, however, they end up leaving a lot open to interpretation.

For those who are thinking they would prefer to remain the best kept secret, beware the decision not to show up has its consequences. According to Sprout Social 70% of consumers, report feeling more connected when a brand’s CEO and leader is active on social. As for investor relations, 75% of investors now use social media to inform investment decisions. Let’s not forget the recruiters: research suggests 96% of recruitment teams use social media. Though social media is not the only effective way to shape and amplify your personal brand, in the digital era we live in, it is an essential place to start.

If you are ready to turn your reputation into a personal brand, consider taking these three steps:

1.Define your 4 P’s-

Promise: what do you stand for as an individual? What can people rely on you to deliver?

Packaging: what do your style, image and online profiles say about you?

Position: how do you want others to recognise and remember you? What words, phrases and ideas do you want your name to be synonymous with?

Promotion: who do you want to influence and how are you putting yourself out there?

2.Invest in getting your professional bio written

3.Ask for opportunities

Having worked in and around the media for close to two decades, I am aware of the common misconception of thinking opportunities will be offered to those only when they are good enough. The truth is powerful personal brands are forged off the back of individuals who are actively seeking opportunities to raise their profile. They don’t wait and those who do often find themselves waiting a very long time. Start by asking friends, colleagues, and peers for opportunities and introductions that will help you on your path of putting yourself out there. Never assume they will know you want help. For those who are reluctant to ask for favours, keep the Ben Franklin Effect in mind, which suggests asking for favours can lead a person to like us even more.

How To Manage Google Docs Documents From Microsoft Outlook

If you love using both the above services, why not use Harmony – a simple Outlook add-in to integrate both the services and manage Google docs documents from the desktop.

Manage Google Docs Documents from Microsoft Outlook

1. Download Harmony Add-in for Microsoft Outlook

2. After you have installed the application, start Microsoft Outlook and you will see a new sidebar has been added to the interface as shown below:

3. Enter your Google account credentials and hit the “Sign in”button. The application also works with Google Apps accounts, along with normal Gmail accounts.

4. Once you are logged in, you will see the entire list of documents stored in your Google account in the Outlook sidebar.

Editing Your Existing Google Documents from Microsoft Outlook

2. This will open your Google docs account in the “browsing pane” of Microsoft Outlook. Sign in again with your Google account credentials

3. Once you are signed in, the selected document will load inside Microsoft Outlook’s browsing pane as shown below:

Sharing a Google Docs Document from Outlook

This will open a pop up window. Enter the email address(s) of the people with whom you want to share your Google document.

You can use the rename option to rename the document and the star option to mark the document as a starred item.

Creating a New Google Docs Document from Microsoft Outlook Conclusion

The Harmony add-in for Microsoft Outlook is a must have for web workers who use Outlook and always needed a way to edit, share and create Google docs documents from their email client. This is useful because you do not have to open a new browser window just for sharing or editing a Google docs document. Please note that unlike emails, you can not create or edit a Google docs document offline – you will need an active internet connection to fetch the documents in Microsoft Outlook. Overall, the application seamlessly integrates Google docs with Ms- outlook and there are no flaws or drawbacks found as such.

Soumen Halder

Soumen is the founder/author for Ampercent, a tech blog that writes on computer tricks, free online tools & software guides.

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.

Update the detailed information about Pem: Manage Your Personal Expenses From The Command Line 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!