General :: Handle Bindkey In Zsh?
Apr 8, 2011There is not a lot of info on that command, I didn't find a manpage nor a info and not more than examples on the web. Is there any tutorial or info on internet?
View 2 RepliesThere is not a lot of info on that command, I didn't find a manpage nor a info and not more than examples on the web. Is there any tutorial or info on internet?
View 2 RepliesI've been trying to understand issues that occur during a uClinux distribution build (so I can include such issues in a module I'm writing for students). My process has been to work through errors that occur due to missing packages, then remove the distribution and build it again to uncover what happens.One thing I notice is different sets of warnings within each iteration of making a new build. From the document here (URl...it states, "A typical warning involves a variable being used before its value has been set."
So my question: is there a way to verify that the issue throwing the warning has been resolved by the end of the make build?And, is running make build again an option or could this cause problems within the build directories or image?
We have setup a High Available Cluster on two RHEL 5.4 machines with Redhat Cluster Suite (RHCS) having following configuration.
1. Both machines have Mysql server, Apache web server and Zabbix server.
2. Mysql database and web pages reside in SAN.
3. Active machine holds virtual IP and mounted shared disk.
4. We have also included a script in RHCS which takes care of starting Mysql, Apache and zabbix server on the machine which turns active when cluster switches over.
The above configuration holds good if Active machine goes down as a result of hardware failure or Reboot. What if, If any one service say Apache/Mysql/zabbix running on active hangs or become unresponsive.How can we handle this scenario ? Please advice.
Where to get a plugin to handle *.zip files
View 2 Replies View RelatedI recently installed another harddrive into my Arch Linux computer. The first time I booted up all worked fine. The next time I restarted my computer though I was greeted with a /dev/sda2 not found error.
See, basically sometimes my boot harddrive is sda and sometimes it's sdb. It appears to be completely random and I don't see any options for making it non-random in the BIOS. How do I fix this?
cwrsync is a great tool for synching "My Documents" to a network drive in Windows. However it uses a portion of cygwin to do this which uses forward slashes instead of back slashes. So, a manually typed command like the following works great: rsync -r --delete --exclude "My Pictures" "/cygdrive/c/Documents and Settings/demo/My Documents/" /cygdrive/j
However, you cannot put a variable like %userprofile% in this as it comes out like this (and is unrecognized): rsync: change_dir "/cygdrive/C:Documents and Settingsdemo/My Documents" failed: No such file or directory (2)
i have a script where i need to pass an argument "1234:-)"if i run this as ./shell.sh 1234:-)it wont work because invalid character. i need to handle this with expect utility so if i pass it as ./shell.sh "1234:-)"no issue in bash but expect does not recognize this.
View 7 Replies View RelatedI am experiencing weird problem with Gnome 2.30.2 on my Debian installation. I can't open "Computer" from places, also, partitions which are not explicitly defined in fstab are not mounted automatically.
View 2 Replies View RelatedI did a backup of the ssd on my eeepc using the following command from a Linux Mint on a USB key:
dd if=/dev/sda1 of=/media/disk/eeepc_save/SYSTEM/system.bck
(/media/disk in an external USB disk)
I deleted the ext2 partition using GPartEd on live USB key and created it back. I rebooted Linux Mint and restored the filesystem using the opposite command :
dd if=/media/disk/eeepc_save/SYSTEM/system.bck of=/dev/sda1
I mounted /dev/sda1 and when I "ls" the root directory, I get several "NFS stale file handle" messages concerning directories (/dev and other). I tried "e2fsck -y", had a bundle of corrections that resulted in the deletion of the directories. I don't use NFS. I did the same for the user filesystem and had no problem (it's an ext3 partition). The two filesystems are the ones that came with the original Xandros installed on my eeepc and that were mounted with union-fs.
I attended many interviews for Linux Admin post. Most of them asked me a common question 'How do you handle System Performance Issues' on a Linux Server. Now how do I answer this?
View 12 Replies View RelatedI would very much appreciate infos about a Linux distro handling win32 applications through wine and easily capacity to manage files within FAT32 partitions.
View 7 Replies View Related1.- What would be the simplest way to port and handle tarballs downloaded in windows, to a CentOS 5.4 based system (Elastix in fact), but without graphic mode (that is, using only the CLI)? The system has network contection, usb interfaces and a working DVD-RW attached.
2.- If the answer is Samba, how I get Samba working on my system?
* I am implementing mass storage device on a test board.
* It contains NAND flash.
* Using corresponding "udc driver" and "g_file_storage" I could make my test board enumerate as mass storage device on my Linux machine.
* my 16 MB pen drive (test board) is now ready for read/write.
But there are some Bad Blocks on the NAND.Hence copy is not complete. Although on Linux machine there is no error message. Now , what is there in a normal pen drive which manages the Bad Block or what am I missing so that such Bad Blocks are managed.
Here is the error I get on my test board :
mtdblock: erase of region [0x2c0000, 0x4000] on "Bon 2" failed
end_request: I/O error, dev mtdblock2, sector 5664
Buffer I/O error on device mtdblock2, logical block 708
[code]....
I am proposing moving from the mainframe to Linux. Problem is that I am not aware of a scheduling product that is available to handle the production code. Currently using CA7. Is there anything out there that accomplishes the same thing? As you can tell, I am NEW to Linux!
View 1 Replies View RelatedWe have Linux server in our environment for application development. In this server we mounted so many NFS share from Storage. Past few days we receive this error in
syslog kernel: nfs_statfs64: statfs error = 116
Some user fased this error "Stale NFS file handle"
Server info
OS= RedHat
Kernel = Linux hostname 2.4.21-47.ELsmp #1 SMP Wed Jul 5 20:38:41 EDT 2006 i686 i686 i386 GNU/Linux
Currently running Slackware 13.37 64-bit on a notebook and finally have suspend/hibernate after realizing that USB devices, especially USB HDDs, need to be disconnected before suspend/hibernate can work. Problem is I have 2 USB HDDs that are connected to my notebook whenever the notebook is stationary for the extra storage so I'd like to create a script that would get invoked that would stop the suspend/hibernate process if certain partitions are mounted. I know what I would like to accomplish, but I have basic scripting knowledge so I was hoping to get some assistance.
1. script would basically store a user specified string containing devices that are non-USB, ie: NONUSB="/dev/sda /dev/sdb"
2. possibly use /etc/mtab to get a list of what is currently mounted and then remove lines containing whatever is specified in $NONUSB and store those values in $USB
3. run a for loop that executes 'umount' on each token in $USB
3a. stop suspend/hibernate process if 'umount' fails at any point
3b. if 'umount' passes then suspend/hibernate
I get this error which means I cant visit websites. I cant rm, cp, mv, vi, ... this file. How do I regain the ability to browse the internet? Is there a way I can create a /etc/resolv.conf2 and have my system use that instead?
View 4 Replies View RelatedI'm trying to create a signal handler thread to handle SIGALRM signals. The main thread calls the following function before creating any other threads
Code:
pthread_t Timer::Init(long _clock_interval_musec)
{
// Set interval.
clock_interval = _clock_interval_musec;
// This is called while in a single threaded environment.
[code]....
clock_interval is 50.
Is the timer not firing? Did I not set my interval correctly? Did I not proper block the signals ensuring the that the default handler would not take care of them?
I sometimes get confused by the varying command line options I need to run common Unix archiving and compression software (e.g. gzip, bzip2, zip, tar).
Is there a program out there that can just Do What I Mean for common cases? For example:
when i am using traceroute command, it is giving the erro as follow: traceroute [URL]: Temporary failure in name resolution Cannot handle "host" cmdline arg [URL] on position 1 (argc 1)
View 2 Replies View RelatedIve been using Ubuntu(and its derivitives) since Vista BSOD'd on me while working on an important paper(trapped on the HD) back in October and and have loved it since. However in light of coming waves in the world of Gnome, I'm looking at my options in the event the Gnome shell 3 /Unity (which seem to me like a divided political party -my domain of geekiness stretches from history to computers- )go south.
I am looking for a non gnome options for then. For now i'm thinking of switching to KDE with OpenSuse (since Kbuntu seems poorly integrated from what i've heard) which I've found very little negative about other than the entire Microsoft>mono affair. What are the main difference in Kde and Suse when compared to run of the mill Ubuntu. this includes but is not limited to
>File management (will the configuration files in my home folder be compatible?)
>package management( How does suse go about doing this?)
>Window management (Windows style or mac style)
>miscellaneous commands commonly used (i.e sudo, mkdir, rm etc)
And finally how will it run on a laptop (Dell Inspiron 1545) that originally was built with vista in mind? Will compiz still work as well as it does in gnome? on a side note: how does kde differ from gnome other than appearance differ in relation to the average jane ( my sister, the other user of my laptop, though she mainly uses it for firefox)
How do I delete a file if it happens like this.
-????????? ? ? ? ? ? temp.cgi
being a btech student we have an asignment on call centre management.i have the source code and know how to do it in windows,but i prefer to do it in linux tats in debian5.can you tell me how to handle sql database in debian5?also after debian installation i cant login as a root but can acess root terminal from home.how can i solve this?is it because of wrong partitioning during installation?
View 7 Replies View Relatedi have files more than 2G on my pc. some programs like wireshake can't habdle them. is there any chance to configure my OS to handle these files.i am using Ubuntu 9.10.
View 1 Replies View RelatedSometimes the variables will be 0 and sometimes not, and of course the output may also be 0%...What is the best method to handle division by zero errors in awk.
View 2 Replies View RelatedI am playing GNUchess and my cpu can't handle it. I read on the web that GNUchess always uses 100% of cpu.
I wonder if there is a solution to this, like setting the cpu freq lower or something. Please help.
I own a Intel(R) Pentium(R) Dual CPU T2370 @ 1.73GHz
Is/are there a tutorial(s) for KDE 4 maybe written for OpenSuse? I'd especially like to get a better handle on having different activities on different desktops. I've seen one for PCLinuxOS that refers to something called ZUI and zoom in & out but am having trouble relating.
View 3 Replies View RelatedI'm trying to set up a virtual web server using virtual pc and a net-tuts how to. So I went ahead and downloaded Ubuntu 9.10 Server Edition, but it only comes in 64-bit, and vpc doesn't handle 64-bit. How I can get around this? I have a machine that I could set up as a server, but that is also only 32-bit.
View 6 Replies View RelatedI was running Ubuntu fine with 2 monitors, I added another video card and a 3rd monitor, and now it only shows up on one. All 3 work fine when I boot to Windows 7.
Can Ubuntu do all 3 or not?
I have seen there are some tricks to handle transparents switches using Nagios. Does anybody know if it is possible to handle unmanaged switches connected in daisy chain?In my network I have some devices connected in this way [switch]--[dev_1]--[dev_2]--[dev_3]
where "switch" is a managed switch" and dev_i is a device with an unmanaged switch inside (no snmp available). All the devices have an IP address. Is it possible to get the network topology with Nagios?