need to replace special characters with equivalent hexadecimal unicode under Linux or Unix like operating system. How do I list or find out unicodes for given characters?
am login to a remote server using a ssh client. I am annoyed with the arrow key behavior during insert mode in Vim. As soon as I hit arrow keys, vim display A B C D on screen. How do I fix this problem under Linux, FreeBSD, OpenBSD, NetBSD, Apple OS X or Unix-like operating systems? How can I fix arrow keys that display A B C D on remote shell?
ow do I use the rsync tool to copy only the hidden files and directory (such as ~/.ssh/, ~/.foo, and so on) from /home/jobs directory to the /mnt/usb directory under Unix like operating system?
I see many examples and man pages on how to do operations like search-and-replace using sed. But, I want to match a given string or a regular pattern expression and display on the screen. How do I print lines with matching pattern using sed command only under Unix like operating systems?
Idownloaded Firefox version 15.0 from mozilla ftp server. The name of file is firefox-15.0.tar.bz2. How do I install Firefox under any Debian / Ubuntu / Fedora or any Linux distribution?
often type the wrong command as follows under Linux bash shell:
rsync -av dir1 [email protected]:/path/to/dir1
cp -av file1*.txt file2*.txt /path/to/dest
I need to correct those command as follows:
rsync -av dir5 [email protected]:/path/to/dir1
cp -av delta1*.txt delta2*.txt /path/to/dest
How do I replace dir1 with dir5 or file with delta and repeat the last command under bash shell?
I got over 100s of HTML files in the following format:
my data 1
my data 2
my data 3
my data 10000
my data N times
How do I extract text between two words (<PRE> and </PRE>) in unix or linux using grep command?