here i am some usefull information ..................
here
hostname : this shows machine name
c:\>hostname
ipconfig : this shows ip address, subnetmask , gateway , dns ip , alternate dns ip , mac id
(physical address)
c:\>ipconfig
or
for more information
c:\>ipconfig /all
c:\>ipconfig /?
getmac : this command is used to watch mac address
c:\>getmac
arp -a : address resolution protocol shows address of hostmachine which is connected
to our machine
c:\>arp -a
c:\>arp /?
netstat - this command shows which type of connection with what type of protocol and
portno is established with our system
c:\>netstat -a
c:\>netstat /?
at : this command is used to schedule a task at particular time
c:\>at \\hostname 8:30pm /interactive "calc.exe"
how do we see all machine which are connected to us
c:\>net view
fsutil: this command shows file system utility
c:\>fsutil fsinfo ntfsinfo c:
above command shows ntfs cluster size
c:\>fsutil hardlink create c:\new.txt c:\old.txt
above command creates a hardlink between old.txt and new.txt file
c:\>fsutil file createnew c:\empty.txt 5000
creates an empty file with 5000 space
how do we create user accounts
c:\>net user user1 abc123/? /ad
above command creates useraccount named as user1 with abc123/? passwd
c:\>for /L %i in (1,1,10) do net user sam%i abc123/? /ad
creates 10 users as sam1 , sam2, sam3.... with passwd abc123/?
c:\>net user user1 /de
used to delete user1 account
c:\>c:\>for /L %i in (1,1,10) do net user sam%i /de
deletes all sam users
practical
c:\>notepad users.txt
type here some user names
rehana
roshini
fatima
laila
tabassum
arju
zahera
dibaag
save notepad
c:\>for /f %i in (users.txt) do net user %i abc123/? /ad
above command creates all user accounts which are mentioned in users.txt file
startmenu - run - compmgmt.msc
or
mycomputer - rc - manage
at this wizard select local users and groups
select users
tasklist : this command shows current running tasks information
c:\>tasklist
for remote system
c:\>tasklist /s 10.1.1.1
taskkill : this command is used to terminate current running tasks
c:\>taskkill /pid 888
for remote system
c:\>taskkill /s 10.1.1.1 /pid 1002
i think its useful for u...............
here
hostname : this shows machine name
c:\>hostname
ipconfig : this shows ip address, subnetmask , gateway , dns ip , alternate dns ip , mac id
(physical address)
c:\>ipconfig
or
for more information
c:\>ipconfig /all
c:\>ipconfig /?
getmac : this command is used to watch mac address
c:\>getmac
arp -a : address resolution protocol shows address of hostmachine which is connected
to our machine
c:\>arp -a
c:\>arp /?
netstat - this command shows which type of connection with what type of protocol and
portno is established with our system
c:\>netstat -a
c:\>netstat /?
at : this command is used to schedule a task at particular time
c:\>at \\hostname 8:30pm /interactive "calc.exe"
how do we see all machine which are connected to us
c:\>net view
fsutil: this command shows file system utility
c:\>fsutil fsinfo ntfsinfo c:
above command shows ntfs cluster size
c:\>fsutil hardlink create c:\new.txt c:\old.txt
above command creates a hardlink between old.txt and new.txt file
c:\>fsutil file createnew c:\empty.txt 5000
creates an empty file with 5000 space
how do we create user accounts
c:\>net user user1 abc123/? /ad
above command creates useraccount named as user1 with abc123/? passwd
c:\>for /L %i in (1,1,10) do net user sam%i abc123/? /ad
creates 10 users as sam1 , sam2, sam3.... with passwd abc123/?
c:\>net user user1 /de
used to delete user1 account
c:\>c:\>for /L %i in (1,1,10) do net user sam%i /de
deletes all sam users
practical
c:\>notepad users.txt
type here some user names
rehana
roshini
fatima
laila
tabassum
arju
zahera
dibaag
save notepad
c:\>for /f %i in (users.txt) do net user %i abc123/? /ad
above command creates all user accounts which are mentioned in users.txt file
startmenu - run - compmgmt.msc
or
mycomputer - rc - manage
at this wizard select local users and groups
select users
tasklist : this command shows current running tasks information
c:\>tasklist
for remote system
c:\>tasklist /s 10.1.1.1
taskkill : this command is used to terminate current running tasks
c:\>taskkill /pid 888
for remote system
c:\>taskkill /s 10.1.1.1 /pid 1002
i think its useful for u...............
No comments:
Post a Comment