General :: Temporarily Broken Bash?

Jun 14, 2010

i was fiddling with some new commands i learned and typed something weird. Then bash broke on me for a while. here's the command i typed while in /bin bash > lessi believe i was in "sudo su" as the moment. i want to understand this because when I typed it bash didntork. i tried to type "ls" after and it didnt result in anything.but thats not all it didnt receive any commands.Was this a crash? and why/how did it fix itself after i logged off.

View 9 Replies


ADVERTISEMENT

CentOS 5 :: Bash Script Under Cron Produces Broken Pipe

Apr 20, 2011

I have script which does file locking via flock and then writing it's pid into that file. It perfectly works being run by hand in terminal, running under cron on Debian, but somehow fails being run under cron on Centos 5.6. Script part and straced outputs are below.

bash code:

#setting lock
mylog "setting lockfile $LOCKFILE"
exec 200<> $LOCKFILE

[code]....

View 4 Replies View Related

Server :: Bash Scripting Sending Write Error - Broken Pipe

Apr 19, 2010

I move a page from a server in SuSe to Debian and this script was working well but when I move the page to a Debian base server it is sending in the logs the following message:

cat: write error: Broken pipe, referer: [URL]

The cgi does the following, read a db file plain text that repeat each 15 lines an information where to look the seraching info. if it is there sends to the output the 15 lines block. but it was not sending errors in suse distro, does anybody knows why the cat's line are sending "cat: write error: Broken pipe," if I am not writing or making a pipe with ">" to none file.

View 8 Replies View Related

General :: Removing / Disabling Firewall Happens Temporarily

Apr 16, 2011

I tried following the instructions in this link to disable and remove iptables firewall using commands:

# service iptables save
# service iptables stop
# chkconfig iptables off
# iptables -F
# iptables -X
# iptables -t nat -F
# iptables -t nat -X
# iptables -t mangle -F
# iptables -t mangle -X
# iptables -P INPUT ACCEPT
# iptables -P OUTPUT ACCEPT

Its seems to work temporarily and then the firewall gets enabled again by itself even without restarting.

View 1 Replies View Related

General :: Setting ACL For A Temporarily Mounted Directory?

Sep 8, 2011

I wanted to set ACL for a directory. For that it is important that the device should be mounted as acl on that directory.

But I do not want to add the acl mount in /etc/fstab. So I am tempoararily mounting the device to some temporary directory as acl and setting ACL and then unmounting it. Then, I'm mounting it to the original directory.

The code is below:

tmp="/tmp1/backup"
orig="/mnt1/backup"
dev="/dev/sda2"
mkdir -p $tmp

[Code]....

The group is being changed, but ACL is not set for the directory.

View 1 Replies View Related

General :: Fork: Resources Temporarily Unavalbale?

Apr 30, 2010

I am continuously getting fork: resources temporarily unavailable even when I am typing ls command.

View 1 Replies View Related

General :: Temporarily But Completely Uninstall Ubuntu 10.4?

May 24, 2010

How do I temporarily but completely uninstall Ubuntu 10.4? I can't locate it in my registry, either using RegEdit or Revo Uninstaller. This is temporary. I will re-install on a different computer of mine that has much greater memory.

View 4 Replies View Related

General :: Temporarily Prevent FTP Uploads From Certain Accounts?

Feb 10, 2011

What is the least painful way to temporarily prevent uploads to an FTP server by certain accounts? they all only upload directly to their home directory setup in /etc/password

View 1 Replies View Related

General :: Temporarily Disable Internet Connection On System

Jan 20, 2011

Is there any way to temporarily "switch off (and back on)" the internet connection on a system (that runs linux)? The following methods are not allowed:Turning off the router. That would lead to a lot of angry young individuals. This method must be particular to my workstation.Use root privileges (coz I do not have them).
Yank the ethernet cable from the system.Why: Sometimes the internet proves to be a distraction.I am using the following system: Fedora release 11 (Leonidas), linux kernel 2.6.30 and GNOME 2.26.3

View 1 Replies View Related

General :: Permissions - Temporarily Remove My Association With A Group?

Jan 21, 2010

I need to test linux group permissions on a repository. In one shell, how can I temporarily remove one of my group associations? e.g.If my groups are defined as:

% groups
foo bar baz

How can I make it so it only returns foo bar without baz?

View 2 Replies View Related

General :: Temporarily Throttle Internet Connection For Testing Purposes?

Mar 16, 2009

I would like to know if it is possible (and, if so, how I would go about doing so) to temporarily limit my Internet connection on a Linux box.

I am developing some new features for one of my Web sites, and I want to see how it performs when using a slower Internet connection. Although it's great for most aspects of my job to have a lightning-fast connection (around 25000-30000 kbps download and 20000-25000 kbps upload speeds), it really makes it difficult to know even what average users might experience when using some of the aspects of our Web site.

I have Linux Mint installed in VirtualBox on my computer, and I'd like to find some way to potentially temporarily "trick" that installation into using a much slower connection to the Internet for testing purposes.

View 3 Replies View Related

Ubuntu :: Bash Broken, Lost Functionality In Terminal (gnome-terminal)?

Dec 10, 2010

Linux-goers. I did some research on this, but I am still fairly new to Linux. In Ubuntu 10.10 (Maverick), I accidentally overwrote my "/bin/bash" file. Dude, using "sudo" with a small typo can work disasters. Bash is now broken in the Terminal (gnome-terminal). Terminal itself still works fine, technically, but bash is still hosed/broken. Here is what I did to try to fix it: Booted from Ubuntu 10.10 live CD. Mounted my Ubuntu partition and manually copied the good/fresh "bash" file onto my hard drive. Verified copy was successful. Didn't help, as you see. Reinstalled "gnome-terminal" using synaptic package manager. Tried to reinstall bash via synaptic, it failed with error, "E: /var/cache/apt/archives/bash_4.1-2ubuntu4_i386.deb: subprocess new pre-removal script returned error exit status 2"

In Terminal, all basic commands work as far as I can tell. ("ls", "pwd", navigation, etc.) Here are some problems:My "username@computername" does not display in the prompt; only the $ sign. Bash keyboard shortcuts such as uparrow and tab do not work. Instead, each inserts a key code. I can't even move the cursor left/right. Aliases (a function of bash and .bashrc) are broken, of course. My sanity level decreases when I use Terminal now. For what it's worth, even with "sudo" I get a "permission denied" error when trying to run Google Chrome! I read something about a ".bashrc" file being a possible problem, but I don't know how to make it work, or the file's proper locations in Ubuntu 10.10. Is there something I can do with a "make" or "apt-get install" command or something?? Could this simply be a permissions problem? Is the link to "/bin/bash", "/bin/sh", or a ".bashrc" file broken? Guide me, oh Linux gurus.

P.S. I always wondered what exactly bash was and how it was different from the basic terminal. LoL, this is an excellent way to demonstrate the difference, and I WANT IT BACK!

View 9 Replies View Related

General :: Write A Literal Bash Command In A Bash File?

Nov 29, 2010

I create a bash script that writes another bash file. But in the generated bash file I want to write a bash command in the file and not executing it.Here's my bash file:

Code:
#!/bin/bash
cat > ~/generateGridmix2data.sh << END

[code]...

View 6 Replies View Related

General :: Running Bash But Common Bash Commands Not Working?

Jul 17, 2010

below are the details of my system. I have bash as my current shell, some really common commands aren't working.

Do I need to do a re-installation of bash? Or how do I install a selection of bash commands which I need? (for example a subset of [URL])

Code:
root@sdptfw:~ # uname -a
Linux sdptfw.sdpt.co.za 2.4.36 #1 Tue Jul 22 13:13:24 GMT 2008 i686 i686 i386 GNU/Linux
root@sdptfw:~ # echo $SHELL$
/bin/bash$

[Code]....

View 13 Replies View Related

Debian :: Broken Dependency - Mark Smartcam Package As Not Broken And Release Apt?

May 21, 2010

i'm running debian lenny - latest stable i have recently installed smartcam (mobile phone as webcam over bluetooth) from .deb package , get errors of unmet dependency , but application works like a charm, unfortunately broken dependences block my aptitude , i cant fix them either as latest stable use older versions of dependences even in backports... how do i mark smartcam package as not broken and release my apt?

View 8 Replies View Related

Fedora :: Temporarily Enable All Repos?

Feb 8, 2010

Is it possible to temporarily enable all repos from within the command line? It would be useful when searching for packages. ie yum enablerepo=* search tint2 (which doesn't work btw!)

View 4 Replies View Related

OpenSUSE :: Compositing Is Temporarily Disabled?

Aug 26, 2010

This is probably already on these forums, but I recently re-installed suse 11.3 and had the desktop effects working fine with the desktop cube animation and everything. But not the case this time...I resume compositing, and try my desktop effect shortcuts, but nothing happens and it comes up saying for me to press Alt+Shift+F12 to resume the compositing again. I do that, but still nothing, and I even re-apply the desktopct settings completely and restart the computer and it comes up saying that none of them were activated or something in the notifications pop-up on the bottom right of the screen. I thought I downloaded the right files (OpenGL??) from the repositories along with basically anything I thought would make it work.

View 3 Replies View Related

OpenSUSE :: Mc Hangs Temporarily When Network Is Down?

Mar 3, 2011

Midnight Commander startup is usually instantaneous, but when the network (eth0) is down, mct takes over a minute to start.This is a known problem. See:#40 (savannah: MC doesn't open if network gateway inaccessible.) (07 Jan 2007)for example. The problem seems to be caused by mc's use of samba. Is there a known solution or circumvention? The above file advises me to "comment out the eth0 interface from the smb.conf "; however, my /etc/samba/smb.conf seems to have no eth0 interface.The "man mc" file mentions that "smbfs" is one of the virtual file systems used internally by mc. I tried reducing the "vfs" timeout in the ".mc/ini" file from 60 to 5, but this had no effect on the startup time.

View 5 Replies View Related

Ubuntu :: Disable Notifications Temporarily?

May 6, 2010

In order to be able to concentrate, I would like to have an applet (or script) to temporarily disable notifications.In the same spirit of Caffeine which inhibits the screensaver when activated.I saw this tip, but would like something which does not require reboot

View 2 Replies View Related

Ubuntu :: How To Temporarily Disable NetworkManager

Aug 12, 2010

I'm looking to temporarily disable NetworkManager while I configure some things in a shell. It's interfering by auto-reconnecting and using the network interface in the process. I've tried killing the process but that just seems to disconnect the network not kill the NetworkManager applet. I don't want to uninstall, and I don't want to have it disabled on startup. I just want to "close" it or "turn it off" temporarily! How can I do this? Also, I'm using 10.04

View 1 Replies View Related

Ubuntu :: Telnet Temporarily Freezes?

Jun 19, 2011

When connecting to my Ubuntu box from my Windows 7 machine via Telnet, the session will sometimes freeze for a few seconds before allowing me to continue typing. This seems to happen every few minutes. Both machines are wireless and I am connecting through my local network.

View 1 Replies View Related

Programming :: C - Resource Temporarily Unavailable?

Mar 7, 2010

I'm working a program to implement a simple multi-process browser. The browser works by having a ROUTER process as the parent of everything else in the program. There's another process called the CONTROLLER which is part of where the user can input information. To tell the ROUTER to make a new tab in the browser the user activates a function from the CONTROLLER to send the create new tab information to the ROUTER:

Code:
void new_tab_created_cb(GtkButton *button, gpointer data)
{

[code]...

View 1 Replies View Related

Debian :: Temporarily Change The Codepage That Is Used In A Terminal?

Mar 12, 2010

Is there any way to temporarily change the codepage that is used in a terminal?I'm using a couple of internet BBSes and since they're made in the stoneage they can't really handle UTF-8. So I wonder if there's a way to temporarily change the codepage in the terminal to Latin-1? It would also work with a ssh or telnet-client where you can change it. I've looked at putty but it seems to lack cut and paste and support for links which makes it less usefull for me.

View 1 Replies View Related

Fedora :: System Freezes Temporarily For 5 - 15 Seconds

Jul 11, 2009

The system runs just fine then all of a sudden it "freezes". For example an input box doesn't respond nor can I scroll down the page. But when the system comes out of the freeze 5-15 seconds later, it suddenly does all the input that was used during the freeze. The scroll and letters suddenly show up. I don't loose mouse control and I can do some other system functions but not all of them.

Here are some various system info's
[osprey@host ~]$ uname -a
Linux host.tranquilpenguin.com 2.6.27.25-170.2.72.fc10.i686 #1 SMP Sun Jun 21 19:03:24 EDT 2009 i686 athlon i386 GNU/Linux
[osprey@host ~]$ firefox -v
Mozilla Firefox 3.0.11, Copyright (c) 1998 - 2009 mozilla.org
[osprey@host ~]$ df .....

View 6 Replies View Related

Fedora :: Evolution Temporarily Not Sending Emails?

Jun 21, 2010

i've got Evolution as an email client in Fedora 12.ve got only one IMAP account configured, which seems to be working OK. However, temporarily it is not sending emails. I write an email and hit send/receive and get error. "Error while sending message" ir seems that it is downloading messages, but not sending. There is a quick, but annoying solution to it: restart Evolution. As soon as it is restarted (close and ope the application) it is working OK for some time.

View 2 Replies View Related

OpenSUSE Hardware :: Mouse Freezes Temporarily?

Mar 16, 2011

I just installed openSuse 11.4 on my tablet pc HP Pavillion tx 2000 and then I installed Nvidia driver by Yast, adding before the official repository NVidia.Sometimes, it happens that I can move the cursor mouse but when I click nothing happens, while the keyboard works properly. After more some seconds mouse works again.

View 2 Replies View Related

Ubuntu :: Apt-cacher-ng Error: 302 Moved Temporarily

Mar 14, 2010

I've been attempting to install Virtualbox 3.1 on my desktop using the "Add and Remove Software" facility. All attempts result in failure with the "Details" error message box issuing

Quote: Failed to fetch [URL]...armic_i386.deb 302 Moved Temporarily [IP: ::1 3142] I have recently freshly installing Karmic and apt-cacher-ng after a disk crash. I was running Hardy and apt-cacher previously. I successfully installed Virtualbox 3.1 on my laptop through apt-cacher-ng on the desktop machine. However, I now realise that I had neglected to change the entries in /etc/apt/sources.list on my laptop from

[Code]...

View 9 Replies View Related

Ubuntu Multimedia :: How To Temporarily Disable OpenAL

Mar 25, 2010

Having an issue with PlaneShift in regards to this error in terminal:

Code:
Inconsistency detected by ld.so: dl-close.c: 731: _dl_close: Assertion `map->l_init_called' failed! On search of the PlaneShift forums, I saw someone state disabling OpenAL would fix this.

I've searched Google and these forums, but still can't find a guide to disable OpenAL. So how would I go about disabling this temporarily so I can get PlaneShift working?

View 4 Replies View Related

Ubuntu :: Disable Compiz Temporarily And Re-enable It?

Apr 3, 2010

Ubuntu 9.10 64bit

Compiz is installed and running on this OS

$ apt-cache policy compiz
Code:
compiz:
Installed: 1:0.8.4-0ubuntu2
Candidate: 1:0.8.4-0ubuntu2[code]....

How to disable compiz temporarily and re-enable it?I can't find System>Preferences>Compizconfig Settings Manager

View 8 Replies View Related

Ubuntu :: Temporarily Disable Shortcuts On The Desktop ?

Dec 14, 2010

I'm currently trying to learn how to get around Blender, but I keep running into the same problem. Blender relies heavily on shortcuts and keystrokes to navigate it's GUI, but very often they clash with the shortcuts on my desktop. The result is that the desktop shortcut wins, making Blender impossible to use effectively.

Is there any way to disable the desktop shortcuts temporarily while using the software, and then setting them back when I'm done?

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved