04-29-2009
Windows command shell equivalent in Unix
In Windows we use cmd.exe \c as the command SHell
What is its equivalent in UNIX ?
Thanx for all your help.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi Guys,
Is there a way I can generate a Diagnostic Report for Unix app server/database server (for sun solaris and aix) similar to the system diagnostic report in Windows NT(winmsd).
Basically I am looking for the following details below in a single comprehensive report. If there is no... (2 Replies)
Discussion started by: neer
2 Replies
2. Programming
Hi,
Is there any unix equivalents available for the folllowing windows function ?
FindFirstFile
FindNextFile etc.....
Or do i have to write an equivalent api??
Can anybody help me to do the same??
thanks in advance
Ani (2 Replies)
Discussion started by: ani
2 Replies
3. UNIX for Advanced & Expert Users
Hi all,
Is there any command in unix equivalent to setlocal in windows.
setlocal command is really useful in restoring local environment variables in windows.
Thanks,
Sonal. (7 Replies)
Discussion started by: sonaluphale
7 Replies
4. Windows & DOS: Issues & Discussions
In Unix I can use command line to do a find for files older than so many days and remove them. I can also capture the date to see if its a saturday and do something different. Are there any dos/intel command line equivalent commands to do this on a windows 2003 server? This is from an... (6 Replies)
Discussion started by: MizzGail
6 Replies
5. Linux
Hi,
I've set my Unix User Profile Variables as follows..
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
I want to set the same codepages in my Windows Vista Environment..
How can i do that..? Whether the variable names remain same ..?
Please help
Regards,
Vikram... (1 Reply)
Discussion started by: vickramshetty
1 Replies
6. Shell Programming and Scripting
Hi Can any one please let me know which will be the PHP equivalent of the below Unix statement,
curl -H "Content-type: application/json" -H "Accept: application/json" --data-binary '{"text" : "how to check the temperature?"}' -H "X-JaskUid:111" -X POST "www.google.com/res"'Thanks in advance!!
... (0 Replies)
Discussion started by: vidhyaS
0 Replies
7. Shell Programming and Scripting
Hello,
I work on Windows and I use Putty to access a remote UNIX server.
I am trying to build a shell script that will have as main task to open the
Windows command prompt (cmd) and run some Windows commands thereafter. The commands are actually file transfer commands that will download a file... (14 Replies)
Discussion started by: rookie2785
14 Replies
8. Windows & DOS: Issues & Discussions
Hi,
The title of this post is a little vague but I couldn't think of what to call it.
In Unix you can perform the following command
ftp -v IPADDRESS <<END
put FILE
END
In a DOS command prompt, is it possible to do the same kind of thing that the "<<END" does?
So for example, ... (4 Replies)
Discussion started by: Ste_Moore01
4 Replies
9. UNIX and Linux Applications
I want to replace Windows terminal server mostly due to cost reasons license cost for 2100 users goes out of roof.
The end-user is all windows but I want a jump server that is UNIX based , I have some experience with VNC but I don't want options exists in UNIX to run a terminal services for 2100... (10 Replies)
Discussion started by: lazerz
10 Replies
10. Shell Programming and Scripting
Hi all,
I am learning POSIX shell programming, and the book I read, uses the let command for integer arithmetic.
I have downloaded and use the shellcheck program on Linux.
This programs says:
In POSIX sh, 'let' is undefined.
See the screenshot attached.
What is the POSIX... (1 Reply)
Discussion started by: johnprogrammer
1 Replies
LEARN ABOUT XFREE86
fs_getfid
FS_GETFID(1) AFS Command Reference FS_GETFID(1)
NAME
fs_getfid - Display the fid for a given path in AFS
SYNOPSIS
fs getfid [-path] path [-help]
DESCRIPTION
The fs getfid command displays the FID for a given path in AFS. The FID is the internal identifier used by AFS encoding the volume name
and the file within a volume.
CAUTIONS
This command is not available on Windows prior to version 1.5.60.
OPTIONS
-path path
The path of the file (or directory).
-literal
Windows only: for a symlink or mount point, evaluates the specified object rather than the object it refers to.
-help
Prints the online help for this command. All other valid options are ignored.
OUTPUT
The output contains the name of the file or directory, the FID, and the volume containing the FID. The Windows version also outputs the
object type instead of using "File" to describe all objects.
EXAMPLES
On Unix:
% fs getfid .
File . (536870918.1.1) contained in volume 536870918
% fs getfid /afs/example.com/foo
File /afs/example.com/foo (536870918.20404.20997) contained in volume 536870918
On Windows:
% fs.exe getfid \afsexample.eduuseroob
\afsexample.orgusroblinktestsroken
Directory \afsexample.eduuseroob (537235559.1.1) contained in cell example.edu
fs: File '\afsexample.orgusroblinktestsroken' doesn't exist
% fs.exe getfid \afsexample.eduuseroob
\afsexample.orgusroblinktestsroken -literal
Mountpoint \afsexample.eduuseroob (536873032.1162.16997) contained in cell example.edu
Symlink \afsexample.orgusroblinktestsroken (536874416.27618.488969) contained in cell example.org
PRIVILEGE REQUIRED
The issuer must be have read access in the directory containing the path to be resolved.
COPYRIGHT
This document was written by Steven Jenkins, and is released under the IBM Public License Version 1.0. Jeffrey Altman made several
suggestions and additions.
OpenAFS 2012-03-26 FS_GETFID(1)