10 More Discussions You Might Find Interesting
1. Programming
Facebook had a mathematics problem which was as thus:-
6/2(1+2) = ?
Answer is 9.
My ancient Casio FX 730P mini computer written exactly as that gives 'error' only.
Now take a look at shell versions, and a python version:-
Last login: Wed Sep 14 18:04:04 on ttys000
AMIGA:barrywalker~>... (6 Replies)
Discussion started by: wisecracker
6 Replies
2. UNIX for Dummies Questions & Answers
Whenever i switch from root to another user, by doing su - user, it takes me to home directory of user. This is very annoying as i want to be in same dir to run different commands as root sometimes and sometimes as normal user.
How to fix this? (1 Reply)
Discussion started by: syncmaster
1 Replies
3. OS X (Apple)
I'm new to playing with the command line on OS X and am puzzled by the response I am getting from the find command. I have a file structure similar to the following
/Volumes/
../Drobo/
../../Pictures/
../../../Image 1/
../../../../Image 1.jpg
../../../../Previews/
../../../../../Image... (2 Replies)
Discussion started by: Denrael
2 Replies
4. Shell Programming and Scripting
How to create a symbolic link to a command with certain argument?
When I man hexdump, it is said in the man page that "-C Canonical hex+ASCII display...Calling the command hd implies this option". Actually it is. hd equals to hexdump -C.
And then I examined the ln command but find it is a... (5 Replies)
Discussion started by: vistastar
5 Replies
5. UNIX for Advanced & Expert Users
Besides doing some shell-script which loops through /etc/passwd, I was wondering if there was some command that would tell me, like an enhanced version of getent.
The Operating system is Solaris 10 (recent-ish revision) using Sun DS for LDAP. (5 Replies)
Discussion started by: ckmehta
5 Replies
6. UNIX for Dummies Questions & Answers
Thanks
AVKlinux (3 Replies)
Discussion started by: avklinux
3 Replies
7. Solaris
Not sure why solaris couldn't detect the geometry of a hard disk which has a working OS of winxp pro.
Is it due to the different OS that the partition information is stored in different location?
When I type '"format" it is shown as below,
c3d1 < drive type unknown>... (5 Replies)
Discussion started by: just.srad
5 Replies
8. Solaris
Hi all,
One disk on my root disk group failed in Veritas Volume manager.
I replaced it with new one, initialized it and placed it with removed one.
it Synchronized plexes and everything is fine. this node was second standby node of Sun cluster. yesterday I had failure on active node with boot... (1 Reply)
Discussion started by: samar
1 Replies
9. Shell Programming and Scripting
Hi all,
I am trying to eject the cdrom from a livecd after certain stage...
Now assuming that it is possible to eject,please consider my issue!!!
The OS boots into a regular user by default...so i am unable to use the eject command to push out the drive...
However if i try pfexec eject it... (3 Replies)
Discussion started by: wrapster
3 Replies
10. Programming
#include <iostream.h>
class A
{
public:
void f(void)
{
cout << "hello world \n" ;
}
};
void main()
{
A *a;
a = 0 ;
a->f(); // OOPs...Am I mad? What am I going to do ?
} (1 Reply)
Discussion started by: RipClaw
1 Replies