CentOS 5 :: What Is /usr/bin/[ Command For?

Mar 10, 2009

So what is /usr/bin/[ command for? I just noticed it on my system. It's part of the coreutils.x86_64 package. I can't find a man page or anything in /usr/share/docs. It's also very hard to google search for /usr/bin/[

View 8 Replies


ADVERTISEMENT

CentOS 5 :: Top Command Not Showing Command Option?

Mar 19, 2011

I have installed Centos in my server and when I take, top -c command its not showing the "command" option correctly. Due to the same, I'm not able to correctly track down the file which causes excessive usage. For eg:

top - 09:30:29 up 72 days, 12:46, 2 users, load average: 0.21, 0.16, 0.15
Tasks: 122 total, 1 running, 120 sleeping, 0 stopped, 1 zombie
Cpu(s): 4.8%us, 0.7%sy, 0.0%ni, 93.5%id, 1.0%wa, 0.0%hi, 0.0%si, 0.0%st

[code]....

View 3 Replies View Related

CentOS 5 :: CentOS Server Command Line Very Slow?

Jul 14, 2010

Anyone know why my fresh installation of centOS server is so slow? Seems like it takes over a minute to execute a command, im not doing anything complicated either. Secondly, how come at times when I type reboot the machine starts to beep, one long loud annoying beep.

View 5 Replies View Related

CentOS 5 :: Can't Run Any Command

Jul 17, 2009

So on a fresh install on CentOS 5.3 I can't seem to run any command.For example if I try to run "fdisk" I get a "command not found error. Now if I add "/sbin" the the front of the command like "/sbin/fdisk" It runs. So what would be the fix for this. It is kinda annoying to add sbin to the front of every command.

View 2 Replies View Related

CentOS 5 :: When Kvm -m Command, Get "command Not Found"?

Apr 20, 2011

I have installed kvm from repository, but when I issue kvm -m command, I get "command not found". What am I doing wrong please?

View 1 Replies View Related

CentOS 5 :: Run Command At Boottime?

May 2, 2009

This is an (apparently) very simple question: I would like to execute a command upon bootup of my system. It is a hardware related command which echoes a parameter into a sysfs file.
I thought the proper place for such a command would be /etc/rc.d/rc.local. But it does not work, the command seems to be ignored (no idea why...) :(
Does rc.local require special syntax after all? Or is there a better way to specify bootup commands? Ok, I could create a standard init script, but it is not really a service which has to be started/stopped/restarted..

View 11 Replies View Related

CentOS 5 :: 'AT' Command Fails To Rm From PHP

Jun 18, 2009

I have tried every variation I can think of to get an 'at' to rm a file after a certain amount of time.

echo 'rm -f /var/www/media/images/tempProducts/XYZ.png' | at now + 2 minutes

In php:

$apCommand = "echo 'rm -f " . $sTempName . "' | at now + 2 minutes";
exec ($apCommand);

I have:

- pasted the command into the command line as root and it works fine so it seems to be rights related -- rm gets scheduled and the file gets deleted after 2 minutes

- tried every variation of sudo within the statement including making sure that apache is listed in sudoers

- chmod to 777

- chown to apache

The rm command does get scheduled into the 'at' queue but the rm never removes the file.

at -c (without adding sudo to the 'at' statement)
#!/bin/sh
# atrun uid=48 gid=48
# mail apache 0
umask 22

[Code]....

View 3 Replies View Related

CentOS 5 :: Jot: Command Not Found

Oct 28, 2009

i want to ask about "jot" i got this error : Quote: jot: command not found

View 1 Replies View Related

CentOS 5 :: G++ Command Not Found

Jun 22, 2010

During installation of set up its show g++ command not found and Failed! how can I install g++ .

View 2 Replies View Related

CentOS 5 :: Add Command On Startup?

Aug 11, 2010

I have CentOS 5.5 with no GUI. How do I enable commands/scripts to run on startup when the server is rebooted?

View 2 Replies View Related

CentOS 5 :: New Timeout Command ?

May 16, 2011

The normal distros now ship with an executable called "timeout". Will CentOS be including this new "timeout" command in an upcoming release?

I read that CentOS did not include it (yet) because of a name conflict with another package.

View 1 Replies View Related

General :: Login Command In CentOS ?

Aug 13, 2010

For some reason every time I enter the 'login' command as root, my putty shell craps out. It's as if the kernel is not prepared or does not know how to handle the 'login' command. Where can I set it up? Maybe it's not configured to use PAM?

I want to use this command to switch users. Sure I can use 'su username' but I noticed there are some issues when using 'mail' command right after I change users. It gives me a permissions error as if the environment variable for mail is set for roots mailbox instead of the new users mailbox.

How can I configure 'login' to work properly in CentOS?

View 2 Replies View Related

General :: Get Qmake Command In Centos?

Apr 6, 2011

how can i get qmake command working on my centos, if possible provide the link to download it.

View 6 Replies View Related

CentOS 5 :: Ll Command Causes Terminal To Hang?

May 27, 2009

I'm running into what is quite possibly one of the strangest problems I've ever encountered. We recently had a power loss, and some of our vmware instances didn't shut down correctly. Once of those is our Zabbix testing monitor. From that point on, whenever I run the "ll" command, my terminal freezes. This happens over both ssh and the local console. I've forced a disk check via the "shutdown -rF now" command, and it returned no errors. Since ll is simply an alias for ls, I copied ls (and the entire bin directory) from another Centos 5.3 instance, with no change in behavior.

View 4 Replies View Related

CentOS 5 :: ATA TRIM Command For SSDs?

Aug 18, 2009

Does CentOS 5 support the ATA TRIM command for use with SSDs? Is the support automatic by default, or would I need to do something specific in order to enable the TRIM feature be used?

View 1 Replies View Related

CentOS 5 :: How To Install GNOME By Command

Nov 19, 2010

i have CentOS 5.5 instaled in VmWare 7.1.but do not install GNOME, how I can do to install?

View 4 Replies View Related

CentOS 5 :: Run Command To Start System?

Feb 22, 2011

I want to load a second instance of squid after reboot. For this I use this sentence "/usr/sbin/squid-f/etc/squid/squid-2.conf"vi /etc/rc.d/rc.local

View 1 Replies View Related

CentOS 5 :: Su - Command And Incorrect Password?

Feb 23, 2011

I have a new install of cent os 5. When I try to use the su - command. I get a invalid password error. I am using the correct password.

View 1 Replies View Related

General :: Centos - Which Command To Use To Know How Much RAM Consumed By Each Process

Jul 10, 2011

I have tried top and PS command but i am not able to find the RAM used by each process.top command says that 240MB RAM used but the Memory shows 0% for all the processes, same with ps. i want to know which process consumes all 240MB RAM.Is there any command which / script which can sort the running process in oder of increasing RAM usage so that i can see. Also i find it very hard to read bytes and KB. Is there any to way to chnage those units to MB

View 2 Replies View Related

Software :: Install On Centos From Command Line?

Mar 26, 2010

How to install software on centos from command line?

View 8 Replies View Related

CentOS 5 :: Unable To Install Asterisk Gui Using Svn Command?

Jan 18, 2009

I want to install Asterisk gui using svn command, but I have the following error:

# svn co http://svn.digium.com/svn/asterisk-gui/trunk asterisk-gui
svn: PROPFIND request failed on '/svn/asterisk-gui/trunk'
svn: PROPFIND of '/svn/asterisk-gui/trunk': Could not resolve hostname `svn.digium.com': Temporary failure in name resolution (http://svn.digium.com)

View 5 Replies View Related

CentOS 5 :: Start A Xen Domain From Console With Xm Command

Apr 14, 2009

I need to start a xen domain from console with xm command but the 'new' sub command is missing?

[root@sambie xen]# xm new CENTOS-5.3-PDC
Error: Sub Command new not found!

View 1 Replies View Related

CentOS 5 Server :: Yum Command Not Working On System / What To Do?

Jul 8, 2009

Yum command is not working on my system today!
when i write any commands using yum, such as yum check-update or
yum install some package it shows the following code...

shall add something to my repository?

View 2 Replies View Related

CentOS 5 :: Command Pointing To Wrong Location?

Aug 4, 2009

I am very new to linux and just need a bit of help figuring this one out. I installed ImageMagick the first time using yum, then I used an alternative method. It's installed properly the second time and almost does what I want except that when I type 'convert' in the prompt it gives me '-bash: /usr/bin/convert: No such file or directory'

The actual location of convert is /usr/local/bin/convert How do I change it so the convert command is pointing to the right executable?

View 2 Replies View Related

CentOS 5 :: Shutdown/service - Command Not Found

Aug 13, 2009

With this issue:

$ sudo shutdown -r now

sudo: shutdown: command not found

View 2 Replies View Related

CentOS 5 Networking :: Is_bonding_device: Command Not Found?

Oct 8, 2009

This is on a CentOS 5.3 kernel 2.6.18.164.el5 SMP. I have a single physical NIC which has an untagged vlan and 4 tagged vlans on it. During boot up, I receive the following message:

"Bringing up interface ifcfg-eth0: /etc/sysconfig/network-scripts/ifup-eth line 121: is_bonding_device: command not found"
"Bringing up interface ifcfg-eth0.3333: Added Vlan with VID == 3333 to IF -:eth0:-

[code]....

View 2 Replies View Related

CentOS 5 :: Command To Check Md5 Checksum For A File?

Nov 12, 2009

Can anybody tell what command can be used to check the checksum for a file or to match the checksum with the one provided by the download provider.

View 1 Replies View Related

CentOS 5 :: Restoring With Cpio - Command Correct?

Nov 12, 2009

The last time I did a restore using cpio under CentOS 3.9 it took a very long time for me to find my seemingly correct command wasn't working and I ended up doing the work in Knoppix. This time I thought I'd run my command by wiser heads before the necessary tape turns up and I spend a lot of time finding my command doesn't work. cpio -i -mtvV --block-size=128 --no-absolute-filenames /var/log/maillog* < /dev/st0

Does this look right? The backup string is find / -path /mnt -prune -o -path /lost+found -prune -o -path /sys -prune -o -path /proc -prune -o -path /swapfile1 -prune -o -path /var/named/chroot/proc -prune -o -print | cpio -o -H crc --block-size=128 > /dev/st0

EDIT: I changed the restore string to cpio -i -mtvV --block-size=128 --no-absolute-filenames *var/log/maillog* < /dev/st0 EDIT2: Whoops, should be cpio -i -mvV --block-size=128 --no-absolute-filenames *var/log/maillog* < /dev/st0

View 1 Replies View Related

CentOS 5 :: Battery Info Through Command Line?

Dec 16, 2009

I'm using CentOS 5.4 x86_64 on my Dell Inspiron 1440. Is there any way I can get information about the battery(charge) through command line without X server.

View 1 Replies View Related

CentOS 5 :: Setting YUM Priorities From Command Line?

Jul 14, 2010

I'm using several 3rd party repos for Centos - RPMforge, ATrpms, EPEL, REMI. Is there some way I can set the priorities for these repos in a bash script, using a YUM command? I cannot find anything in the YUM man page, or the yum-utils package.

Smart PM has a command to set channel priorities from the command line. Wondered if I can do the same for YUM repos?

View 2 Replies View Related







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