hot tip..
You may have a nas drive, or any drive that is accessible through finder, but you would like to ‘cd’ to it in the terminal, perhaps to issue some git commands.
Here is how to do this..
1. First of all, in finder, look under the SHARED list, whatever your drive is called there is what you will use in the coming command. For this example, I will assume your network drive is named: nas-fe-29-23
2. We will be mounting a specific directory on that share, for this example, I will assume that directory is named “code”. (//nas-fe-29-23/code)
3. Create an empty directory wherever you like, this will be turned in to the drive. To make that clearer, when you use the command to mount the drive which we will do in a few lines, it needs a directory to use as the mount point for your network share, dont worry, all will become clear.. For this example, ill assume you have created an empty folder in your home directory: ~/MyNewDir
4. Open terminal, and type the following command:
mount_smbfs //username:password@nas-fe-29-23/code ~/MyNewDir
When you press enter, the drive will be mounted. If you look in finder, the “MyNewDir” directory that you created, will now look like a drive and not a normal dir. It will also be given the same name as the network directory that you chose, so in this case “code”.
Now in terminal you can cd ~/code
Have fun!
I just encountered this problem, so thought id post it here for my future ref, and in case you find it, it may help..
You are running vs 2010 and 2012 side by side, you try and create a sql server db project in 2012 and get a “this project type is not supported”, relating to the project type sqlproj..
To fix this, you just need to install sql server data tools for VS 2012. You can download them from the link below.. Hope it fixes your issue..
go to the link below and click the link “Download SQL Server Data Tools for Visual Studio 2012“
http://msdn.microsoft.com/en-us/jj650015
Right click start bar -> Start Task Manager -> Select Performance Tab -> Click the “Resource Monitor” button at the bottom
In the Resource monitor, click the Overview Tab
This shows all running processes in the CPU section
All network connections are show in the Network tab
Now, in your in terminal: (start -> run -> type “cmd” hit enter)
in one window type: netstat -abfo 5
in another window, type: tasklist /svc
now correlate that info with the resource monitor, hit google for any unknown or suspicious signs, and you should finish up knowing a lot more about whats happening on your pc :)
Recent Comments