Unzip & Env Path Name


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Unzip & Env Path Name
# 1  
Old 08-29-2011
Unzip & Env Path Name

I need to download team foundation server on Unix (4 simple instructions below), but I am stuck.. I am newbie Unix user, so please be patient.

-cd /home/Myname/Downloads, Unzip
-Unzipped to /home/Myname/DestFolder
-cd DestFolder, type tf -help, works there
- outside this folder, doesn't work. I understand I have to include its path
- How and where do I add its path? in the .cshrc file under /home/Myname?
- I tried adding "set path=($path /home/myName)" also "set path=(.)" in /home/myname/.cshrc, but didn't work.

To install the Cross-Platform Command-Line Client for Team Foundation Server
  1. Unzip the archive (.zip file) that contains the client.
  2. Configure your shell or system path to include the folder to which you unzipped the archive.
  3. To verify that the client is working, at a command prompt, type tf, and then press ENTER.
    If the client is correctly installed, output that starts with Microsoft Team Explorer Everywhere Command-line Client (version 10.0.0) appears.
  4. For information about any of the commands, you can type tf help Command, where Command is the name of the command for which you want information. For example, you could type tf help checkin.

Last edited by software2007; 08-29-2011 at 03:37 PM..
# 2  
Old 08-29-2011
Put /home/Myname/DestFolder in your PATH. If that's where the command is, that's where PATH needs to look.

Under no circumstances should you put . in your path, that's a big security hole.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Env file path

Hi, when I run "env" there are few variable prinitng related to application $env SRV=test NVV=test2 from where this file is invoking, I checked in ./bash_profile and ./profile didn't find the variable. So what is the file I need to edit this variable. (8 Replies)
Discussion started by: stew
8 Replies

2. UNIX for Dummies Questions & Answers

[solved] Where & what bash env file, Mac OS?

Hi! I wanted to simplify my bash prompt, so I edited my etc/bashrc file. I thought this was the file that would override any other env files. When I opened it, I saw that the way it was setup was not what my prompt looked like, although I forget exactly what was there. But i edited it the way I... (1 Reply)
Discussion started by: sudon't
1 Replies

3. UNIX for Dummies Questions & Answers

Unzip subfolder to some path.

I have a zip file (somezipfile.zip) with the following contents in it: dir1/subdir1/somefile1.txt dir1/subdir2/somefile2.txt dir1/subdir2/somefile3.txt dir1/somefile3.txt dir1/somefile4.txt dir2/somefile5.txt dir2/somefile6.txt Lets say I unzip this to my home directory so now I have: ... (0 Replies)
Discussion started by: mrwatkin
0 Replies

4. Shell Programming and Scripting

unzip few files but with same path and file name.

Hi Everyone, For exmaple, i have 5 .zip files. So i can do "unzip -L -o file1.zip -d /home/user1" for every 5 files. But the problem is those 5 zip files, have same path and file name. So if i use "-o", all will be overwirte. The output is unzip all files, but put all unzipped files... (1 Reply)
Discussion started by: jimmy_y
1 Replies

5. Shell Programming and Scripting

Representing dir path for copy through env variable

Hello , i am on linux, and im trying to figure out why my cp command cant copy one file. I am trying to use variable in which i stored path to location where is file i wish to copy. $ echo $ORA_ALERT_LOG /u01/app/oracle/diag/rdbms/ring11/ring11/trace $ $ $ pwd /home/oracle $ cp -p... (2 Replies)
Discussion started by: tonijel
2 Replies

6. Shell Programming and Scripting

Get zip path from unzip -l

I am listing the contents of a zip file and then grepping for a specific string ie: filename.a to get a line like: 309753 10-18-08 15:20 etc/filename.a The etc/filename.a is the path the file is at within the zip file...how might I capture this path as I want to use that path to unzip that... (2 Replies)
Discussion started by: phreezr
2 Replies

7. Programming

Not able to use NFS mounted directory as buffer for untar & unzip.

Hi, For a new requirement, we are trying to use NFS mounted directory as the buffer (TMP_DIR) for untar. Target OS- VxWorks Host OS - Windows Embedded. mounted a directory in wondows onto VxWorks. During untar process of GNU we come across utime, for chaning the time stamp of the... (0 Replies)
Discussion started by: suraj.bc
0 Replies

8. Linux

untar & unzip

I'm using GNU tar version 1.14 on Linux 2.6.9-22.ELsmp I'm looking into using command: tar --directory=/home/brendan/tarFileTest -xzvf Archive.tgz Is the whole process (unzip and untar) done in memory? Or in a step-by-step process - unzip to directory, then untar in directory? Where can I... (1 Reply)
Discussion started by: brendan76
1 Replies

9. HP-UX

How to Unzip a .ZIP file in Unix without using unzip cmd..?????

Hi All I have ftped a .ZIP file (zipped using WinZip in Windows) to my Unix server (HP-UX). I don't have unzip cmd available in my curent Unix version Please let me know any cmd in UNIX (other than unzip) using which I can unzip this .ZIP file . Please elaborate on the commands aval and... (5 Replies)
Discussion started by: sureshg_sampat
5 Replies

10. UNIX for Dummies Questions & Answers

Questions on PATH env havinf softlink

I have a question regarding the PATH environment on SunOS. I am setting the PATH as - export PATH=$PATH:/bin and /bin has a softlink as lrwxrwxrwx 1 root root 9 Oct 1 2004 /bin -> ./usr/bin So, will this path will work for the bin having the softlink? Thanks for... (1 Reply)
Discussion started by: xgr3
1 Replies
Login or Register to Ask a Question