General :: Equivalent Of Read -r - Solaris Command
Jan 3, 2011
What is the equivalent of read -r (solaris command ) in Linux ? read utility in solaris will read a single line from standard input and -r option is used not to treat backslash () as an escape character .
This is actually a question regarding RHEL 5.5. rather than CentOS but I understand they are very similar.With Solaris we use SMF to ensure that certain Java process are continuously running.If SMF notices that Java process has stopped it will run a start script, if we want to stop it, it will run a stop script.What could be use in RHEL?
I am able to build a shared library under solaris with /usr/local/bin/g++ -G -o output.so file1.o file2.o file3.o. How do I build the shared library under linux using the same files? I have tried to use the same command /usr/local/bin/g++ -g -o but I got some undefined references, even if those references are defined in one of the object files.
If I want to use the locate command on a Linux machine, I usually run sudo updatedb first to update the database. I can run the locate command on OS X 10.5 but I can't find updatedb. What's the corresponding updatedb for the mac?
We often require to find an equivalent text command for any GUI operation. Just as an example we click on a folder (say ABC) from the current directory in order to see the contents of that directory. The equivalent command for it to happen would be->
Code: cd ABC ls Now the thing is that we often don't know what that equivalent command will be. So I want to know that is there any way out to find it. What I want to do is that I shall perform any operation using mouse in the GUI mode(whatever operation it could be) and then I can see a log file to see what I actually did last(rather what the command would have been if I have worked in the text mode)...
I am teaching using an Ubuntu 10 server. The course stipulates the students use the mail command to send me assessment work, however I can't get mail to work (I did have to install it in the first place). After I end the message with a dot I get the message "send-mail: cannot open mail:25".
I write a script to read a file which is something like a pipe (or) queue , which shows the running status.In normal case, if i open this file with cat command, i have to use ctrl+c to exit this . What command shall i use to do the same inside a shell script ? I have tried ^C in my script , but it does not exit the process.
I have a DBA that needs to be able to do a "setgroups" on Linux. He had the functionality on AIX but now we're migrating to red hat. In-case you don't know the setgroups command in AIX; it allows users to drop groups that they belong to for that login session. He wants to be able to do this so that he can drops groups for testing. Does anyone know of any equivalent commands to setgroups or another way of dropping groups for that session and not permanently?
Using the following command: xterm -e tail -f stdout.log
I can see the log of an applications and it's update in realtime. I want to uninstall the gnome and I'm looking for the equivalent command for the terminal. I want on startup tty4 for example to show me the log.
Is there an equivalent command that will perform the same task as ALT+F4 keystroke? I want to create a simple script that lirc can use so I can set up a button on my remote to close program windows that pop up (like when plugging in usb thumb drives, inserting a dvd, and other windows), and avoid having to remote desktop or go into CLI to kill the window.
I am trying to find a linux cmd line utility that will read info from an iso file. The problem I have is that the file is always corrupt so I cannot mount it because I only have around 100k of it but all I need is to extract the headers of what the iso contains. how I can achieve this I have searched the internet with no look at all.
I have Preinstalled Xp on my system.I have installed Solaris in one of my unused partition.when i installed the fedora 12 i didnot get the options for solaris booting though i have used different partition for solaris and fedora.How can i get the options for solaris or else i have made a mistake in installing fedora. In either case please guide me though how irritating it may be to guide a newbie.Also if i want to use Archlinux with all three above how can i do it.
i have a linux mechine, in that i want to install solaris throug xen virtualization. (solaris content is in CD) while i am doing this there is an option "local install media" in installation method it was not highlighting so i can't install this. then what can i do now.