Command Line Flashcards
Change the owner and the group the file or folder is associated in Linux
chown
Syntax:
chown filename
chown : filename
Note requires super user permissions
Change file or folder permissions in Linux
chmod
Syntax:
chmod
r: 4
w: 2
x: 1
Rebuilds the boot sector for the active system partition in Windows
Bootrec /fixboot
Rebuilds the master boot record for the system partition in Windows
Bootrec /fixmbr
Looks for Windows installations not currently in the BCD store and shows you the results without doing anything
Bootrec /scanos
Looks for Windows installations not currently in the BCD store and gives you the choice to add them to the BCD store
Bootrec /rebuildmbr
Exports a copy of the BCD store to a file
Bcdedit /export
Imports a copy of the BCD store back into the store
Bcdedit /import
Display current path in Linux
pwd
Change a user’s password in Linux
passwd
Find out syntax and switches for a command in Window
[command name] /?
Find out syntax and switches for a command in Linux
man [command name]
Use of |
Symbol for pipe command
Extra text typed after a command to modify its operation
A switch
Meaning of symbol -
A switch in Linux
Meaning of symbol /
A switch in Windows
Display contents of the current working directory in Windows
dir
Display contents of the current working directory in Linux
ls