An easy question about Solaris

Hi All,
I'm new in Solaris. Last week I found a rediculous problem in my system.
I created a new directory named "test" under "/", and changed to the empty directory by "cd /test". Then I type "touch *" and get a new file named "*"!!! After that, I create two other new files. When I wanted to delete the * file I typed "rm *". You can guess what happened. All files in the current directory was ereased! Maybe I'm wrong, but I think the OS should prevent user creating any file named "*".
Will anyone kindly give me an advice about that? My email address is [email protected] Thanks a lot!!!

Hi
If you do a
$touch *
then you should not get a file named "*" , rather
the command should say "No match" , as there are
no files in the directory. If there are files in
the directory, it should touch all the files.
On the contrary if you do a touch "*" , that is you
want to create a file named "*" , then you are held
responsible for that, and you should remove it by
using something like
$ rm "*"
Let me know if this helps you.
Thanks,
Manish
SUN-DTS

Similar Messages

  • Few questions about Solaris Express Devel

    Hi guys, I'm newbie of solaris, and I've a few questions to ask u .. I'm a freebsd user, and now, I wanna try Solaris express devel on my macbook .. I need to know if Solaris Express devel working with my macbook, 1830 c2d, combo ... And l need to know also how I can get software for it, on freebsd I have the ports, or packages, what about solaris ?? Now, I just trying it on vmware, for learning something ...
    Ty to all ..

    I've found pkg-get and it seem beautifully, working really great .. But, I need to know something about my hw, if it can work on it ...

  • Easy question about Reformatting

    Hello all,
    I am trying to reformat my HD after I have deleted Windows XP off of a partition. The reason for this is an upgrade to Vista and a larger allotment of HD space. My question is:
    I am using Backup v3.1.1. (v369) and I have FULL backup files of my Home folder, and my Music folder (as backup for my backup) for all my iTunes libraries. These are located on a portable HD. Are these the correct files to have backed up in order to have my MAC the way it was before I started the process? If so, then once the reformatting is complete, how do I get it all back onto my MAC permanently? Will all my apps and tweaks work as before?
    I am sure this is a simple question, however, I have never had to do this with a MAC, and I want to make sure I have all bases covered before I begin this. Any other comments or advice would be greatly appreciated.
    Thanks All!

    You call this an easy question ???
    Just messin with ya
    Your home folder is the most important folder containing your music, documents, preferences etc. but a lot is also stored in the system folder and library folder outside your home folder, if you want to be ensured of an exact copy of your current system the best way to go at this is to clone your system partition.
    The app i use for this is carbonCopyCloner
    http://www.bombich.com/software/ccc.html
    To add to this.. i've heard there is software for the mac that allows you to make adjustments to the size of your partitions without having to format the drive, i don't know the names of these products but i do know that it's very risky to use them, if you decide to use an app like that make sure you have proper backups of everything just in case it goes wrong.
    Message was edited by: Pr0digy V.

  • Some basic Questions about Solaris

    Hi...
    I�ve further got some problems ...
    1. Can anyone tell me where i can get a list with
    Commands for the SOLARIS 8 system ???
    For example: I would like to know how to start
    the Xwindow from the bash ...
    (like you can start it with startx in SuSE)
    Need to know the basic commands.
    C ya

    I recommend http://sun.drydog.com/faq, which deals
    with a good deal of questions concerning Solaris on
    Intel PC. Ther, you will find hints and links which
    enable you to go further. http://docs.sun.com is
    an important site for all of Solaris documentation.
    While I can't tell you how to keep X inactive and
    restart it on demand (maybe lowering initdefault?),
    you may choose a text session from the login
    screen. X is deactivated, then, and you are
    working on a full screen ascii console. Unfortionately,
    as far as I know, there aren't virtual consoles like
    under SCO, Interactive, or Linux. But you may
    obtain and start the GPL screen program, which
    provides virtual multi-terminal function on ascii
    screens (even for modem-based connections).
    HTH
    regards, e.sanio

  • Easy Question about resizing video

    I searched 'Resizing Video' and there was too many unrelated results to a really simple question.
    In my old program "Premiere', to resize and move a video around was very easy. You could adjust the scale and X-Y values numerically, or you could use a Free Transform like in Photoshop. Simply dragging bounding boxes for size and aspect and also dragging the clip to decide it's location.
    The only way I know how to do this in FCP is I double click a clip in the sequence, it loads into the viewer, I go to the Motion Tab and then I can adjust the Scale, which is cool. But then I'm left with the Distort section to adjust position (and aspect if need be). In the Distort section there are 8 numeric fields of info to figure out and fill out just to get one clip in a different position correctly.
    I'm thinking there must be another way to adjust the location (or aspect) of a video clip without spending a bit of time on exact coordinates, I want to eye-ball where I want the clip to go and simply move it there. Is the Distort feature the only way to do this? If not, which is the fastest way to move and change the dimension of a clip.
    Thanks for reading, I hope there is another way, I'm not use to these calculations and they're slowing me down.
    Monty

    I searched 'Resizing Video' and there was too many unrelated results to a really simple question.
    That's because it's not a simple question at all and yet every one of those threads was related to the OP's question. As you discovered, there are lots of ways to interpret "resize," during capture, editing, effects, output, viewing, encoding, printing. But the solution was even simpler than you thought. All you had to do was open the manual or the online help system. Start taking the manuals to the gym with you. FCP is not Premiere. You're going to hate FCP, you're going to love FCP but it will never behave like Premiere beyond the elements of the functional paradigm. Forget Premiere.
    bogiesan

  • General questions about Solaris 10

    Hi,
    We recently changed the Operating system on which our application runs from Solaris 2.5.1 to Solaris 10, on Sun Ultra-60 workstations.
    I have a few questions that i'd like to ask :
    - is there a way to have the boot messages back on screen ( we use boot scripts and need to see them run on screen before the login banner appears to know if everything is fine or wrong )
    - We use the "/usr/ucb/ps -auxwww" command to see the processes running, but with some users, the display is truncated, careless of the number of w we use.
    - Once I have installed my server ( this time it is a Sunfire V240 ), I need to create automatically a zone, everything seems fine, but the sysidcfg file seems not to work, I still need to connect to the zone to finish the configuration. Here is the sysidcfg file we use :
    name_service=NONE
    network_interface=hme0
    { hostname=air60s3
    netmask=255.255.255.0
    default_route=none
    protocol_ipv6=no
    security_policy=NONE
    system_locale=C
    timezone=Europe/Paris
    terminal=vt100
    timeserver=localhost
    root_passwd=dTbtiSecimQvo
    Thanks by advance for your responses
    -

    - is there a way to have the boot messages back on
    screen ( we use boot scripts and need to see them run
    on screen before the login banner appears to know if
    everything is fine or wrong )They're logged now, so you can look at them later.
    If you have a script that wants to display to the console no matter what, then instead of STDOUT, have it write something to /dev/sysmsg.
    >
    - We use the "/usr/ucb/ps -auxwww" command to see the
    processes running, but with some users, the display
    is truncated, careless of the number of w we use.Yes. If the user doesn't have privileges over the process (not the process owner or root in most cases), then you can't get that info. You could presumably use sudo, or do something with setuid and /usr/ucb/ps.
    - Once I have installed my server ( this time it is a
    Sunfire V240 ), I need to create automatically a
    zone, everything seems fine, but the sysidcfg file
    seems not to work,I've heard of some problems with using the sysidcf file in 03/05. I don't know if update 1 or patches fix some of the problems.
    Darren

  • Quick (hopefully easy) question about rotating video...

    I'm going to be shooting some video soon that I will later be editing with FCP. I'm going to shoot the video on a Canon Vixia HF10 (AVCHD) camcorder.
    In the situation I'll be shooting, with the mount I'll be using, it would be much easier for me to shoot this video with the camera fully upside-down.
    If I shoot the video fully upside down, can I easily rotate it 180 degrees in FCP with no loss of quality?
    Thanks!

    An interesting thing about video that is shot upside down is the ballistics of the camera movement can be weirdly disconcerting. For instance, if it's a helmet- or wing-style mount, pans and tilts just feel odd.
    As Eric suggests, flipping the image 180 degrees is easy but practice and evaluate.
    bogiesan

  • Quick Easy Question About N580GTX-M2D15D5 Bios

    Hey guys!!
    I just have a real quick and easy (i suppose) question!
    I had bios version KH0, and MSI live update found KH1, i downloaded and flashed successfully (DOS window said please restart and press any key to exit) so i did, restarted my computer, and MSI live update utlity and gpu-z and MSI afterburner are all reporting the same bios version i had with the KH0, version 70.10.17.00.01 & date November 09, 2010
    MSI live update is not picking up the update again, so my question is, how do i know if it flashed correctly since the bios date and version remained the same?
    Thanks !

    Quote
    I had bios version KH0, and MSI live update found KH1, i downloaded and flashed successfully (DOS window said please restart and press any key to exit) so i did, restarted my computer, and MSI live update utlity and gpu-z and MSI afterburner are all reporting the same bios version i had with the KH0, version 70.10.17.00.01 & date November 09, 2010
    Quote
    version 70.10.17.00.01
    that's suppose to be, this is the version of the both bioses
    Quote
    & date November 09, 2010
    this is GPU release date, not BIOS date
    Quote
    MSI live update is not picking up the update again, so my question is, how do i know if it flashed correctly
    Get this: https://forum-en.msi.com/index.php?action=dlattach;topic=147603.0;attach=7931
    extract it somewhere, then run info1 , and look for the last line
    Quote
    since the bios date and version remained the same?
    they are not the same, your looking the wrong stuffs

  • Really easy question about DVDs

    I am about to get a new 5g iPod, and I am excited about being able to watch videos on it. But I have a quick question, is it possible to rip DVDs(like you can with CDs) from iTunes?
    Thanks

    This article addresses your question:
    http://docs.info.apple.com/article.html?artnum=302758

  • Easy question about JScrollPane issue

    The problem is I do not understand why it is not possible, or what I am doing wrong to not be able to initialize a JScrollPane with a variable and call it later, real easy to see in the code below.
    NOTE! I CAN use scrollbars, but only without initializing first, am just trying to understand how to properly do this with initialization or if it is not possible.
    Thank you!!!!
    just look for the First 3 commented sections with stars ******
    import java.awt.Container;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.util.*;
    public class SquareIntegers extends JApplet {
         // set up GUI and calculate squares of integers from 1 to 10
         public void init() ///all variables below are LOCAL, because used only in "init()" if needed elsewhere make above in the CLASS
                             //OR SAVE VALUES between calls to the class's methods
                // get applet's content pane (GUI component display area)
              Container container = getContentPane();
              container.setLayout(new FlowLayout());
              //creaing a layout because I wanted to add a scroll pane
              //container.setLayout(new BorderLayout());
              // JTextArea to display results
              JTextArea outputArea = new JTextArea(8, 8);
              // JScrollPane myscrollbar = new JScrollPane( outputArea ); //********************this is line 27 why does this along with line 33 NOT work????????
              // attach outputArea to container
              container.add( outputArea);
              //container.add( myscrollbar); ******************************this is Line 33 why does this along with line 277 NOT work????????
              container.add(new JScrollPane( outputArea ));//***********this is Line 34, if I comment out 27/33, and just use this, scrollbars
                                                                     // work correctly, but I have heard/seems better to "initialize variables first"
              int result; // store result of call to method square
              String output = ""; // String containing results
              // loop 10 times
                   for ( int counter = 1; counter <= 10; counter++ ) {
                   // calculate square of counter and store in result
                   result = square( counter );           //***********************uses the CUSTOM method from line 44
                   // append result to String output
                   output += "The square of " + counter +
                   " is " + result + "\n";
                   } // end for structure
         outputArea.setText( output ); // place results in JTextArea
    } // end method init
         // square method definition...***** This is a CUSTOM method creation..... if "Math.sqrt" was used, we would not have to do this
         public int square( int y )
         return y * y;      // return square of y this is RETURNED to the statement in "init()" that originally invoked the
                             // "square()" method - in this case line 32, where RESULT invoked the METHOD, so "result" gets the value of RETURN
                             // if it were "public int square()" that means the method does NOT return a value
    The general format of a method definition is
    return-value-type method-name( parameter-list )
    declarations and statements
    including "return;" or "return EXPRESSION;"
         } // end method square ALL METHODS must always be created inside the CLASS definition, as this one is... notice the closing
              // CLASS bracket below
    } // end class SquareIntegers

    Thank you!!!
    I think I understand...... since the JScrollPane already assigned itself to the JTextArea....
    when "adding" to the parent container, the only necessary component to call was in fact the JScrollPane with the container.add( myscrollbar); I do not know if this is correct, but I thank you for your help, because this definitely confused me, back to studying :)
    I have it 100% operational, just posting this to say thank you that it worked, and it will help further my and possibly others understanding of this.

  • Easy question about install time

    Hello,
    I have been having a lot of problems with my MacBook and after posting on the forums it seems a re-install might help. This is my firt time doing a wipe/install so I backed up my files and booted from my Tiger install DVD and did a wipe/install and I am staring at in installing right now. It seems to be taking forever! It has been going for about 2 hours now and is about 1/3 of the way finished and says it has 3 hours 43 minutes to go. Is it supposed to take this long?

    Hi,
    I haven't installed Tiger on an Intel Mac but have installed Jaguar, Panther and Tiger a number of times on PPC Macs. It never took more than 30 minutes to complete.
    I would suggest you let the installation run its course and then see how the computer is working.
    It might be that your HD needed repairing... did you check it with disk utility before starting the installation ?
    One more thing... after the first boot (where you set up accounts,etc) you should boot from the install DVD check the disk with disk utility and repair if necessary.
    S

  • Easy question about 'javac'...

    Yeah, at school, we're so used to using a program like CodeWarrior or NetBeans to do all our programming with. However, here at home, I'm trying to code simply in Notepad, and I'm having a little trouble.
    Basically, I'm getting the NoClassDefFound error. The problem is, though, that I can't actually COMPILE the .java file I wrote in notepad - whenever I try to use the 'javac' command, it gives me an error saying it's not recognized as an external command, blah blah blah. So, there's no .class file.
    Yeah, before this, I had downloaded the runtime environment, and it all went fine, but there still isn't any 'javac' command. :/

    You know how states are always debating whether we (Americans)
    should have the ten commandments carved in stone in front
    of our courthouses? - or something like that...
    Well i think someone needs to carve the god-d@mned classpath
    instructions beside the heads at Mt Rushmore, lol.
    Darkslime, dont feel bad everyone has this problem when they
    start (at least the people that dont read the installation instructions).
    This is what you do.
    Install the SDK (not the JRE)
    Take note of the installation folder.
    Recent installations (1.5) seem to be in:
    C:\Program Files\Java\jdk1.5.0_06\
    Find the \bin folder. it contains the "javac.exe" and "java.exe".
    these are the 2 exes responsible for compiling and running
    java programs.
    the final path should be:
    C:\Program Files\Java\jdk1.5.0_06\bin
    go to MY COMPUTER
    right click
    go to PROPs
    ADVANCED tab
    ENVIRONMENT VARIABLES button
    Under SYSTEM VARs:
    "CLASSPATH" - i keep this empty
    "PATH" - add your installation path
    (i.e.: C:\Program Files\Java\jdk1.5.0_06\bin )
    make sure to add a semicolon " ; " to separate it from the last entry.
    SAVE all of this.
    when you compile "cd" into the directory your project is in.
    try compiling. if it doesnt work try:
    javac -cp . Program.java
    and
    java -cp . Program
    NOTE: you can add other folders to the classpath by using a
    semicolo ";" ....
    java -cp .;Folder1;Folder2 Program
    NOTE: the " . " means "this folder"
    If this doesnt work read the BILLIONS of threads about this
    subject all over these forums and the net.
    Good Luck
    oh - and for gods sake use TextPad and not NotePad.
    TextPad has a "compile" button for Java.

  • Easy Question about end jumps

    Here is my menu lay out. Three buttons.
    Play all (Want it to play enire movie)
    Play part one ( Play up to track 6 and return to menu)
    Play part two (Play from track 7 to end)
    Can someone please tell me how to do this correctly? What am I doing Wrong

    Hi Deon - it's hard to say what you are doing wrong if you don't tell us what you are doing!
    What I would do to set this up is place all the footage into a single track, set markers between each section and use stories to define which chapters play when each button is pressed. Your 'play all' button would point to the track itself. Your 'Play part 1' button would point to a story container, inside which I would place chapters 1 to 6. Finally, the remaining chapters would be in a second story and this would be the button target for 'Play part 2'.
    You do not need to have the assets in separate tracks at all - if you want to play a single clip it can be in a single story with just one chapter marker in - each story can have an end jump setting to return back to the menu...
    Hopefully this will help get you on the way, but if not please give as much info about what you have already done so we can start to troubleshoot it with you.

  • Easy Question about PreparedStatement

    Hi Everyone,
    I have a prepared statement. like this
    "INSERT INTO Accounts VALUES(" +
    "SeqAccountId.nextval" + ",?,?,?,?,?,?,?,?)";
    dbStatement = dbCon.prepareStatement(sqlStatement);
    dbStatement.clearParameters();
    dbStatement.setInt(1,paymentMethodId);
    dbStatement.setString(2,accountName);
    dbStatement.setInt(3,accountTypeId);
    dbStatement.setTimestamp(4,createDate);
    dbStatement.setTimestamp(5,expirationDate);
    dbStatement.setString(6,status);
    dbStatement.setInt(7,Modifiedby);
    dbStatement.setString(8,notes);
    If I were not to set the value for one of the question marks would it give me error or would it just insert a null value ?? ???
    Thanks
    Stephen

    Stephen,
    This will result in an SQL error of "not all variables bound" type.
    Regards,
    Neill Horton

  • Hopefully an easy question about arrays

    hi there
    is there any way of creating an array of objects that is of unspecified size at the time of creating and then add objects as and when they are read from a file?
    longer explanation:
    i am creating molecule visualization software. the molecule's structure is stored in a text file, ie each line has info on one atom ie 3d coords etc. i'm storing the molecule structure in an object (Molecule.java) which has an array (Structure[]) of atoms (Atom.java). obviously molecules can have any number of atoms in it and you don't know how many until you've gone through the whole file and counted. The only way i can think of doing it is to go through the whole file, coun the atoms, close the file, create the Molecule object with the structure array size of NoOfAtoms and then open the file again and add the atoms as i go through them again. however, i refuse to believe this is the most efficient way of doing it as i have to go throguh the same file twice which brings me back to my original question.
    as i said i'm hopeing there is a simple answer
    cheers

    Use a Collection . Use a Vector, ArrayList or even a Hashtable. You do not need to define the size of these objects and can add and remove Objects from them whenever you want

Maybe you are looking for

  • G550 and internet connection

    i have recently bought a new lenovo G550 notebook and it seems a cool notebook for me with its cheap price. well im new with notebooks and i want to know that how i can connect my notebook into the internet . i have an ADSL connection working with a

  • The Versions and Auto Save functions do they work with Office 2011?

    I recently installed LION on my Apple Pro. However the VERSIONS and AUTO SAVE functions do not seem to work with OFFICE 2011 Word and Excel. Does anyone know why? Gabriel

  • Needed roles or Profiles

    I, I am working on CRM 5.0. I have got work on IC web client. as i have no authorization to ic web client developement , my basis peronnel asked me to provide the rolls needed for. Can somebody help with complete list of roles or profile needed for I

  • Wave Studio - Editing prob

    I have Wave Studio v 4.06 with Sound Blaster Li've 5., running with Windows ME. I can open, play, and save files. I can select a passage, but I can't delete. (I've tried both the pull-down command and the delete key. Neither works.) The action _appea

  • Text messages issue

    hello. lately i've received a message from my z10 saying that i should delete my messages because i don't have space. ok, i deleted my messages and now i don't receive them anymore.. i send them and people replies, but i don't receive. WHAT CAN I DO?