General :: Bash Command Needed To Remove Failed Install?

May 11, 2010

An app failed to load properly and now i'm stuck in a sequence I don;t understand the solution for.

sudo apt-get autoremove

dpkg was interupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.

View 1 Replies


ADVERTISEMENT

Fedora :: Yum - Command To Remove No Longer Needed Dependencies?

Jan 27, 2010

I can't find a Yum command to clean up no longer needed dependencies, you know similar to apt-get autoremove. Or does yum do this with the erase or remove command? btw: yum-clean-all just flushes out the cache right?

View 2 Replies View Related

General :: Bash Command To Remove Spaces

Sep 14, 2010

I am reading the output of /proc/acpi/thermal_zone/ATF0/temperature in a program to read my CPU temp. I am using cat like the following:

Code:
#cat /proc/acpi/thermal_zone/ATF0/temperature
temperature: 49 C

I basically want to get rid of the spaces in between temperature and the actual temperature. Is there a command I can pipe the cat output to, to remove the spaces. I have seen suggestions for sed, or tr, but for some reason I cannot get them to work properly.

View 14 Replies View Related

OpenSUSE Install :: Which Kernel Is Needed Which One To Remove?

Dec 5, 2010

Sorry if it is a dumb question (i'm coming from deb/ubuntu and i'm totally new to rpm - installed Smeegol on a Samsung N150). After some try&error i finally got my Broadcom4313 working but underway to that i got lots of new kernels and now i don't understand not so much anymore.

I think the kernel default-devel it was me installing it using the distribution manager to get working make (for trying to install the original Broadcom driver package; i stopped that attempt because i didn't where exactly to move/cp the built driver).

View 9 Replies View Related

Ubuntu :: How To REMOVE Password When Needed To Install Anything

Sep 24, 2010

How to REMOVE a password when it appears when I install a program or when I want to start my DSL connection or anything to install.I think that named 'sudo password but i don't know for sure :S

View 7 Replies View Related

General :: Like To Add And Remove Unused Or Needed Apps?

Jul 16, 2011

I haven't tried any random password patterns yet but I have tried knoppix because of a suggestion and it didn't work. I am useing knoppix as my OS not from CD or DVD. I would like to add and remove unused or needed apps. My linux language is week for the time being so I use the Software Center option from the Preferences option from the Main Menue.When I click on the remove icon a screen comes up asking for the Authentication Password and I don't have it, I as can not change the time on the desktop because it says that I am not the owner. How do I reset all the passwords and regain complete control of my system

View 4 Replies View Related

OpenSUSE :: Management - Update - Install Or Remove A Package - Subprocess Failed. Error: RPM Failed: Rpmdb: PANIC: Invalid Argument

Apr 9, 2010

Today i upgraded my system and started getting error when i update, install or remove a package. The error isn't restricted only to one repository so i thing something is wrong with my system.

[Code]....

View 4 Replies View Related

Programming :: Bash Command To Remove All Files Within A Specific Folder?

Oct 19, 2010

I want to delete all files within a specific folder without actually deleting the folder, what is a good bash command for this?. I found this one but encountered some errors even though I am executing it within the specific folder:

useratdebian:/home/user/folder# find . -type f -exec rm -rf {} ;
[1] 5052
useratdebian:/home/user/folder# find: missing argument to `-exec'
[1]+ Exit 1 find . -type f -exec rm -rf

The command as it appears is:

find . -type f -exec rm -rf {} ;

how to delete only the files contained within the folder called "folder" for example?

View 4 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

Ubuntu :: Remove Old / Un-needed Kernal Versions?

Jan 4, 2010

I did "uname -a" and it's showing that I'm using 2.6.31-16-generic of the Linux Kernel. Now, in the GRUB2 boot menu, it's showing

2.6.31-14-generic & recovery
2.6.31-15-generic & recovery

and the current one: 2.6.31-16-generic & recovery.

I would like to remove the old ones because of the pileup they're creating.

Other info: I have wXP pro as my dualboot OS.

View 6 Replies View Related

General :: Bash Command History Update Before Execution Of Command

Jun 7, 2010

Bash's command history is great, especially it is useful when adding the history -a command to the COMMAND_PROMPT.However, I'm wondering if there is a way to log the commands to a file as soon as the Return key is pressed, e.g. before starting the command and not on completion of the command (using the COMMAND_PROMPT option would save the command once the prompt is there again).

I read about auditing programs like snoopy and session recorder like script but I thought they're already too complex for the simple question I have. I guess that deactivating that script logs all the output of the command would lead already in the right direction but isn't there a quicker way to solve that probelm?

View 1 Replies View Related

General :: What Does This Cryptic Bash Command Mean - Why Command Crashes

Mar 20, 2011

Possible Duplicate: What does this cryptic bash command mean? Why this command crashes Linux? :(){ :|:& };:

View 4 Replies View Related

General :: Command To Delete Bash Command History?

May 31, 2010

What's the command to delete bash command history?

View 4 Replies View Related

General :: Mdadm Cannot Remove Failed Drive?

Jan 17, 2010

i am setting up a software raid6 for the first time. To test the raid i removed a drive from the array by popping it out of the enclosure. mdadm marked the drive as F and everything seemed well. From what i gather the next step is to remove the drive from the array (mdadm /dev/md0 -r sdf), when i try this i receive the error:

mdadm: cannot find /dev/sdf: No such file or directory

That is true, when i plugged the drive back in the machine now recognizes it as /dev/sdk. My question is how do i remove this non-existent failed drive from my array as i was able to re-add it just fine as /dev/sdk with mdadm /dev/md0 -a /dev/sdk

Also, is there any way to define a drive based on id or something similar to the same drive name to avoid this?

Personalities : [raid6] [raid5] [raid4]
md0 : active raid6 sdk[9] sdj[8] sdi[7] sdh[6] sdg[5] sdf[10](F) sde[3] sdd[2] sdc[1] sdb[0]
13674601472 blocks level 6, 64k chunk, algorithm 2 [9/8] [UUUU_UUUU]
[>....................] recovery = 2.7% (54654548/1953514496) finish=399.9min speed=79132K/sec

[Code].....

View 2 Replies View Related

Programming :: Sort Of Execv Command Needed?

Jul 2, 2010

I have a problem, I need to launch another binary from my application, but I need to get the control back once the other binary is initialized. fork/exec doesn't seem to give anything on that side using pthreads I'm able to wait until the new thread exits, but that's not what I want at the moment I'm using popen, but it doesn't seem to do the job right...

View 14 Replies View Related

OpenSUSE Install :: BASH Yast - Command Not Found

Jan 24, 2011

While attempting to uninstall Perl (through Yast) from my SUSE installation, it ended up deleted everything important in OS
compilers are gone, SVN gone.
Its a dedicated server and lots of other applications were running on it.
now it says "-bash: yast: command not found".

View 4 Replies View Related

General :: Create A Bash Script To Remove All Partitions On Harddrive Via Fdisk?

Jul 19, 2010

I would like to remove/create partitions on a harddrive without going into the menu of fdisk.

can one pass options to fdisk to create and delete without going into the menu? So that I can write a script to do that automatically.

Or if fdisk isn't capable, what other alternatives do I have?

View 5 Replies View Related

General :: Remove Index.html File Alone In Every Directory Via Bash Script

Jul 7, 2011

I want to remove the index.html file alone in the every directory via bash script, for example i have 5 directories in the path /var/www/vhost

anish
kumar
linux
question
friend

each directories have index.html file now i want to replace the index.html file alone from the other directory /var/tmp/vhosbak

anish
kumar
linux
question
friend

How we can do this using script?

View 5 Replies View Related

OpenSUSE Install :: Yast2 - Bash Apache Command Not Found

May 3, 2011

I ssh to a remote server which is running in SUSE. And I want to install apache2.0 there. Then I used yast2 to install it. But after installing it, I go to the terminal and type" apache -version" to check if apache is installed there. And it said "-bash: apache: command not found". I don't if I haven't successfully installed it, or I have installed it but just haven't put it into PATH yet. So, my problem is that can anyone tell how to check if I have installed it? If I have installed it, then what is the path of the directory it locates? And if I haven't probably installed it, then can you tell me the how I can installed it? And I am asked to install apache mod_wsgi as well.

View 9 Replies View Related

OpenSUSE Install :: Command To Use To Remove Orphaned Packages Or Units?

Mar 8, 2011

What command should I use to remove orphaned packages or units?

View 3 Replies View Related

Fedora X86/64bit :: Install Flash - Bash: Wget: Command Not Found

Mar 27, 2009

In trying to use the instructions here [URL] I get Quote: -bash: wget: command not found

View 2 Replies View Related

General :: Bash Command Output?

Feb 12, 2011

What does the following Shell program do ??: () { :| : &} ; :Warning: My computer got hung when i tried to execute this.Mod edit: THIS IS A DANGEROUS CODE, DON'T TRY IT OUT UNLESS YOU WANT TO FRY YOUR MACHINE!

View 2 Replies View Related

General :: Bash:lex:command Not Found?

Mar 10, 2011

tell me what does error message signify and what should be done to rectify it...bash : lex :command not found

View 3 Replies View Related

General :: Bash Scripts - While And If Command

Mar 10, 2011

I have following BASH script?

Code:
i=0
while [ $i -lt $ARRAYLEN ]; do
if ["$META1" = "$array"];
then
META1FLAG=1
else
META1FLAG=0
fi
let i++
done
While $array contains a word like "start"

When I run the script, In the terminal I either get the response:
myscript.sh: line 3: [: missing ']'
or if $META1 contains the same word "start, I get:
myscrit.sh: line 3: [start: command not found

The purpose of the script is to evaluate a parameter that a user might include when they invoke my script, and compare it to some data that $META1 might contain. If they match I want to set a flag and later launch Xine. If they do not match, I want to set a flag to zero and do something else. I'm a bit lost as to what the responses are trying to tell me in the terminal window when I run this script.

View 8 Replies View Related

General :: Fix Bash \ All Command Not Found?

Oct 23, 2010

I added $PATH=/usr/local/mysql to .bashrc_profile and I guess I wrote it in the wrong place...now when I log in my fedora the terminal says:

-bash: dircolors: command not found
-bash: cut: command not found
-bash: cut: command not found

[code]....

View 8 Replies View Related

Security :: SSH Time Out On Login Attempt From Remote Box: Command Needed To Check Port 22?

Dec 1, 2010

I have set up a user to login remotely to our Red Hat 5 server via SSH. A rule in our department firewall enables this user to login from a single static ip address. The ssh port on our server is 22. I am able to login to port 22 from locations within our department firewall. Our administrator says the firewall configuration is unchanged. The remote user had been successful logging in. But now the remote user gets a Connection Timed Out message, before being asked to authenticate by the server.

I regenerated security keys, but the remote user still gets the connection timed out message. (I can login locally with the new keys). I suspect either a firewall or an authentication problem--inclining a firewall problem. Am I correct? Is there a Linux command to check whether port 22 is available or blocked, prior even to authentication, for login from the user's remote location?

View 3 Replies View Related

General :: Formatting The BASH Command Prompt?

May 6, 2010

I would like to change the formatting on my BASH prompt from this:

anon@machinename.domain.poo:~/some/very/annoying/long/path$

to something like this:

anon@machinename.domain.poo:~/some/very/annoying/long/path
$

The idea is that I would be able to type a reasonably long command on one line without it wrapping to the next line so quickly.

View 2 Replies View Related

General :: Bash: Groupadd: Command Not Found?

Aug 26, 2010

Cannot create a group in RHEL5.

View 1 Replies View Related

General :: Empty Bash Command Line?

Sep 28, 2010

I am looking for a way to delete the currently entered commandline without wasting seconds on the "Backspace"-key.

For example I scrolled the bash history and have a long commandline that would execute when I pressed ENTER:

~$ aptitude search openssl | grep dev

But now I decide that I do not want to execute this command. Can I get an empty prompt fast without deleting the whole line with Backspace? On the Windows "cmd" you can just press ESCAPE and it is gone. This behavior would be what I want.

The question may seem trivial but this is bothering me for a long time now.

View 2 Replies View Related

General :: Bash Dirs Command And +N Option?

Feb 8, 2011

I'm trying to use the dirs command with the +N option. The manual says: dirs [-clpv] [+n] [-n]Without options, displays the list of currently remembered directories. The default display is on a single line with directory names separated by spaces. Direc- tories are added to the list with the pushd command; the popd command removes entries from the list. +n Displays the nth entry counting from the left of the list shown by dirs when invoked without options, starting with zero.

dirs -v shows:
0 /dir1/
1 /dir2/
2 /dir3/

However, dir +n 1, dir +N 1, dir -v +n 1, dir -v +N 1 all give:

[Code]...

View 2 Replies View Related







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