Software :: Unexpected Output From Stat --format %h?

Mar 6, 2010

stat is (generously) giving twice the expected output:
Code:
c@CW8:/tmp$ touch foo

[code]...

View 2 Replies


ADVERTISEMENT

Ubuntu Multimedia :: Ffmpeg / Mtv Format - Error "Unable To Find A Suitable Output Format For Output.mtv"

Jan 22, 2011

I'm still trying to find out if my coby mp3 player will actually play mtv video files as is advertised.

ffmpeg -formats does list mtv but the only command I really ever used was one to convert a vid to an mp3 so I tried Code: ffmpeg -i test.mp4 -acodec copy output.mtv it returns Code: Unable to find a suitable output format for 'output.mtv' I can't find any mtv files online for purchase or free for that matter, so I know this is all pretty obscure but shouldn't there be a way to convert them since ffmpeg lists mtv format?

View 6 Replies View Related

General :: Stat Command To Print Permission In Octal Format?

Oct 11, 2009

Is it possible to print the permission in octal format for a directory recursively?Code:
stat -c "%a" /etcIt prints the permission for /etc directory only.

View 2 Replies View Related

Ubuntu Installation :: Cp: Cannot Stat '/boot/grub/search.mod': Input/output Error?

Jan 30, 2010

This is what I get when following the instructions to fix grub. I type in "grub-install /dev/sda" and that's the error I get.I'm trying to put Ubuntu or Mint on a Dell Mini 9 with 16gb ssd, but no matter what I do I cannot achieve this goal

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

General :: Error - Gzip :stdin:input /output Error /bin /gstar :unexpected EOF In Archive

Mar 28, 2011

when iam opening my dec_backup folder the folling error is appering :

the error is gzip :stdin:input /output error
/bin /gstar :unexpected EOF in archive
/bin /gstar: error is not recoverable :exesting now

View 1 Replies View Related

OpenSUSE :: Which Output Format To Use?

Mar 2, 2010

I'm flooded with online information and am looking for some concise advice For all of you who are familiar with Avidemux: The program offers an abundance of video output formats (MPEG-2, MPEG-4.AVC, MPEG-4.ASP (lavc), MPEG-4 (xvid), H.263). Which format would you recommend for storing home videos, with regard to (a) being able to view them easily on different PC platforms, and to (b) being able to view them still in n > 5 years from now?

View 9 Replies View Related

Red Hat / Fedora :: Format Output Of Ls?

Feb 25, 2011

I'm trying to format the output of ls -l code...

View 2 Replies View Related

General :: Format The Output Of The Ps Command?

Aug 27, 2010

i am running ps xo "pid,command" but I can't find my process in the results. I know that the process is running because I run ps ax | grep command-name

View 4 Replies View Related

General :: Output Format For LS -LTR Command

Feb 5, 2010

I have a script that is in Unix. I wanted to know is there any difference between output of ls command in unix and linux

In Unix
Code:
ls -ltr | awk '{print $9}'
In linux output is something similar to

Code:
drwxrwxrwx 2 vinay vinay 4096 2010-02-04 20:31 test
According to above output nothing will be displayed for

Code:
ls -ltr | awk '{print $9}'
ls -ltr | awk '{print $8}' will give test as ouptut in Linux.

I wanted to check the output format for ls -ltr, Anyone using Unix systems may paste a sample output of the command ls -ltr..

View 2 Replies View Related

Software :: Output Format In Perl Script?

Jan 26, 2011

I have a perl script that prints an output to standard output using a for loop .It prints a new line every time ,I would like subsequent outputs to be displayed on the same line , I don't want a new line in standard output .Could anyone help plz

$count = $hrstorun*60/$intmin;
$interval = $intmin*60;
for ($c=0; $c < $count; $c++ )

[code]....

View 6 Replies View Related

General :: Output A Text File In Proper Format?

Mar 4, 2010

it compares two files using md5... if they are same , a corresponding character is output to a text file .. but the problem is it gets appended by default.. is there any way to output in a normal way because the text is a message and it should be of proper format
here is my script

Code:

#!/bin/bash
g=`tail -1 new.txt|head -n 1`
array=( a b c d e f g h i j k l m n o p q r s t u v w x y z )
for((i=1 ; i <$g+1 ; i++))

[code]....

the message is supposed to be hello , i need to get rid of the endlines somehow..

View 2 Replies View Related

Software :: Getting Date Command To Output In Format 08-Dec-2010?

Dec 8, 2010

How can format the date command to output the following format 08-Dec-2010.

View 3 Replies View Related

OpenSUSE Multimedia :: DVDStyler Error: Cannot Open Output Format

Jul 16, 2011

openSUSE 11.3 32bit with repos OSS, NON-OSS and Packman + libdvdcss I installed DVDStyler from Packman and as it seems I can't get it to work. When I create a project for PAL, 4:3 with AC3 and finally click "Burn" and select "just generate" to create files for burning I get:

Code:
DVDStyler v1.8.3
Linux 2.6.34.8-0.2-desktop i686
FFmpeg: libavformat 53.4.0, libavcodec 53.7.0, libavutil 51.9.1
Prepare
Cleaning temporary directory

[Code]...

View 9 Replies View Related

Networking :: Convert Tcpdump Output File To A Pcap Format?

Feb 21, 2011

How to convert Tcpdump output file to a Pcap format? Is there such way?

This is what i mean:

tcpdump -i eth0 >> test.out

Now i want to convert test.out to Pcap so It's readable via Wireshark.

View 5 Replies View Related

Fedora :: KDE Doesn't Stat / Sort It?

Nov 23, 2009

Now I have upgraded to FC12, but:KDE doesn't start : kstartconfig4 does not exist or fails. Error code is 127
X-Chat doesn't start and
may be others as well.

View 2 Replies View Related

Programming :: Tar; Cannot Stat: No Such File Or Directory?

Oct 5, 2010

I'm trying to backup every night a big directory (~2.5Gb) using tar+gzip.I'm calling tar like this:nice -n 19 tar --ignore-failed-read --exclude-tag-all=.kein-backup -Pczpsf '/backup/20100925233802f/archive.tar.gz' '/srv/products'And in 90% of the cases works just fine, in about 20 minutes is everything done. However, if it happens that in those minutes one file or folder from '/srv/products' gets deleted it reports me the following error:tar: /srv/products/prod14564.gif: Cannot stat: No such file or directorytar: Exiting with failure status due to previous errorsDoes it exist a parameter for tar to ignore this kind of errors? Is it there any other way to avoid these errors

View 3 Replies View Related

Slackware :: Sox Package, 13.1, Fails On Sox 1.wav -e Stat?

May 3, 2011

I think there is a problem with the sox package that comes with Slackware 13.1.I would appreciate any advice. I'm using the same file, 1.wav, in both cases. The output of file 1.wav is1.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, stereo 44100 HzOn 12.1, I can runsox 1.wav -e stat 2> /tmp/stat.txt

bash-3.1$ cat /tmp/stat.txt
Samples read: 37096920
Length (seconds): 420.600000

[code]....

View 1 Replies View Related

Ubuntu :: Grub Rescue - Error: Cannot Stat: /dev/sda/

Jul 8, 2011

So, I had Ubuntu and Mint on my second hard drive (first drive has 7), and I reinstalled Ubuntu over the entire thing (upgraded from 10.04). Ubuntu now has one drive to itself, while Windows has the other. When I did this, I booted into Grub Rescue. Restarted and switched hard drives, same thing. I loaded the LiveCD and followed this repair guide. I discovered I don't have a Boot.cfg (or .lst) or another file of the three required. I noticed my install did not have any /boot partition, so I reinstalled a few times, all with the same error. Finally, I go back to the LiveCD desktop and run the following: sudo grub-install --boot-directory=/media/[long string]/boot /dev/sda And this is the output: Code: /usr/sbin/grub-probe: error: cannot stat: /dev/sda/ This is on Ubuntu 11.04 with GRUB2 (1.99).

View 9 Replies View Related

General :: CP Cannot Stat Permission Denied (Files Are 644)

Oct 5, 2009

I have some files lying around in /root/bla/, all these files are 644 and /root/bla/ is 755. Still, when I try (as a different user) to cp /root/bla/file ., I get a "cp: cannot stat: Permission denied". I also cannot ls /root/bla/, I also get a Permission denied... what gives?

View 3 Replies View Related

General :: Source Which Created /proc/stat?

Jun 16, 2010

I would like to find out what sources created this /proc/stat?

View 2 Replies View Related

Server :: Stat=Deferred - Connection Refused By - 127.0.0.1

Feb 15, 2010

I am using localhost for only send the email, its send mail outside domain like my gmail or yahoo accunt. but its not send my domain user account. the error comes when i see the logs is: stat=Deferred: Connection refused by [127.0.0.1]

View 3 Replies View Related

Programming :: Date Formatting From Stat Command?

Jul 23, 2010

I'm writing a script that takes the date attribute of a file when it was created and appending it to the name. I'm pretty close to what I need, but the date appears in yyyy-mm-dd format and I want it to read mm-dd-yyyy. What I have done so far is something like

for ((i=1;i<=50;i++));
do fdate=`stat -c %y Video Snapshot $i.png|awk {'print$1'}`;
newname=Personname-$fdate-$i.png;
mv Video Snapshot $i.png $newname;
done

This works decently but the date comes out in the yyyy-mm-dd format. How do I change it?

View 10 Replies View Related

Fedora :: BASH :: Change File Stat In Sub Directory?

Oct 23, 2010

So I have created a Bash script with the intent of the program to change the names of the files in a folder's subdirectory.The code recognises the individual subdirectories, then is able to enter into one and list the files individually, but when it tries to change their information it says;' cannot stat ' : ' No such file or directory 'As if it is looking in the directory that contains the Bash script, not its subdirectory.It is essentially saying, I see a file here called FILE but sorry, I can't change FILE because FILE doesn't exist. kweh?Is this something outside the capabilities of Bash? Am I asking too much of it? Can Bash only manipulate files that are in the same folder as the script?

Code:
#!/bin/bash
echo enter directory

[code]....

View 6 Replies View Related

Ubuntu :: Unable To Stat `./usr/include/asm-generic/mman.h'

May 6, 2010

I have done a completely fresh install of Ubuntu 10.04. As soon as I installed it and checked for updates there were a few, but I got an error for the package linux-libc-dev.

I should make it known that since I got this error about 2 days ago, there have been several more updates issued for other packages, but I still get the same error for this package. Everything else installs fine and currently linux-libc-dev is the only package in my list. When I try to install it via the update manager I get a popup window with the following error message:

Quote:

E: /var/cache/apt/archives/linux-libc-dev_2.6.32-22.33_i386.deb: unable to stat `./usr/include/asm-generic/mman.h' (which I was about to install)

To get more information I also ran it from the terminal:

sudo apt-get update
sudo apt-get upgrade

Quote:

(Reading database ... 147293 files and directories currently installed.)
Preparing to replace linux-libc-dev 2.6.32-21.32 (using .../linux-libc-dev_2.6.32-22.33_i386.deb) ...
Unpacking replacement linux-libc-dev ...

[code]....

This package provides headers from the Linux kernel.These headers are used by the installed headers for GNU glibc and other system libraries. They are NOT meant to be used to build third-party modules for your kernel. Use linux-headers-* packages for that.

View 2 Replies View Related

General :: Stat File For Permissions - Fork() Or Execve()?

May 6, 2011

When a application is ran from the shell:fork() is calledexecve() is calledI know the shell stats the file to make sure the required permissions are allowed in the child shell. But I can not find this in the man fork. Nor can I find this in man execve. Which one of these processes/calls stats the binary to be ran?

View 1 Replies View Related

General :: Get Free Memory Stat For The Past Few Days?

Jul 5, 2011

im trying to collect some data. Is there a way to get the free memory stats over the past few days from some file... i looked into the sar log files but they dont have date stamps in them!

View 6 Replies View Related

Server :: Sendmail: Stat=Deferred: Connection Reset By [127.0.0.1]

Mar 17, 2010

I see in /var/log/maillog this error and I do this checks:

[Code]....

View 4 Replies View Related

Slackware :: Install: Cannot Stat `cuda.h': No Such File Or Directory

Dec 15, 2010

I am trying to install the nvidia-drivers from Slackbuilds.org. When I try to run the SlackBuild, I get the following error:

Code:
install: cannot stat `cuda.h': No such file or directory

What am I missing?

The nvidia-kernel SlackBuild ran fine and created the kernel package.

View 14 Replies View Related

OpenSUSE Hardware :: Driver Install - Make - Cannot Stat R8101.ko

Nov 30, 2008

I just installed openSUSE 11. The 64-bit laptop has a RealTek RTL8102E NIC, which SUSE misidentified during the install. I found the supposedly correct Linux driver on Realtek's website, but I'm getting a problem when trying to compile the driver and I can't find my problem or the solution in any current threads - so I must be doing something pretty stupid. I followed the directions.

[code]...

View 9 Replies View Related







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