9 More Discussions You Might Find Interesting
1. Solaris
Hello,
I've just started using a Solaris machine with SunOS 5.10.
After the machine is turned on, I open a Console window and at the prompt, if I execute a pwd command, it tells me I'm at my home directory (someone configured "myuser" as default user after init).
... (2 Replies)
Discussion started by: egyassun
2 Replies
2. Red Hat
Hi,
I'm trying to resize an ext3 FS (filesystem) under an LVM.
I have booted the OS (RHEL 4) in rescue mode using the CD media and I'm able to use lvm commands.
Now, I'm trying to shrink the filesystem before actually shrinking the logical volume but I cannot find ext2onlone or resize2fs... (1 Reply)
Discussion started by: verdepollo
1 Replies
3. Red Hat
FYI
On redhat enterprise 5.5, no more ext2online, just use below
# resize2fs /dev/uservg/xxxxxxx
resize2fs 1.39 (29-May-2006)
Filesystem at /dev/uservg/xxxxxxxxx is mounted on /xxxxxxx; on-line resizing required.................................
It will increase the size on the fly... (0 Replies)
Discussion started by: itik
0 Replies
4. Solaris
Hi,
I've created solaris user which has both FTP and SFTP Access. Using the "ftpaccess" configuration file options "guest-root" and "restricted-uid", i can restrict the user to a specific directory. But I'm unable to restrict the user when the user is logged in using SFTP.
The aim is to... (1 Reply)
Discussion started by: sftpuser
1 Replies
5. Programming
Dear all,
Inside a C program, I want to open a very big file (about 12 GB) in order to read its
content. Here is the code:
/*
argv contains the path to the file.
*/
inputFileDescriptor = open(argv, O_RDONLY);
if (inputFileDescriptor < 0)
{
... (6 Replies)
Discussion started by: dariyoosh
6 Replies
6. Shell Programming and Scripting
I tried opening the files in a directory and print thier names.
But it was thowing the error "unable to open directorty at t5.pl line 2."
Can u plz correct this error in below mentioned code.
#!/data/scoredev/perl
opendir(HOMEDIR,"c:\vin") || die("unable to open directorty");... (3 Replies)
Discussion started by: vinay123
3 Replies
7. UNIX for Dummies Questions & Answers
Hi
what is the difference between the directory named /home and the user's home directory?
can anyone plz reply?
really confuse about it!!!!!!!!
thank you (1 Reply)
Discussion started by: nokia3100
1 Replies
8. UNIX for Dummies Questions & Answers
I'm trying to cd into a home directory with
cd ~username_here
and I'm getting the following error:
~username_here: does not exist
The directory exists and I can directly go to it via cd /export/home/username_here without any problems.
Any suggestions? (4 Replies)
Discussion started by: here2learn
4 Replies
9. UNIX for Dummies Questions & Answers
when i compile *.cpp files the compiler didn't find the non standart includes.If i have to put the full path of the includet files
where shall i begin from root dirctory or i heve to put includet files in cpp home directory???
can i compile java files in unix(linux mandrake 7) if yes haw... (3 Replies)
Discussion started by: user666
3 Replies