Some linux commands
- To know in which directory you are, while working in terminal.
chmod-R777/directory
- To decide whether the user is accessed to do the work or not.
pwd (enter)
- Adminitrator root mode is denoted by #.
- User mode is denoted by $.
- To shut down the computer.
halt (enter)
poweroff (enter)
shutdown -h now (enter)
- To restart the computer.
reboot (enter)
- To restart the network service.
/etc/init.d/networking.restart (enter)
Runlevels of Linux
- car/etc/inittab(enter)
- Runlevel 0: #init 0(enter): Halt,shutdown
- Runlevel 1: #init 1(enter): Single user mode, Emergency mode
- Runlevel 2: #init 2(enter): Multiuser mode without network support
- Runlevel 3: #init 3(enter): Multiuser mode with network support
- Runlevel 4: #init 4(enter): Research purpose
- Runlevel 5: #init 5(enter): GUI and X-support
- Runlevel 6: #init 6(enter): Restart
No comments:
Post a Comment