I want to run followed command:
tshark -l > some.txt
As you see I write stdout to some.txt file.
But I get under /tmp folder temp files named etherXXXX* and these files can increase to 1-2G during 1 hour.
From tshark man I found to use -b option.
So I wrote:
tshark -b filesize:1024 -b files:5 -l > some.txt
and got error: tshark: Maximum capture file size specified, but capture
Hi ,
I am trying to create public key on my AIX server on other than home directory.However the command does not ask for
Enter file in which to save the key :
It is directly taking me to Enter the passphrase.
I don't want to save the key in home dir as that is the home dir for other userID too.
Please help.
Here is the screenshot :
Code:
$ ssh-keygen -t dsa -b 1024
Generating 1024-bit ds
I have a config file in augeas using a custom lens that outputs the data as follows.
Although some file archivers offer us the option of split the files, this can be easily accomplished with two commands: split and cat.
Splitting a file with split
split just needs the size of the parts that we want to create, and the file that we want to split, e.g.:
split -b 1024 file_to_split.bin
Hi All,
i have a requirement where i need to format the input RAW file ( which is CSV) by using another mapping file(also CSV file).
I always wondered why rsync tries to transfer a file to a remote location where it has read/execute permissions for the target dir, but no write permissions to create the actual destination file.
Given the size of a file in bytes, I want to format it in kibibytes, mebibytes etc. to 3 significant figures with trailing zeros, e.g. 1883954 becomes 1.80M. Floating-point arithmetic isn't supported in bash, so I used awk instead. The problem is I don't how to keep the trailing zeros.
I am trying to hot-add a file-based disk to a running KVM virtual server.
Hi,
I am little confuse after using
Code:
du -sk on file .
I have file listing like:
Code:
-rw-r--r-- 1 Xuser Ygrp 51419029531 Sep 21 07:40 catalina.out
when i issue cmd :
Code:
du -sk catalina.out
gives output as
Code:
1804511 catalina.out
This means 1804511 KB. Which means 1 GB.