Basic ubuntu commands and shortcuts for daily usage Shortcuts ctrl +alt +t open a terminal ctrl +alt +l lock the pc ctrl +shift +t open a new tab ctrl +shift +w quit in current tab ctrl +shift +q quit from terminal ctrl +shift +f to find something ctrl +q close application alt +tab switch applications f11 full screen Commands pwd print working directory cd change directory mkdir make directory rmdir remove directory ./ execute a file touch create a file rm ...
===Change Forgotten Root Password in Ubuntu=== 1) reboot the ubuntu pc and press the "Esc" key 2) press 'e' key to edit the menu 3) now replace the text line "ro quiet splash $vt_handoff" with "rw init=/bin/bash" 4) press:ctrl+x 5) type "mount | grep -w /" command 6) type "passwd" 7) then type your new password 8) retype the new password 9) type "exec /sbin/init"
Comments
Post a Comment