02-12-2005
Unix Equivalents to the following Dos Commands
cd...
dir...
rem ...
type...
del...
copy...
mkdir...
rmdir...
attrib...
And how can I get this information?
My email address is ***removed***
By way the 001 are numbers.
Last edited by Perderabo; 02-12-2005 at 10:54 PM..
Reason: Remove email address.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I know nothing of unix and didn't know where to start. I've heard of a DOS to Unix translator, and since I know DOS pretty well, I thought that this program would be perfect. Any help you could give me would be appreciated.
Bryan (1 Reply)
Discussion started by: bferguson
1 Replies
2. Shell Programming and Scripting
Hi !
I need to convert a DOS batch file to Unix Shell script. Can anybody help me by providing equivalent Unix shell script code to this DOS batch code?.
for /F "tokens=2,3,4 delims=/- " %%i in ("%date%") do set DateStamp=%%k%%i%%j
Any help would be great.
Thanks,
John. (1 Reply)
Discussion started by: john413
1 Replies
3. UNIX for Dummies Questions & Answers
I ran a search for "Unix Dos" in the search field box and checked a few pages' results but did not find what I was looking for. I am trying to find out if there are choices of applications that would enable using Unix commands inside a Windows environment, particularly the DOS Prompt. The only... (2 Replies)
Discussion started by: HLee1981
2 Replies
4. Cybersecurity
hi eveybody,
i use sco unix as server and dos as client . how i can connect from unix server to dos client ( how to telnet to dos and run commands?)?
thanks. (1 Reply)
Discussion started by: shrb78
1 Replies
5. SCO
hi eveybody,
i use sco unix as server and dos as client . how i can connect from unix server to dos client ( how to telnet to dos and run commands?)?
thanks. (1 Reply)
Discussion started by: shrb78
1 Replies
6. Windows & DOS: Issues & Discussions
hi eveybody,
i use sco unix as server and dos as client . how i can connect from unix server to dos client ( how to telnet to dos and run commands?)?
thanks. (8 Replies)
Discussion started by: shrb78
8 Replies
7. Shell Programming and Scripting
Hi,
Is there any method to connect unix box(Excecuting unix commands through Batch Files) through DOS prompt. (1 Reply)
Discussion started by: shekhar_ssm
1 Replies
8. Windows & DOS: Issues & Discussions
how do I replace a word in a file using DOS commands?? (1 Reply)
Discussion started by: sabithareddym
1 Replies
9. UNIX for Dummies Questions & Answers
Is any one who know a good tutorial for Unix bash script and Ms-Dos scipt??
if yes, if is possible to upload it or give me the link???
What is the difference betwwen uvix and ms-dos script?? (1 Reply)
Discussion started by: Tom2
1 Replies
10. UNIX for Dummies Questions & Answers
I am in the process of converting a batch script into a shell script for CentOS but am a complete Unix newb.
I have the follow Windows batch code:
for /f %%a in (C:\STEAMINVITE\extractor\workfile3.tmp) do C:\Python27\Python.exe C:\STEAMINVITE\extractor\sidconv.py %%a >... (2 Replies)
Discussion started by: spinner0205
2 Replies
RMDIR(2) BSD System Calls Manual RMDIR(2)
NAME
rmdir -- remove a directory file
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <unistd.h>
int
rmdir(const char *path);
DESCRIPTION
rmdir() removes a directory file whose name is given by path. The directory must not have any entries other than '.' and '..'.
RETURN VALUES
A 0 is returned if the remove succeeds; otherwise a -1 is returned and an error code is stored in the global location errno.
ERRORS
The named file is removed unless:
[ENOTDIR] A component of the path is not a directory.
[ENAMETOOLONG] A component of a pathname exceeded {NAME_MAX} characters, or an entire path name exceeded {PATH_MAX} characters.
[ENOENT] The named directory does not exist.
[ELOOP] Too many symbolic links were encountered in translating the pathname.
[ENOTEMPTY] The named directory contains files other than '.' and '..' in it.
[EACCES] Search permission is denied for a component of the path prefix, or write permission is denied on the directory containing
the link to be removed.
[EPERM] The directory containing the directory to be removed is marked sticky, and neither the containing directory nor the direc-
tory to be removed are owned by the effective user ID.
[EBUSY] The directory to be removed is the mount point for a mounted file system.
[EIO] An I/O error occurred while deleting the directory entry or deallocating the inode.
[EROFS] The directory entry to be removed resides on a read-only file system.
[EFAULT] path points outside the process's allocated address space.
SEE ALSO
mkdir(2), unlink(2)
STANDARDS
The rmdir() function conforms to ISO/IEC 9945-1:1990 (``POSIX.1'').
HISTORY
The rmdir() function call appeared in 4.2BSD.
BSD
June 4, 1993 BSD