-bash: 1: command not found - Immediately on loading Terminal Upon loading my terminal (since trying to install composer globally) I'm being spammed with countless amounts of -bash: 1: command not found before I even type any commands.  I'm not quite sure what to do, but this is all that happens, I load up terminal and get;  -bash: 1: command not found -bash: 1: command not found -bash: 1: command not found -bash: 1: command not found   for an unlimited amount of times until I close the terminal.  Can anyone help me fix the issue, or reset my terminal, or anything?    Update:  Trying to run rm -i ~/.profile ~/zsh* ~/.bash* like advised in the comments I got the below:  -rm: ~/.profile: No such file or directory -rm: ~/zsh*: No such file or directory -rm: ~/.bash*: No such file or directory   I still get the command not found error.
-Bash command not found appearing every time I start terminal every time I start my terminal, it always says "-bash:  .: command not found" twice.  Does anyone know how I can get rid of that?
Which are the spec bits in this cache? how can i forward requests to my own IP address to a local IP address in my network (possibly using named)? My setup  I have a linux server running in my basement. I currently have my router looking to that server for DNS lookup, so I can use named to spoof a bunch of domain names to point to my local server's local address, 192.168.0.111. This works great.  I also am running Apache and PHP on this server, and have forwarded port 80 on my router to this machine, so my public IP xx.xxx.x.xx is sent to the basement server.  This is a great development set up for me, because I can develop websites in my local network and pull them up on numerous devices with a *.mylocal.net address. I can also quickly share a website on my public IP with others that are outside of my network.  I have a static IP, so that makes this even easier.  The problem  Some applications need to have an absolute URL. My spoofed DNS doesn't work outside my network, and neither does my internal IP address.  I need to be able to access the sites at the same IP that they are accessed publicly, which is my public IP: xx.xxx.x.xx    For some reason, I can't access my own public IP address from within my own network.  My router's public IP is xx.xxx.x.xx, and when I hit xx.xxx.x.xx from outside my network I see exactly what I want -- my development website. But, when I hit xx.xxx.x.xx from inside my network, the connection times out.    I assume my ISP has a firewall that blocks requests from xx.xxx.x.xx to xx.xxx.x.xx where the origin and the destination are the same IP (or maybe this is impossible on any network?)  So how can I set up my network to forward the internal request to my public IP to the local IP of my basement server?   I would like to do this within the local DNS server I set up, or in my router, so the change can be applied to all devices in my network, and not just the basement server or the windows tablet/laptop, etc individually. how to restore windows 7 to a know working state every time it boots A couple of days ago my mother asked me to set up a computer at her house, she wants to use it to basic web browsing, video chat and nothing more.  The problem is, neither my mother nor my sister know anything about using or maintaining a computer.  What I want is to have a working base install of windows 7 and just discard everything installed, downloaded, ... when it reboots. That way I can set up a partition just for saving files and whatever they do the computer will always return to a working state at start up.  can that be done?  PS: Sadly linux is not an option since my sister wants to be able to play some games with my steam account and not all of them run with wine. Cannot change backlight brightness Ubuntu 14.04 I need to know the ip address of another machine in a lan network.  What is the Windows command for getting ip address from machine name and vice versa? Choosing power supply, how to get the voltage and current ratings? Recovering eigenvectors from SVD Named parameters in JDBC Is $\{\emptyset\}$ a subset of $\{\{\emptyset\}\}$? I feel stupid asking, but I can't seem to find the answer to this anywhere. I'm trying to follow  to edit my bash prompt, but there is no .bashrc in either my user directory (~/.bashrc), or in my home directory, or in the main file system directory.   There is no .bashrc in /etc/ (there is a bash.bashrc, however).   Do I create a .bashrc file in my user or home directory? Is there a better, more recent set of instructions for modifying the bash prompt? Let $x$ and $y$ be positive integers such that $xy \mid x^2+y^2+1$. Let $x$ and $y$ be positive integers such that $xy \mid  x^2+y^2+1$. Show that $$ \frac{x^2+y^2+1}{xy}= 3 \;.$$ I have been solving this for a week and I do not know how to prove the statement. I saw this in a book and I am greatly challenged. Can anyone give me a hint on how to attack the problem? thanks Tracking disk I/O by application in Windows? Is there a utility for Windows that operates similarly to iotop for Linux?  I'm looking for simple tool that can tell me what applications are writing to disk and how much they're actually writing. Age of universe? Well relativity teaches us that time interval between two events is a frame dependent quantity, then how can we say that our universe is 13.8 billion years old? Should it not depend on who is asking this question? Square of a second derivative is the fourth derivative I have a simple question for you guys, if I have this:  $$\left(\frac{d^2}{{dx}^2}\right)^2$$  Is it equal to this:  $$\frac{d^4}{{dx}^4}$$  Such that if I have an arbitrary function $f(x)$ I can get:  $$\left(\frac{d^2 f(x)}{{dx}^2}\right)^2 = \frac{d^4 f(x)}{{dx}^4}$$  Sorry if it's a pretty simple question, but I was trying to simplify something like this:  $$\left(a \cdot \frac{d^2}{{dx}^2} - f(x)\right)^2 g(x)$$ that's where it came up. Query the post which have a thumbnail I've got a highlight section on the header of my website which shows the title and the thumbnail of the last X posts having a thumbnail.  Is there any custom query which allows me to retrieve only the last X post having a thumbnail?  At the moment I'm retrieving the last X * 10 posts (because not all the posts have a thumbnail) hoping that in this result I'll have X posts having a thumbnail. After doing my query I add a condition: if (has_post_thumbnail()).  This solution is really uncertain and ugly, a custom query with a thumbnail parameter would be great but I couldn't find any hint about it. I have been trying to install a fresh copy of Ubuntu 14.04 (64 bit version) on my desktop PC from a USB memory stick, but I'm experiencing a problem.  Each time I attempt an install I received an  "[Errno 5] Input/output error", followed by the following message before the installer exits:  "The installer encountered an error copying files to the hard disk: [Errno 5] Input/output error This is often due to a faulty CD/DVD disk or drive, or a faulty hard disk. It may help to clean the CD/DVD, to burn the CD/DVD at a lower speed, to clean the CD/DVD drive lens (cleaning kits are often available from electronics suppliers), to check whether the hard disk is old and in need of replacement, or to move the system to a cooler environment."  In order to attempt to remedy this I have so far tried installing Ubuntu to two different hard disks, one of which is brand new, and each time I have received the same error "Errno 5" message. I have also tried installing from 3 different USB sticks using torrent and Ubuntu site iso images burned using both Unetbootin and Startup Disk Creator.  Again, these measures have proved fruitless.  The installation process varies depending of the iso I use, with the Ubuntu download page iso exiting at an earlier stage compared to the torrented iso.  The later torrent iso returns an error and exits when I am prompted for my name, computer's ID and password.  I've never experienced anything like this when installing previous versions of Ubuntu.  I'm absolutely stumped!  Does anyone have any more ideas? Creating fillable PDFs os.path.abspath("..") returns "C://User//" which is false + __file__ is not defined --> execution from Spyder3 (Python 3.6) i am finding nowhere a solution I am running UBUNTU 12.04 and using GNOME desktop, which I installed additionally. Logging into classic GNOME I see the following:     WHAT is this "earth globe" icon coming from?Seems to be named "starter". It is configured to open a website, from my bookmarks. WHY is it not showing the TIME?   Using dconf-editor I had no luck in answering the above questions.  Any idea? How do I use SQL's GETDATE() and DATEADD() in a Linq to SQL expression? If I have a Linq to SQL expression like this:    from subscription in dbContext.Subscriptions  where subscription.Expires &gt; DateTime.Now select subscription   I want this to to use the SQL Servers GETDATE() function instead of the time of the machine running the C# program.  The next question would be how to translate this:  DateTime.Now.AddDays(2)   to this:  DATEADD(dd, 2, GETDATE())