rhel 123 notes ashok
to power off the system ctrl+Alt+DEL
note: yelp command on gnome used as help
to change password we use passwd command
head and tail command : to see beginning and end of the file respectively ( head -n1 first 1 line from the above and tail -n1 last line from the end )
uparrrow gives previous history command , down arrow gives the very next history command left and right move along the character where cursor is placed
..
man -t : to prepare a man page for printing using PostScript
tar -cvzf destination filename (compresses file and z compresses)
if used j instead of z ,compresses more
in gnome shell ctrl+ alt + L to lock the user if graphical user is idle for few minutes
command history ; history command !1 showa the first command in the history
!a = shows any command on history having a as string
esc + . = appends the very previous word on the current cursor
editing the command line::
ctrl + a = come to the start of the command line
ctrl + e = go to the end of the command line
ctrl + u = clear the cursor from the beginning of the command line
CTRL + k = clear from the cursor to the end of the command line
~ = home directory
. = current directory
.. = parent directory
cd - = previous directory
.files = hidden files
No comments:
Post a Comment