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;

How to clear screen in sqlplus

If you want to clear screen in sqlplus window there is small cmd that you need to remember which is below, SQL> select username from dba_users; USERNAME -------------------- BOCMS BOAUDIT  CKI8727 GRU9151 MNA9189 FRE9283  KKO8750  KMU8649 HME9041 ZLP1492 DBE9176  QRA8651  PFI8706 SQL> host cls Once you hit enter the screen will be cleared. SQL> select username from dba_users; USERNAME -------------------- BOCMS BOAUDIT  CKI8727 GRU9151 MNA9189 FRE9283  KKO8750  KMU8649 HME9041 ZLP1492 DBE9176  QRA8651  PFI8706 SQL>clear screen Once you hit enter the screen will be cleared.

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