February 6th, 2012 |
admin |
1) Login to your shell account 2) Use –export option to export your public key in text file $ gpg –export –a > my.key OR $ gpg –export -a | mail -s “My key” friend@domain.com Where -a –armor : Create ASCII armored output. –export : Export the key for sharing First command write output to [...]
February 5th, 2012 |
admin |
The Volume Management daemon, vold, creates and maintains a file system image rooted at root-dir that contains symbolic names for CD-ROM and floppy, ZIP/JAZ, and DVD-ROM devices and other removable devices. Use volcheck command to checks for media in a drive and by default checks all floppy media. 1) First put CDROM/DVD into drive 2) [...]
February 5th, 2012 |
admin |
IA32: To boot system for emergency mode (boot from CD) 1) Boot from Solaris 1st CD 2) At Solaris Device Configuration Assistant, Press F2 key 3) Then press ENTER key twice 4) At Identified Devices, Press F2 key 5) At Boot Solaris, select CD to boot system 6) At next screen system will ask about [...]
February 3rd, 2012 |
admin |
The kldconfig utility displays or modifies the search path used by the kernel when loading modules using the kldload utility or the kldload syscall. You can also use sysctl command (the sysctl utility retrieves kernel state). Try any one of the following command as a root user: 1) To get PATH (or directories name) type [...]
February 2nd, 2012 |
admin |
I’m making a post about this because I ran into this today and I couldn’t remember how to rename a file starting with — (two or double hyphens) in Linux (e.g. –index.html). The customer has obviously used a Windows FTP client to rename index.html to –index.html so it is out of their way, and now [...]
February 2nd, 2012 |
admin |
How do I rename a user name from ‘tom’ to ‘jerry’ under Ubuntu Linux? You need to use the usermod command. It can modify the system account files (such as /etc/passwd) to reflect the changes that are specified on the command line. The syntax is as follows: usermod -l {new-login-name} {current-old-login-name} In this example, rename [...]
February 1st, 2012 |
admin |
Sometimes the GUI is just too slow. Learn how to resize images, add drop shadows, splice mp3s, clone hard drives and more with the command line. Here are a few tasks that you might want to consider using the command line for. 1. Resizing images Unless you are doing some sort of cropping there is [...]
January 31st, 2012 |
admin |
i have been struggling to find some way or another to transfer my file from one linux server to another using commandline. Before this i was just using cpanel to do backups. Here is an easy way to accomplish transferring backup files from one server to another in linux. Just simple command using SCP (secure [...]
January 30th, 2012 |
admin |
There are several ways to do this and the best way is to install a utility called “lsof” which you can find in /usr/ports/sysutils/lsof. Once you install this you will type: # lsof -i This will list out all the ports / ips / hostnames that are listening on your server. Another way would be [...]
January 29th, 2012 |
admin |
In many cases, the GRUB boot loader can mistakenly be deleted, corrupted, or replaced by other operating systems. The following steps detail the process on how GRUB is reinstalled on the master boot record: Boot the system from an installation boot medium. Type linux rescue at the installation boot prompt to enter the rescue environment. Type chroot [...]