Search Results

Search: Posts Made By: harikamamidala
Forum: Programming 03-10-2010
1,838
Posted By harikamamidala
object creation
Hi,

I was asked this question in interview.can you people please help me out in this.

class A
{
int i;
a()
{
i=10;
cout << i;
}
}
int main()
{
A a(); // what...
4,185
Posted By harikamamidala
Number of Bits in the Byte
Char BYTE=0XFE... How can we find the number of Bits in this Byte?


Thanks,
Harika
3,019
Posted By harikamamidala
Size of Structure
How can we find size of a structure with out using sizeof operator?

Thanks,
Harika
8,774
Posted By harikamamidala
Hi, Thanks for ur reply.I am able to get the...
Hi,

Thanks for ur reply.I am able to get the directory name thats occupying the maximum space using .. ls |du -sk * | sort -n | tail -1 | cut -f2

Is there anyway that I can get the directory...
8,774
Posted By harikamamidala
Disk Usage
Hi,

I want to retrieve the directory in the shell script that is using maximum space on the disk.I was using du command but it displays all the directories that are using the space on the disk.How...
2,632
Posted By harikamamidala
Thanks for the reply.But,I want to find the file...
Thanks for the reply.But,I want to find the file in all the directories.. and even search for the expression in all the directories..
19,826
Posted By harikamamidala
To write to console and file
Hi,

How can i redirect the traces to both the console and to a file..
The way i was doing was:

/home/harika/harika/samp.exe
if [ $? -eq 0 ]; then
echo "executed the first exe.."...
2,632
Posted By harikamamidala
Command to search for a file
Hi,


I am new to unix.Can you please tell me whether there is any command to search for a file in all the directories... and also i want to search for an expression in all the directories.
...
Showing results 1 to 8 of 8

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