Japanese character encoding in gedit

Gedit Editor use japan character encodings

Gedit dosen't support Japanese major character encodings - EUC-JP, Shift-JIS and ISO-2022-JP, so Japanese users often face garbled characters on gedit. If a users select "Japanese" on installer, it's good to make gedit detect these character encodings to ensure out-of- the-box support for Japanese. With following commands, gedit supports these encodings. gconftool-2 -s /apps/gedit-2/preferences/encodings/auto_detected --type=list  ..

How to get all mac address

Hardware or Ethernet Address

The below command will help you to get all the mac or Ethernet address ifconfig | awk '/HWaddr/ { print $NF }' The ifconfig command is used to get the system IP address and MAC address.   ..

How to set java path in linux

Linux set jdk env variable

How to Set JAVA_HOME / PATH variables Under Linux Bash Profile? Set JAVA_HOME / PATH for single user Login to your account and open .bash_profile file $ vi ~/.bash_profile Set JAVA_HOME as follows using syntax export JAVA_HOME=. If your path is set to /usr/java/jdk1.5.0_07/bin/java, set it as follows: export JAVA_HOME=/usr/java/jdk1.5.0_07/bin/java Set PATH as  ..

Monitor system load tload xload command

System load average

Normally we use top command to see the system load average, you can also use tload and xload command to monitor the system load. top -c tload -s 10 xload   ..

How to start stop or restart samba server

Optional commands and runlevel command

Samba can be used to allow connectivity between Linux and Windows(95,98,NT,2000). Samba can be used to share printers, share directories, connect to an NT domain, and many other useful features. Runlevel ScriptOptional CommandStart Samba/etc/rc.d/init.d/samba start /usr/sbin/smbd -D and /usr/sbin/nmbd -DStop Samba/etc/rc.d/init.d/samba stopkillall -TERM smbd and killall -TERM nmbdRestart Samba/etc/rc.d/init.d/samba restartkillall -HUP smbd  ..

How to check free space

Find free disk space

Check free Space df -h h - human readable format, specifies disk space in MB or GB The above command is used to specify how much free space is available in your system.   ..

Previousnext how to backup thunderbird email accounts in linux

Backup thunderbird email account

Go to mails folder using the following path, /home/.thunderbird/xxxxxxxx.default/mails. Mails folder contains all the mails you have received and the sub folders you have created under your account. Copy the mails folder and save it in CD or DVD. Whenever you need to reinstall thunderbird or reinstall OS, backup thunderbird  ..

Make directory and then change into it

Function to create and change directory

How often do you make a directory (or series of directories) and then change into it to do whatever? 99% of the time that is what I do. Command to create a directory and change to it # md () { mkdir -p "$@" && cd "$@"; } This BASH function 'md'  ..

Delete everything except specific file

Finding all files with SUID and SGID

Remove everything except that file # find . ! -name <FILENAME> -delete it will remove everything except the file names matching you can use also use wildcards Finding all files on local file system with SUID and SGID set find / \( -local -o -prune \) \( -perm -4000 -o -perm -2000  ..

Find and delete empty directories

How to delete empty directories

Find and delete empty directory, start in current working directory. # find . -type d -empty -delete The above command will search for the empty directory from the current directory and will delete all the empty directories. Be careful while you play in server.   ..

How to simulate on screen typing

Simulate typing

You can simulate on-screen typing just like in the movies echo "simulate typing" | pv -qL 10 This will output the characters at 10 per second. Very useful command for simulating typing.   ..

Run the last command as root

Refer to command line n

Run the last command as root (sudo !-n, n...1,2,3...) # sudo !-1 Run the previous command as root ! Start a history substitution, except when followed by a blank, newline, = or (. !n Refer to command line n. !-n Refer to the current command line minus n. !! Refer to the  ..

How to create a big file

Linux command to create large file

The below command will help you to create a very big file. dd if=/dev/zero of=/tmp/bigfile bs=1024k count=100 This command is capable of creating a huge file.  ..

How to break a network with only three keystrokes

Thinking of installing a wireless network

Thinking of installing a wireless network? Think again. Although we deliberately omit describing some key components of the hack attack kit to prevent intruders from wrecking havoc, those missing pieces are all too readily available. It used to take a certain amount of talent to break into a computer network, but  ..

How to hack the computers in your lan

Have fun on your lan computers

How to hack the computers in your LAN I am going to show you a way to have fun with the users of your lan. Upside down images The idea i got from Upside-Down-Ternet article written by -someone-. He/she described how to play a trick on the neighbours that was leeching  ..

< Previous 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 Next >

Tech Bluff