Wednesday, November 18, 2009
utc date time
to get the utc date and time of the current system enter "date -u" on the command line.
ascii character code
found this little tidbit to help out a friend.
to find the ascii representation of a character in vim, place the cursor over the character and enter ":ascii".
for more info on this vim feature, enter ":help ascii" in vim.
to accomplish the same thing from the command line, "echo" the character and pipe to "od" (read the man page).
to find the ascii representation of a character in vim, place the cursor over the character and enter ":ascii".
for more info on this vim feature, enter ":help ascii" in vim.
to accomplish the same thing from the command line, "echo" the character and pipe to "od" (read the man page).
Subscribe to:
Posts (Atom)