Search Results

Search: Posts Made By: rajeshz
Forum: Red Hat 07-18-2013
4,108
Posted By Scrutinizer
Yes, you are 100% right, it does create a sparse...
Yes, you are 100% right, it does create a sparse file. I must have not run du or not at the right moment in the past. I also normally truncate first but it did not always seem to have the desired...
Forum: Red Hat 07-18-2013
4,108
Posted By Corona688
You can: $ cat truncate.c #include...
You can:
$ cat truncate.c

#include <unistd.h>
#include <fcntl.h>
#include <stdio.h>

int main(void)
{
int fd=open("filename.txt", O_CREAT|O_WRONLY);
write(fd,"HEY GUYS ALJ...
Forum: Red Hat 07-18-2013
4,108
Posted By Corona688
Not usually. Most UNIX filesystems have 'sparse'...
Not usually. Most UNIX filesystems have 'sparse' files... You can open a new file, seek ahead 99 gigabytes, and write 1 byte there, to get a file that looks like 99 gigabytes in ls, but only takes...
Forum: Red Hat 07-18-2013
4,108
Posted By Scott
You can find it using # lsof | grep...
You can find it using

# lsof | grep "(deleted)" # (or lsof | grep (filename))


If it's safe to do so, take the pid from the lsof command, and do:

# ls -l /proc/(pid)/fd # to get the fd# for...
Forum: Red Hat 07-18-2013
1,308
Posted By Scott
Filenames, like most things in Unix, are case...
Filenames, like most things in Unix, are case sensitive. Foo is not foo.
Forum: Red Hat 07-04-2013
1,977
Posted By vidyadhar85
add below line to your .profile file (I am still...
add below line to your .profile file (I am still unsure about your requirement)


export PATH=$PATH:<<your application installed path>>
Forum: IP Networking 03-01-2010
16,968
Posted By pludi
Ok, lets take it one column at a time: Proto...
Ok, lets take it one column at a time:
Proto is the protocol used. tcp and udp should be pretty self-explanatory. icm is short for ICMP, which is a network control protocol (pings use ICMP...
Showing results 1 to 7 of 7

 
All times are GMT -4. The time now is 05:59 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy