Text appearing on top whenever I open terminal

Whenever I open my terminal I get this text at the top: bash: export: `PATH-/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/ethiojob/workspace/Android/android-sdk-linux/tools’: not a valid identifier bash: export: `PATH-/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/ethiojob/workspace/Android/android-sdk-linux/platform-tools’: not a valid identifier I have downloaded and installed the Android ADT plugin to use with Eclipse, and I believe this has something to do with it. If there is anything to be … Read more

App is accessible through Unity Launcher but can’t access through terminal

I had installed Sublime Text 3 a few months back, and using some online resource I had made it accessible through Unity Launcher(unfortunately, I don’t remember which resource, or how I did it). So, currently I can only open Sublime Text using launcher and to open a new file I have to use the menu(or … Read more

New to Ubuntu! Help?

Good Morning Everyone, I have taken the leap to Linux from a life of Windows and OS X. And I’m stuck! I am trying to install Sense from the Open University and it looks like I have to follow a manual install for the time being, but their guide assumes I already know how to … Read more

Restore terminal background in ubuntu unity [duplicate]

This question already has answers here: How to reset the terminal properties and preferences? (7 answers) Closed 7 years ago. Here how my terminal look, it’s ugly. and I want to restore it to the Purple background with the gray test color. Like the default installation. Answer It looks like you are using Terminator which … Read more

I want to run commands after logging into the remote server using shh

#! /bin/bash read -p ‘Username: ‘ user read -p ‘IP: ‘ ip ssh “$user”@”$ip” osascript -e ‘ tell app “System Events” to display “Hello world”‘ This file will be ran automatically so it’s not like I’m running command after command It doesn’t run the last command and I don’t know why This is terminal on … Read more

Command is available in …; The command could not be located

I have a problem in my terminal. I’ve just downloaded an Android emulator and this happens on my terminal. I’ve been using Ubuntu 12.04. Command ‘lesspipe’ is available in the following places * /bin/lesspipe * /usr/bin/lesspipe The command could not be located because ‘/usr/bin:/bin’ is not included in the PATH environment variable. lesspipe: command not … Read more

How to Compress (More than one at a time) PDF files from terminal

I work with lots of rather large imaged documents ranging from a few bites to multiple gigs of data per file. I need these documents to take up less storage space and especially to be more electronically portable and transmittable. For single documents, I’ve been using: ps2pdf -dPDFSETTINGS=/ebook inputfile.pdf outputfile.pdf Which code I found here … Read more

How would I create an alias to run a game? (Minecraft)

I would like to create a command-line alias to run a game (Minecraft in particular). How would I accomplish this? I want to type in runmc to run the command java -jar /root/.minecraft/launcher.jar. I already put the following into my .bashrc file alias runmc=”java -jar /root/.minecraft/launcher.jar” It won’t detect this as a command. When I … Read more