Skip to main content

Linux Equivalents Of Dos Commands

Linux Equivalents Of  Dos Commands

Are you a Dos command pro but finding it a little difficult to settle down with Linux command lines? Here's some help!

Linux command line is the most powerful tool of Linux, that can help you do almost every thing right from the shell. And if you are aware of the Dos commands, learning Linux command line becomes a lot more easier. Below is a list of Linux equivalents 36 Dos commands to help you out. You can also read and more Linux commands in this list of 83 Linux Commands For Beginners.

DOS commandsLinux commandFunction
assignlnCreate a file or directory link
/?manHelp about the command
break ontrapTrap ctrl-break / Trap signals
cdcdChange directory
chdirpwdDisplay directory location
clsclearClear screen
copycpCopy a file
datedateDisplays or sets the date
delrmDeletes one or more files
dirlsDisplays a list of files and subdirectories in a directory
doskey /hhistoryhistory List command history
echoechoDisplays messages, or turns command-echoing on or off
editvim (or other editor)Editor to edit files
exitexitExit the command prompt
fcdiffCompare two files and show differences
findgrepSearches for a text string in a file or files
formatmke2fs or mformatFormats a disk
findgrepLook for a word in files given in command line
hostnamehostnamePrint host name of computer
ipconfigifconfigDisplay/configure network interface
memfreeDisplays the amount of used and free memory in your system
mkdirmkdirCreate a Directory
moremore or even lessDisplays output one screen at a time
movemvMoves files and renames files and directories
pingpingSend packets to a network host
route printroute -nPrint routing table
rebootshutdown -r nowReboot system
renmvRenames a file or files
setset or envList all environment variables
tracerttracerouteShow routes and router hops to given network destination
timedateDisplays or sets the system time
tasklistps -aux toptop List executable name, process ID number and memory usage of active processes
typecatDump contents of a file to users screen
verUname -aOperating system/shell version
winstartxStart x-windows
xcopycp -RCopy all file of directory recursively

Comments

Popular posts from this blog

How to make the email Address Dummy in Oracle Database?

How to make the email Address Dummy in Oracle Database? Query to make the email Address as dummy, update <tablename> set <Columnname> = '@' || <Columnname> where <Columnname>  is not null; Query to Remove the email Address as dummy, update <tablename> set <Columnname>= substr(<Columnname>,2,length(<Columnname>)) where <Columnname> is not null;

Upgrading Windows Server 2008 R2 with a command-line tool using DISM

Windows Server 2008 R2 includes a command-line tool called the Deployment Image Servicing and Management tool, or DISM. It's functionally equivalent to the Windows Anytime Upgrade feature in client versions of Windows. You can run it from an elevated command prompt. To determine the currently installed edition: DISM /online /Get-CurrentEdition To determine the editions you can upgrade to: DISM /online /Get-TargetEditions To actually perform an upgrade: DISM /online /Set-Edition:<edition ID> /ProductKey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

List of FTP commands for the Microsoft command-line FTP client

Command-line options As you're starting the program from a DOS prompt: ftp [-v] [-d] [-i] [-n] [-g] [-s:filename] [-a] [-w:windowsize] [computer] -v  - Suppresses  verbose  display of remote server responses. -n  - Suppresses auto-login upon initial connection. -i  - Turns off interactive  prompting  during multiple file transfers. -d  - Enables  debugging , displaying all ftp commands passed between the client and server. -g  - Disables filename  globbing , which permits the use of wildcard chracters in local file and path names. -s:filename  - Specifies a text file containing ftp commands; the commands will automatically run after ftp starts. No spaces are allowed in this parameter. Use this switch instead of redirection (>). -a  - Use any local interface when binding data connection. -w:windowsize  - Overrides the default transfer buffer size of 4096. computer  - Specifies the computer name o...