Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6473177
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T06:26:05+00:00 2026-05-25T06:26:05+00:00

When I open a terminal, it says cannot execute the binary file and the

  • 0

When I open a terminal, it says cannot execute the binary file and the output is something like this:

bash: /home/sandeep/bin/uname: cannot execute binary file

bash: [: =: unary operator expected

bash: /home/sandeep/bin/sed: cannot execute binary file

bash: /home/sandeep/bin/ls: cannot execute binary file

This is followed by normal prompt where everything is fine. But as a programmer it is annoying to see those many errors every time you open a terminal.

The Reason i found out is that when i installed a armeabi tool chain it created a folder called bin in the home directory and all the executables inside this directory are for arm processor. But my terminal when it is being opened it is trying to execute these arm binaries and hence it shows an error that these binaries cannot be executed(since my proc is not arm)

To solve this i can remove this folder(i tried it and it worked) but thats not the optimal solution. i want to know the script that is getting executed when i open a terminal where it is trying to execute wrong binaries at the launch.

I had a look at .bashrc but there is nothing relevant to my problem in that.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T06:26:05+00:00Added an answer on May 25, 2026 at 6:26 am

    I’d debug it with strace

    strace -e trace=open,read bash > output.txt
    

    then you can check what files are getting opened when calling bash

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to do something like this: tell application Terminal activate do script ssh
I have an application that can import an XML file through this terminal command
After reading this question regarding Linux: Open Terminal From Eclipse I have the same
How can I redirect my Python script output to one of the open terminal
When I open a terminal running bash and type the following: cat\nfoo\n^Decho bar\n (where
I am trying to open a terminal that would execute a code and copy
Let's take example of a command example-command. I open terminal I write example-command in
Is it possible to open a terminal window with 3 tabs. Each tab should
Does anyone know of any free or open source terminal emulators that will emulate
I have a few different things open in the terminal whenever I'm developing --

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.