General :: Sort Generates Unexpected Results

Jun 7, 2010

I sorted a large mailing list and the result is in almost sorted order, but not quite.The sort was invoked in the default manner, just "sort".See (below) a segment of the output file.(Note: the actual files have a street address following each name.I have omitted the addresses to avoid complaints about disclosing personal information on-line.) I expect all people named KATZ to be grouped together, but they aren't. This phenomenon occurs elsewhere in the output file, so it has nothing to do with surnames beginning with the character string KATZ.

View 5 Replies


General :: Find -mtime Gives Unexpected Results?

Aug 12, 2010

$ ls -l
-rw-r--r-- 1 username vuser 35553 Aug 9 18:15 note.20100809_1815.sql


View 3 Replies View Related

General :: Find And Sort Results By Date Modified

Jun 7, 2011

so I was wondering how I could do a simple find which would order the results by most recently modified. Here is the current fine I am using. (I am doing a shell escape in php, so that is the reasoning for the variables. find '$dir' -name '$str'* -print | head -10

How could I have this order the search by most recently modified. (Note I do not want it to sort 'after' the search, but rather find the results based on what was most recently modified)

View 4 Replies View Related

CentOS 5 :: Got Syntax Error Near Unexpected Token / Sort It?

Apr 21, 2009

I have a .sql file that is too large and needs to be uploaded via ssh.I know the commands to do this but my username password has parenthesis in it i.e. (password)So I am getting -bash: syntax error near unexpected token.

View 2 Replies View Related

Ubuntu :: Sort Command Gives Unsorted Results?

Jul 15, 2010

It sure looks not quite sorted to me. See lines 3 and 4.

altair/root /root 250# sort -k1 < files.out | head -6
/bin base-files
/bin bash
/bin/bash bash
/bin bsdutils


View 9 Replies View Related

General :: Saving The Results Of The Time Command While Discarding The Results Of The Command Being Timed

Apr 6, 2010

I'm timing how long it takes to run a command foo. I'm looking to append the results from the time command to a file, and discard the results from the foo command. I tried the following, but it didn't do what I want:

$ time ./foo > /dev/null >> output_from_time_command.txt

View 1 Replies View Related

General :: Tar - Unexpected EOF In Archive

Feb 14, 2010

I had created a tar ball of my home folder. But after formatting the system when I tried to untar it, it is showing the following error:


How to somehow recover my home folder!

View 3 Replies View Related

Debian :: Apt-get Generates Odd Errors ?

May 27, 2011

I am running Debian Lenny and if I try to install something with apt-get it behaves normally until near the end when I get this sort of thing:


And more of the same. The file w3m contains this:


So what please is the syntax error and how do I correct it? What is the function of /usr/share/menu?

View 8 Replies View Related

General :: DNS Unexpected Rcode (SERVFAIL)

Jan 27, 2010

From last few days i am getting some log messages in /var/log/messages. The log is .... unexpected rcode (SERVFAIL) from master I am not sure what is it.

View 8 Replies View Related

General :: Bash_profile [ Unexpected End Of The File ]?

May 18, 2011

I'm trying to edit the bash_profile but I'm getting this error."/.bash_profile: line 46: syntax error: unexpected end of the file"Here is my bash_profile.

# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then


View 3 Replies View Related

General :: Unexpected Output From Program?

Sep 8, 2010

while doing socket/network programming, i am getting SSH-2.0-openssh4.7 error, instead of showing day time of server.general description i have Linux Box, with the help of putty i am connecting from windows system to Linux box,no problem in loging,after typing program, i am running the program with gcc. when typing ./a.out, it is showing SSH-2.0-openssh4.7, actually it should display daytime from linux box in both tcp and udp.

View 1 Replies View Related

Fedora :: Ffmpeg Generates Very Big Files?

Sep 27, 2010

I use this command line to transcode media file

ffmpeg -i in.ts -y -threads 2 -vcodec libxvid -b 300000 -bufsize 8192 -g 300 -s 320x240 -aspect 4:3 -f mp4 -pass 1 out.mp4


View 1 Replies View Related

CentOS 5 :: 5.3 Always Generates Bad Checksum TCP/UDP Packets?

Apr 9, 2009

I use wireshark (ethereal) to moniter the traffic passing through the NIC. I find that system always sends "bad checksum" TCP/UDP packets. In CentOS 5.2 this is seldom. Does your system (5.3) send "bad checksum" TCP/UDP packet ?

View 2 Replies View Related

General :: Unexpected Inconsistency Run FSCK Manually

Jun 8, 2011

RHEL 5.4. I'm facing the following error after rebooting the server:
/dev/VolGroup01/u04: UNEXPECTED INCONSISTENCY Run fsck Manually"
*** An error occurred during the file system check.
*** Dropping you to a shell: the system wil reboot
*** when you leave the shell.
give the root password for maintenance:

-Previously I performed a lvreduce command on a LV, after the lvreduce, I reboot the server.
-After login as root I run:
e2fsck -f /dev/VolGroup01/u04

But, it shows:
The filesystem size (according to the superblock) is 5218304 blocks
The physical size of the device is 1310720 blocks ...
either the superblock or the partition table is likely to be corrupt
abort<y>? no
pass 1: cheking inodes, blocks, and sizes
error reading block 1310722 (invalid argument) while doing inode scan
inore error <y>? y

-Additionally, trying to lvdisplay, it shows:
Locking type -1 initialization failed
I have no important data on that LV, but I can not boot the server properly.

View 4 Replies View Related

General :: Syntax Error Near Unexpected Token

May 4, 2010

find /opt/postfix/mail/ ( -iname * -o -iname .* ) ! -type p -exec grep -i -c {}; -xdev -print
When I do this command I receive this error message:
-bash: syntax error near unexpected token `('

View 2 Replies View Related

General :: Syntax Error Near Unexpected Token `else'

Dec 1, 2010

I wrote a script to start portal.

Its start portal (not a problem)

Only getting following message:

This is the else before second logic

View 32 Replies View Related

General :: Installation Not Starting - Unexpected Exit

May 14, 2010

Can't install linux on PC. Get the massage "Starting udev... udevd-work[137]: 'sbinblkid -o udev -p/dev/tmp-blo k-7:14' unexpected exit with status 0x000b.

View 3 Replies View Related

General :: Syntax Error Near Unexpected Token `in'

Jun 28, 2011

I'm trying to install the Sun Java plugin to use in Chrome. The installation seems to have gone well, but I have hit an error trying to create a symbolic link of the library in the plugins directory of Chrome.

When typing in "in -s /opt/java/jre1.6.0_26/lib/i386/" I get "Syntax error near unexpected token `in' ". I'm not sure what could be wrong, I'm in the right directory.

View 2 Replies View Related

Ubuntu :: VNC Connection Generates Mouse Clicks?

May 5, 2010

I just installed Ubuntu 10.04 on my Acer AS1410 netbook. I'm having a huge problem setting up a VNC server for it. I've got it all configured so I can connect to it, it loads up the gnome desktop just fine, I can move the mouse around and everything. The problem is that the mouse seems to click away constantly whenever I am remotely connected. If I hold the left mouse button down on the client end it stops this action, but as soon as I let go of the button it starts clicking away again.

View 2 Replies View Related

Networking :: How To Know Which Program Generates Network Traffic

Dec 8, 2008

Via a network traffic monitoring tool I see that my laptop is generating lots of outgoing (EDIT : incoming !!) network traffic. Although no download program is running or any other program of which I know that could be generating this much traffic. Something strange is going on and I need to know how I can find out which program( s ) are generating network traffic.

View 7 Replies View Related

Security :: Find Process Which Generates TCP Packets?

Dec 17, 2010

My machine is trying to communicate with another computer. I�ve blocked the traffic with this machine with iptables (input and output traffic), but I want to find the origin of this traffic. There�re 90% of probabilities it�s a trojan, and I want to find it.I have logged the packets with iptables (and then dropped), but with this I don�t know the proccess source.I�ve tried with netstat -o, but I don�t get nothing.How can I see the Process source (i.e. the PID) of this traffic?The traffic are TCP packets, with SYN flagged active (my machine is trying to establish a connection with that IP).

View 9 Replies View Related

General :: Remove A Folder : Getting An Error : Unexpected EOF While Looking For Matching?

Apr 8, 2011

I tried to remove a folder in linux, davidanderson'spetshop_617 as a folder name. It contained a single quotes. By using the following command

rm -r path/davidanderson'spetshop_617

I am getting this error ,Error: unexpected EOF while looking for matching `''unexpected end of files.How can i remove the folder?

View 2 Replies View Related

General :: SSH: Server Unexpected Closed Network Connection

Jul 4, 2011

In my case, it occurs intermittently when trying to connect using putty's command line client 'plink.exe' to a linux machine using ssh. For some testing purposes, a linux server is setup with 8K virtual ip addresses and the testing scripts will connect to these ip addresses through ssh using plink.exe. There will be concurrently 25 ssh sessions launched to the server. While it works for sometimes, it throws 'server unexpectedly closed network connection' error intermittently. If the same ip address is tried again manually, it works. While the ssh server is accepting connections, this error is thrown sometimes and unable to find out the reason from the logs. It is not that the ssh connection is completely blocked. It gives this error message while connecting to some of the virtual ip addresses but works some times.

The hosts.deny, sshd_config are tuned to allow the connections, allow more sessions etc.

View 2 Replies View Related

General :: Bash - Syntax Error Near Unexpected Token `('

May 2, 2010

I am trying to install vlc media player on my backtrack3 but when i am giving a command xvjf to extract bz2 file then

bash: syntax error near unexpected token `('

View 1 Replies View Related

General :: Syntax Error Near Unexpected Token `for File In

Jan 19, 2011

I have been trying to get the following code to run.


However I am getting the following error:

Is there something that I am missing in the script? I have it as a unix file and tried to make sure that I did not have any extra characters.

View 7 Replies View Related

Ubuntu Installation :: TAR Command Works But Generates Warning

May 20, 2011

May I know what is wrong in the following TAR command? It works, but generate a warning...
> tar -cpzvf /etc/a000/backup.tar.gz /etc/r000
tar: Removing leading `/' from member names

View 2 Replies View Related

Debian Multimedia :: Miro Won't Start - Generates Python Error

Jul 6, 2015

Miro worked well with Wheezy. When I upgraded to Jessie Miro started generating a python error as such:

Code: Select all~$ miro
using /usr/bin/miro.real
Traceback (most recent call last):
  File "/usr/bin/miro.real", line 183, in <module>
    from miro import startfrontend
  File "/usr/lib/pymodules/python2.7/miro/", line 53, in <module>

[Code] ....

I have been searching for a few weeks trying to find an answer to no avail. I tried three different kernels, renaming ~/.miro, checked all dependencies. I reported it as a bug which sat there for a few days and disappeared.

View 14 Replies View Related

Ubuntu Security :: Create 760 But Even If Change The Mask It Still Generates The Same Permissions?

Jan 23, 2010

I have a setup samba and want to get the correct security permissions when my wife creates / copies files from her camera onto the shared/mapped drive on her new laptop (windows 7) I want the permissions set to 770 or maybe 760. See my config below.

Now I can get it to create 760 but even if I change the mask it still generates the same permissions. After every change I restart the samba service. the umask is still 0022, do not know if that makes a difference? The directory permission's are correct with this mask. Do I need to look at groups?


View 1 Replies View Related

Red Hat :: Finding A Command That Generates A Report Or Allows To Check If Certain Updates Has Been Patched

Dec 1, 2010

I currently have Red Hat 5.4 installed and subscribed to red hat network for alert updates.The updates will be done by our administrator but I will like to check if the admin has done so on a weekly basis. Is there a command that generates a report or allows me to check if certain updates has been patched? I understand running a yum update will list all applicable patches. Should we just simply update all or only certain applications applicable to our organization environment?

View 2 Replies View Related

General :: Different Results In Du And Df?

Oct 29, 2010

I was checking /opt and then found something unusual. Below are the results of du and df -h,

$sudo du -h /opt/|tail -3
1.1G /opt/IBM


View 2 Replies View Related

Copyrights 2005-15, All rights reserved