Fedora :: Ls Command Not Working?

Dec 3, 2009

How can i install the ls command again?

View 6 Replies


ADVERTISEMENT

Fedora Security :: At Command Not Working?

Sep 25, 2009

I get the following error in the logs when i run 'at now -f task' as root. atd[4737]: Failure setting user credentialsI am trying to auto shutdown the PC but, it fails.I am also pasting the /etc/pam.d/atd config file which

# The PAM configuration file for the at daemon
#
#

[code]...

View 2 Replies View Related

Fedora :: Mailx Command Isn't Working?

Jan 28, 2010

I am trying to email some log files from my RHEL 5.3 server to my Outlook corporate account and nothing happens. Here is the command I use:[root@server1]# mailx -s "server info" my_id@my_corporate_domain < server_infoThe file server_info does exist and is a small log file. I checked for sendmail and seems to be running OK as follows:

[root@server1]# ps -ef | grep -i mail
root 13954 1 0 2009 ? 00:00:00 sendmail: accepting connections
smmsp 13962 1 0 2009 ? 00:00:00 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue

I'm not at all familiar with mail clients or mail system in Linux. Is there anything missing? I don't have to use mailx, I could use an alternative. Just please let me know how to sent a simple mail from this server to my corporate account using any tools possible (and maybe how to set it up)

View 1 Replies View Related

Fedora :: Jobs Command Not Working In F14 ?

Apr 24, 2011

I tried using the jobs command in bash in F14 but nothing happens.

Code:
[root@Fedora ~]# jobs -l
[root@Fedora ~]#
Code:
[root@Fedora ~]# which jobs

[Code].....

If jobspec is given, output is restricted to information about that job. The return status is 0 unless an invalid option is encountered or an invalid jobspec is supplied.

If the -x option is supplied, jobs replaces any jobspec found in command or args with the corresponding process group ID, and executes command passing it args, returning its exit status.

Is the jobs command dropped for the ps command instead ?

View 3 Replies View Related

Red Hat / Fedora :: Running Mulitple Command Through Ssh Not Working?

Aug 19, 2010

I am trying to execute 3 commands stacked together on a remote server. The purpose of the commands are to get the oldest path name, then the filename of the oldest file in that path, and then the date/time of that file.

The command I am running is: stat -c %y $( find -L $( find -L /home/data -depth -maxdepth 6 -mindepth 6 -type d | sort -f | head -1 ) | grep txt | sort -f | head -1 ) This command works fine if I execute it on the command line of the server. However, when I try to use it in a bash script and execute it from one server on the other server using ssh, the command does not work.

Example:

oldest_file=`ssh -l root $IP "stat -c %y $( find -L $( find -L /home/data -depth -maxdepth 6 -mindepth 6 -type d | sort -f | head -1 ) | grep txt | sort -f | head -1 )"`

I don't know why the command will execute if I run it straight on the server but not through ssh. I broke it down to just the 2 Find commands and saw with verbose turned on that the path from the first (innermost) Find is not being passed to the second Find so it is not returning a filename which inevitably makes the Stat command fail.

Also, if there is an easier way to do what I am trying to accomplish without stacking these 3 commands like this, then I welcome those suggestions as well since I am a Linux newbie.

View 4 Replies View Related

Red Hat / Fedora :: LP Command - Print Landscape - Lp -ddestination -olandscape Isn't Working

Dec 3, 2010

I want to print Landscape and I would normally use Code: lp -ddestination -olandscape However this isn't working, it could be another problem (I am passing to a windows print spooler) but I would like to know if I have got the command right.

View 1 Replies View Related

Fedora :: Defined Aliases In File Not Working - No Command Found

Apr 15, 2011

Defining tcsh aliases through a .aliases file has worked perfectly for me for years and years using cygwin and older versions of mandriva. I am encountering very annoying and mysterious problems when attempting to do the same thing with a .aliases file in a fedora 64-bit VM. Strangely, if I define aliases in the file, they won't work, but if I do so on the command line, then they will.

Here's a simple example: Suppose I define an alias for "ls" in the file:
alias ls '/bin/ls'
Then source the file. This happens:
me: ls : Command not found.
me: alias ls
/bin/ls
me: /bin/ls
file1 file2 file3 etc.
me: unalias ls
me: ls
file1 file2 file3 etc.
me: alias ls '/bin/ls'
me: ls
file1 file2 file3 etc.

A second example: if I place either of these lines in my .aliases file:
alias d '/bin/ls -alF !:1'
alias d '/bin/ls -alF !*'and source the alias file, this happens:/ me: d
Bad ! arg selector. However, if I define the alias on the command line:
/ me: alias d '/bin/ls -alF !*'then the alias behaves correctly:/ me: dtotal 376
drwxr-xr-x. 10 r r 4096 Apr 14 16:05 ./
drwxrwxr-x. 6 r r 4096 Feb 21 16:15 ../
drwxr-xr-x. 3 r r 4096 Apr 14 16:05 bin.v2/
-rwxr-xr-x. 1 r r 193872 Apr 14 15:35 bjam*
-rw-r--r--. 1 r r 52804 Apr 14 17:20 bjam.my.log
drwxr-xr-x. 77 r r 4096 Nov 17 09:49 boost/
-rw-r--r--. 1 r r 989 Nov 17 04:51 boost.css

View 2 Replies View Related

Ubuntu Networking :: Wireless Suddenly Stopped Working AND Rfkill Command Not Working

Jul 13, 2011

When originally installing 11.04 I had problems getting my Ralink 5390 wireless card to work.

Today my computer froze completely and I had to turn it off via the power switch. When I turned it back on, wireless was no longer recognized! My iPod can connect to the network just fine, so it must be an Ubuntu problem. There are no problems with my ethernet connection either.

I researched this and found several threads about blocking and unblocking wireless devices using the rfkill command. Well, unfortunately for me the rfkill command doesn't work. When I type sudo rfkill list or sudo rfkill unblock all, nothing happens; it just returns me to my bash prompt. I even tried uninstalling and reinstalling rfkill...nothing.

View 1 Replies View Related

Software :: Command Line Cd Command Not Working Right

May 4, 2010

Using netbook asus 1005ha with lucid beta 1 with most of updates on learning to use the CLI and headaches cd command does not seem to reconise directories here is a sample

Code:

yeh i know read the f#####g manual i am but any help would be greatly accepted tried sudo with same commands same problem did have a problem on my debian system that was to do with paths this is not the same on a different footnote anyone thinking of upgrading to lucid sit tight on 9.10 there are still to many issues that need ironing out for a system that is your main system.

View 6 Replies View Related

General :: Apache Command And Terminal / Command With Apache Through Web Browser And It Is Not Working?

Aug 18, 2009

I want to run a linux command with apache through web browser and that's is not working. and it's working properly when I execute this command through terminal, where is the problem?

NOTE: apache have the privileges to execute the command

View 7 Replies View Related

Ubuntu :: Dd Command Not Working?

May 28, 2010

iam trying to copy the nand image from my wm6 phone using the program"WM5torage"when i run this command:dd if=/dev/sdb of=winmobile.img bs=512 i get the: dd: opening `/dev/sdb': Permission deniedive tried sdb1 through sdb5 and get the same error.here is some more info:

Disk /dev/sda: 10.7 GB, 10737418240 bytes
255 heads, 63 sectors/track, 1305 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

[code]...

View 4 Replies View Related

Fedora :: Run Python3 Scripts From Command Line And Call Up Python 2.6.2 Idle With The Command Idle From Command Line?

May 29, 2010

i've gotten my fedora 12 to the point where i can run python3 scripts from command line and can call up python 2.6.2 idle with the command 'idle' from command line. what command will call up python3 (3.1.2 to be exact) idle?

View 5 Replies View Related

Debian :: Sudo Command Not Working?

Mar 29, 2011

I installed Debian6 but sudo does not work, says: bash: sudo: command not found. and when I run the command: sudo apt-get install, I say E: Unable to locate package sudo.

View 9 Replies View Related

OpenSUSE :: Make Command Not Working

Feb 27, 2011

i found the make command not working in the gnome terminal of opensuselinux 11.3

View 3 Replies View Related

General :: Ffmpeg Command Not Working?

Jul 6, 2011

I am running this command in Ubuntu and windows but I get the full length instead of 10 mins. I want to split it in 10 minutes.ffmpeg -i 2000.flv -ss "00:00:00" -t "00:10:00" -vcodec copy -acodec libfaac 2010.flv

View 2 Replies View Related

Ubuntu :: ./ Terminal Command Is Not Working?

Apr 3, 2011

I just recently installed Ubuntu to do some light perl development. I was installing Adobe Air and after I made the bin file executable, I could not run it with the (./). It says that there is no such file or directory. Here is the output from my terminal:

alan@workstartion:~$ cd Downloads
alan@workstartion:~/Downloads$ ls -a
. hal-9000.png
.. libflashplayer.so
AdobeAIRInstaller.bin mass-effect-normandy-sr1.jpg

[Code]....

I've deleted the .bin and re-downloaded it, I have renamed it, moved it and even tried executing it by removing the .bin and running it from its location. I am still getting the same errors.

View 9 Replies View Related

General :: Make Command Still Not Working?

Jan 2, 2011

I'm running Ubuntu 10.04 and while trying to install the Wacom driver and kernel I get to the step after ./config and get this message when I use make.

make: *** No targets specified and no makefile found. Stop.

I've tried looking up on it and they all say that build-essentials should be installed first. So I looked into it and I found out that it's already installed along with the make command itself.

Anyway to get Ubuntu to recognize it as installed?

View 8 Replies View Related

General :: Su Command Not Working In Ubuntu 9.10

Jan 25, 2010

Ive set a password for root after rebooting tried to su in console and authentication error. however sudo works fine but if your like me using sudo all the time starts getting annoying and at times i find myself apt-getting alot of packages so su is best for me my other 9.10 works fine which i installed from a canoical cd i went through my normal routine of changing my default user permissions.

e.g(add default to everygroup, and set a root password) so after the first time it wouldn't work i remembered that on my other 9.10 i changed the groups that root was in so i did the same thing i did with my default user. well it still doesn't work but i read somewhere that its possible to change it in the console.

View 5 Replies View Related

General :: WGET Command Not Working

Jan 5, 2010

I have a website that I need to go to often and disable a monitor. To disable I need to login to the website-> click on monitor -> then uncheck a box.

I am told that I can do this through a scipt using the WGET command. I got the parameterized query and then tried to execute it through a *.sh script.

The script generates a php file in the location from where it is executed. When I go to the site and check the monitor is not disabled.

View 2 Replies View Related

General :: Working Of Init Command ?

Dec 14, 2009

I would like to know the working of init command.please tell discribe the init script stored in vim /etc/rc.d/init.d/functions. what happen when init changes its run level.

View 2 Replies View Related

General :: Links Command Not Working

Nov 23, 2010

I read and saw a video that says that typing in 'links' command followed by a website, will open a site in terminal.

However, when I type in the links command, terminal returns the error 'bash: links: command not found'.

What package or library needs to be installed to get this command to work.

View 2 Replies View Related

Software :: :sp, :vsp Command Is Not Working In Vi Editor?

Mar 10, 2010

I have installed Vmware on Windows Xp. On Vmware i have installed RHEL 5 update 3. Now when i use vi editor and try to split it into multiple windows using :sp or :vsp command then it does not work. Whereas i have the same RHEL 5 update 3 in one of the application server, and there :sp works fine. I tried searching online with no success. finding out why its not working on vmware and how can we make it work.

View 2 Replies View Related

Programming :: GDB (Control C) Command Not Working

May 12, 2011

I've just started using gdb at my new job, and I'm having a small issue debugging C++ with it. After I execute "continue" or "run" through gdb, I'm not able to return control to gdb. Based on the documentation I read, I should be able to use Control-C to interrupt the program, and have control return to gdb.

This does not work on my setup. Not sure if it's related, but I'm debugging on a remote machine. I tried through PuTTY and xterm using Exceed XServer. In both cases, gdb does not respond to Control-C. This is quite annoying because I have to restart my program every time I want to set a breakpoint.

View 2 Replies View Related

Programming :: Multiple Command In Ssh Not Working?

Apr 22, 2011

I have prepared a script which will login to each server and search for a keyword.
I want output on same machine from where m running script.

When i try to run command on any machine.. It works well.

w=$(grep -irH "keyword.com" /home/*/public_html/*);if [ $? -eq 0 ];then echo -e "
$HOSTNAME";echo $(grep -irH "keyword.com" /home/*/public_html/* | cut -d: -f1 | uniq | awk '{for (i=1;i<=NF;i++) printf "%s
",$i}');fi

[Code]....

View 9 Replies View Related

Programming :: Ping Command Not Working In Tcl/tk?

Feb 16, 2010

I can't get exec ping to work on my system. wish is located in /usr/bin/wish8.4

Code:
#!/usr/bin/wish8.4
text .txt
set in [open "/root/hosts.txt" r]
while {[gets $in line] != -1} {

[Code]....

View 2 Replies View Related

General :: Sendmail - Mail Command Not Working?

Sep 9, 2011

I have questions about mail,

I am using following command on my linux account of my compnay

mail -s 'Hi' username@gmail.com

But I dont receive any emails, where as did not receive any error while executing the above command, so whats going on and what is happening.

what email id do mail use to send the email by default. Is there any way or command to print this by default user id.

View 2 Replies View Related

Ubuntu :: Starting App Command Not Working Correctly?

Jan 2, 2011

why this command:

/usr/bin/freepopsd -vv > /home/shocker/Desktop/Freepopsd.log

doesn't write the log in the Desktop folder? It's written exactly like that in the Ubuntu startup program control panel and according to the ps command I understand it's correctly running:

$ ps aux | grep freepopsd
shocker 1676 0.0 0.1 227264 9128 ? S 13:22 0:00 /usr/bin/freepopsd -vv > /home/shocker/Desktop/Freepopsd.log

What am I missing?

View 2 Replies View Related

Ubuntu :: Gedit Command In Terminal Not Working

May 1, 2011

I am trying to use the gedit command to edit my smb.conf file. It was originally working and all of a sudden it has stopped working. I have typed.. 'gedit /etc/samba/smb.conf' but it is a no go. I used the chmod command to set permissions as.. 'chmod 744 smb.conf' However I am still unable to get the file to open. If I do the 'more smb.conf' command I am able to read the contents of the file, however I am unable to edit them.

View 9 Replies View Related

Programming :: Source Or Dot Command Not Working In Makefile

Apr 5, 2010

I am trying to run a script to setup environment variables and then run other commands in a make file. But the source or the dot operator (shell is bash) does not seem to take any effect as the subsequent command didn't pick the environment up. Do I have to put every lines of the environment setup in the first script into the makefile instead?

sample setenv.sh
#!/bin/sh
export MYDIR=/somedir

sample makefile:
all: source ./setenv.sh
echo $(MYDIR)

View 5 Replies View Related

Ubuntu :: SU Command Not Working - Authentication Failure

Apr 2, 2011

Here is what happens. I type in "su", without the quotes, to switch to root. I enter my password.
Code: jon-Tuxbox:~$ su
Password:
su: Authentication failure
jon-Tuxbox:~$ It fails, and I get kicked back to the command line. I recently fixed the permissions on the shadows file and the su file in the bin directory, and that is what caused this. Before it would give another error. I tried resetting the password for root, but it didn't fix it.

View 3 Replies View Related







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