I know some C and C++ programming already.
What other background will I need to have?
Also, whats so special about Unix? Why are so many people using it?
What skills will I need before I start to learn Unix?
learn unix shell scripting. It will come in handy. For that matter, general programming knowledge can be useful, but you don't need it to learn how to use Unix. Unix, after all, is simply an operating system. As for your second question, the most common usage for Unix and Linux is as a server because it is ostensibly more stable than Windows boxes.
Reply:Jeff G. is right about shell scripting, but I would start by learning all of the command line commands. When I work in Unix (or Linux for that matter), I keep O'Reilly's Linux Pocket Guide (ISBN 0-596-00628-4 it lists for $9.95, but I think I got it for 7.95 at B%26amp;N) right next to me. There are a lot of commands you need to learn to do anything basic -- like log on and run a program.
Unix/Linux is not hard, it is just different. It is an older OS that originated in the 1970s. It was originally for big machines (there were no PCs), but Linux allows a Unix-like OS for the PC. Linux is inexpensive (most distributions are free), and it works very well on servers.
If you are going to write code on a Linux box, you will need to learn Eclipse (I assume you will be able to use a real IDE and not have to use vi for everything), gcc/g++ (compiler), and gdb (debugger).
Reply:Learn the shell commands to get going, get comfortable with command apps such as grep.
Learn the architecture and structure of UNIX (everything from folders to networking)
Learn how to write apps for UNIX in C/C++
Many people use it because it offers great flexibility and you own and can modify everything. Ownership and knowledge of everything in UNIX is what makes it appealing to programmers. Also, it is free, faster and has been known to be more stable and secure than Windows, although MS is doing a much better job with Windows nowadays.
Once you get comfortable with the keyboard in UNIX, you will realize how much time mouse navigations and clicks often waste.
Monday, May 24, 2010
How do you put a file in a file in UNIX. Ex. In directory Water project is file menu, and in file menu...?
How do you put a file in a file in UNIX. Ex. In directory Water Project is file Menu, and in file Menu is files Add, Remove, and modify? I only know how to put files in directories.
Also is there a command to make a file specifically a date file and not just a text file, i.e $%26gt; vi filename.
How do you put a file in a file in UNIX. Ex. In directory Water project is file menu, and in file menu...?
Not sure exactly what you mean. If you simply want to concatenate three text files named Add, Remove and modify and put the result in a file called Menu, you can use "cat Add Remove modify %26gt;Menu".
If you want to archive and compress them like with zip files on windows, you can use the tar command:
tar -zcvf Menu.tar.gz Add Remove modify
Then to extract them again:
tar -zxvf Menu.tar.gz
Regarding the command to make a file a 'date' file rather than just a text file, I can't really help since I don't know what you mean by a 'date' file.
But ls -l will list files in a way that shows their last modification time/date if you mean that.
Reply:If I understand your question right, you want to create a subdirectory. Generally in the "Save As" dialog, there will be an option for creating a new subdirectory (folder) and then you can put the file in there.
I am not sure what you mean by a date file. You can use the touch command to create an empty file which will have a datestamp of when you ran the command. You can then see the date using "ls -l"
I hope this helps
mothers day cards
Also is there a command to make a file specifically a date file and not just a text file, i.e $%26gt; vi filename.
How do you put a file in a file in UNIX. Ex. In directory Water project is file menu, and in file menu...?
Not sure exactly what you mean. If you simply want to concatenate three text files named Add, Remove and modify and put the result in a file called Menu, you can use "cat Add Remove modify %26gt;Menu".
If you want to archive and compress them like with zip files on windows, you can use the tar command:
tar -zcvf Menu.tar.gz Add Remove modify
Then to extract them again:
tar -zxvf Menu.tar.gz
Regarding the command to make a file a 'date' file rather than just a text file, I can't really help since I don't know what you mean by a 'date' file.
But ls -l will list files in a way that shows their last modification time/date if you mean that.
Reply:If I understand your question right, you want to create a subdirectory. Generally in the "Save As" dialog, there will be an option for creating a new subdirectory (folder) and then you can put the file in there.
I am not sure what you mean by a date file. You can use the touch command to create an empty file which will have a datestamp of when you ran the command. You can then see the date using "ls -l"
I hope this helps
mothers day cards
How to set permanent environment variables from shell script in UNIX?
I have a UNIX shell script that needs to set environment variables, and those variables need to be available permanently after finishing the script execution. I searched a lot for a resolution with no luck!.
How can I do that?
How to set permanent environment variables from shell script in UNIX?
1) You CAN use .profile file under your home directory.
2) You can set the environment variables in:
If you are using ksh ( Korn Shell ) , then in .kshrc
csh ( C Shell ) , then in .cshrc
3) Use appropriate commands for different shells:
set or setenv ( within the .profile or .kshrc or .cshrc )
4) If its different shell ( for eg. bash , tcsh , etc ; then check the
man pages =%26gt; $man tcsh )
5) You may also check these files: .login
.logout
hth
VETRI
Software Engineering Consultant - ( IBM Rational Tools %26amp; Open Source Tools)
Global Software Engineering ( GSE )
Singapore
Vetri AT Global-Software-Engineering DOT com
Reply:chekc the .profile file in u home directory.
or for temporary purpose u can use export command
How can I do that?
How to set permanent environment variables from shell script in UNIX?
1) You CAN use .profile file under your home directory.
2) You can set the environment variables in:
If you are using ksh ( Korn Shell ) , then in .kshrc
csh ( C Shell ) , then in .cshrc
3) Use appropriate commands for different shells:
set or setenv ( within the .profile or .kshrc or .cshrc )
4) If its different shell ( for eg. bash , tcsh , etc ; then check the
man pages =%26gt; $man tcsh )
5) You may also check these files: .login
.logout
hth
VETRI
Software Engineering Consultant - ( IBM Rational Tools %26amp; Open Source Tools)
Global Software Engineering ( GSE )
Singapore
Vetri AT Global-Software-Engineering DOT com
Reply:chekc the .profile file in u home directory.
or for temporary purpose u can use export command
How can I create and manipulate an application object using Java in UNIX?
Yes, big question, but I really am looking for the UNIX equivalent of a Windows JScript that does the following (for example only, I realized I can't call a Microsoft application on UNIX)....
var objwd=new ActiveXObject("word.application");
objwd.visible=false;
objwd.Documents.open("blah");
...
Again, obviously the example above is a Windows-application specific example only. What I'm looking to do is merely emulate a similar concept except using Java (or Perl would be fine too, but I have so little knowledge of either). I want to create an object reference to a particular UNIX-installed application and then manipulate the object with the permissible methods associated with that object. I'm fairly familiar with the way to do this in Windows Scripting, but am quite new to UNIX and am trying to learn the various analygous scripting methods there. Any help (especially code samples) would be much appreciated.
How can I create and manipulate an application object using Java in UNIX?
Well first off, you don't really have COM (you can get emulators) on UNIX systems so you need to work directly with the applications and their APIs to interact with them. If you are looking to do this from Java, you would create your application using the jar file containing APIs from the application you are trying to launch. You could also see if a command line version exist for simple things like trying to open an executable, like "/opt/myapp/app.exe somefile.txt".
For many of the scripting tasks, you can generally find good examples in /etc/rc2.d for starting up applications (similar to what Microsoft services does but without the complexity of actually registering a service...you can just create a startup script and place it in there with a start number for sequence). Of course if you are running a UNIX system like Solaris 10, you do get Service Management Framework (SMF) that offers the features of dependencies and parallel start. I'm not sure if any of the Linux distros have a similar capability or not.
** Edit **
Are you looking to do this for a particular application then? I have plenty of Solaris experience going from Sun OpenWindows 4.x and Solaris 2.5 through Solaris 10. For better or worse (depends who you ask), you won't find VBA like references available on Solaris.
var objwd=new ActiveXObject("word.application");
objwd.visible=false;
objwd.Documents.open("blah");
...
Again, obviously the example above is a Windows-application specific example only. What I'm looking to do is merely emulate a similar concept except using Java (or Perl would be fine too, but I have so little knowledge of either). I want to create an object reference to a particular UNIX-installed application and then manipulate the object with the permissible methods associated with that object. I'm fairly familiar with the way to do this in Windows Scripting, but am quite new to UNIX and am trying to learn the various analygous scripting methods there. Any help (especially code samples) would be much appreciated.
How can I create and manipulate an application object using Java in UNIX?
Well first off, you don't really have COM (you can get emulators) on UNIX systems so you need to work directly with the applications and their APIs to interact with them. If you are looking to do this from Java, you would create your application using the jar file containing APIs from the application you are trying to launch. You could also see if a command line version exist for simple things like trying to open an executable, like "/opt/myapp/app.exe somefile.txt".
For many of the scripting tasks, you can generally find good examples in /etc/rc2.d for starting up applications (similar to what Microsoft services does but without the complexity of actually registering a service...you can just create a startup script and place it in there with a start number for sequence). Of course if you are running a UNIX system like Solaris 10, you do get Service Management Framework (SMF) that offers the features of dependencies and parallel start. I'm not sure if any of the Linux distros have a similar capability or not.
** Edit **
Are you looking to do this for a particular application then? I have plenty of Solaris experience going from Sun OpenWindows 4.x and Solaris 2.5 through Solaris 10. For better or worse (depends who you ask), you won't find VBA like references available on Solaris.
Should I start learning Unix or Linux??
I want to become a linux or unix administrator. Where should I start? How many hours per day? Should I pass a certification?
Buy books?
Should I start learning Unix or Linux??
if you're in it for the money go with UNIX. More money. Get Certs and books!
Reply:most companies have Microsoft or sometimes mac, i would go with one of thought (i proffer Microsoft)
Reply:I say both. Best bet is to go to school. Check your local Community College for IT, Computer Networking, Network Admin type programs. They general train you right to certification and in a broad spectrum of systems and hardware.
AAS Computer Networking, ISP Help Desk Tech(graduated in dec and job hunting)
Buy books?
Should I start learning Unix or Linux??
if you're in it for the money go with UNIX. More money. Get Certs and books!
Reply:most companies have Microsoft or sometimes mac, i would go with one of thought (i proffer Microsoft)
Reply:I say both. Best bet is to go to school. Check your local Community College for IT, Computer Networking, Network Admin type programs. They general train you right to certification and in a broad spectrum of systems and hardware.
AAS Computer Networking, ISP Help Desk Tech(graduated in dec and job hunting)
Thanks people for the help with the unix in VM?
Ok now stupid question, I'm using this as a practice lab, so i need for the command line to be similar to sun microsystems unix (learning purposes) so does ubuntu have a command line that is similar or the same to unix?
Thanks people for the help with the unix in VM?
yes, since ubuntu is linux distribution and Linuix is unix clone.
Reply:Yes. Just open a terminal window. Applications %26gt; Accessories %26gt; Terminal You will get the $ prompt.
Reply:LoL
the graphical interface is just a coat over the unix command line,
you can acces the command line by using alt + F2
hide song
Thanks people for the help with the unix in VM?
yes, since ubuntu is linux distribution and Linuix is unix clone.
Reply:Yes. Just open a terminal window. Applications %26gt; Accessories %26gt; Terminal You will get the $ prompt.
Reply:LoL
the graphical interface is just a coat over the unix command line,
you can acces the command line by using alt + F2
hide song
Printed Copy of Linux/Unix Man pages?
A couple of years ago I forget the URL of a site that sells the printed Linux?/Unix man pages in (i think spiral bounded)? Does anyone know if that site still exists?
Printed Copy of Linux/Unix Man pages?
Hrm ... Hate to answer a question with another but why would you wanted a printed copy of man pages? From my experience, so many man pages are out of date and incomplete. Just print the ones your want.
Printed Copy of Linux/Unix Man pages?
Hrm ... Hate to answer a question with another but why would you wanted a printed copy of man pages? From my experience, so many man pages are out of date and incomplete. Just print the ones your want.
Getting file off remote unix/Linux machine?
How do I get a file I've created off of a remote unix/Linux machine? The machine has email capability setup but I am not familiar with the 'mail' commands. Any solution to pull the file from the machine would be appreciated.
Thanks!
Getting file off remote unix/Linux machine?
Chances are the remote machine already has ssh on it, or you wouldn't be able to access it.
Try using winSCP: http://winscp.net/
This will let you access the file hierarchy of the remote machine and copy files.
Reply:i no how to
Reply:yep win SCP is the best
Reply:make sure the SSH Daemon is running on the remote machine, then you can SSH into it and transfer it
Thanks!
Getting file off remote unix/Linux machine?
Chances are the remote machine already has ssh on it, or you wouldn't be able to access it.
Try using winSCP: http://winscp.net/
This will let you access the file hierarchy of the remote machine and copy files.
Reply:i no how to
Reply:yep win SCP is the best
Reply:make sure the SSH Daemon is running on the remote machine, then you can SSH into it and transfer it
Help Help Help w/ Unix?
Here is the question: Give a command line to display the types of all the files in your ~/unix directory that start with the word chapter, are followed by a digit 1,2,6,8,9 and end with .eps or .prn the solution that i came up with is this: ls chapter[12689]*.eps; ls chapter[12689]*.prn now my question to you is how can i combine that without having to use the semicolen, i know there is a command but i can't think of it. Please help!
Help Help Help w/ Unix?
Just do this
ls chapter[12689]*.eps chapter[12689]*.prn
Or if you want to be fancy
find ~/unix -name 'chapter[12689]*\.eps' -o -name 'chapter[12689]\*.prn' -print
More typing to do the same thing. However, "find" is a powerful command to know. Try "man find" or "info find".
Help Help Help w/ Unix?
Just do this
ls chapter[12689]*.eps chapter[12689]*.prn
Or if you want to be fancy
find ~/unix -name 'chapter[12689]*\.eps' -o -name 'chapter[12689]\*.prn' -print
More typing to do the same thing. However, "find" is a powerful command to know. Try "man find" or "info find".
Why dont they combine UNIX CUI with a right click GUI?
so you could theoretically right click on a filename and get a right click menu based on what is the context of the rightclick? for example when using secure shell telnet right clicking on a filename could produce an option to delete file... rename file... rather than having to use the rm command / mv command and the ability to include autocomplete of common commands, i..e, CUI mixed with basic GUI , context menus, tooltips, autocomplete, why not just mix the good points of both? CI=UI is easier on the eyes, faster to load and GUI is easier to understand or use. For example why dont they make vi editor work more like DOS EDIT with Menus (I dont mean Norton Editor NE for commands must be easily accessible via menu and shouldnt be a need to remember commands something like WordStar on Unix replacing vi ONSCREEN FORMAT MENU , PRINT CONTROL MENU etc. etc.)
Why dont they combine UNIX CUI with a right click GUI?
BECAUSE RIGHT CLICK MENUS AREN'T COOL. You don't want to be uncool do you? do you???
Theres truth to this
fresh flower
Why dont they combine UNIX CUI with a right click GUI?
BECAUSE RIGHT CLICK MENUS AREN'T COOL. You don't want to be uncool do you? do you???
Theres truth to this
fresh flower
What is a good unix based OS for an old laptop?
I am looking for a decent unix based OS to run on an old laptop with only 64mb of RAM, I know they are out there. Just havent found the right one. Can you help?
What is a good unix based OS for an old laptop?
a few links to help out
puppy linux : http://distrowatch.com/table.php?distrib...
alinux : http://distrowatch.com/table.php?distrib...
damm small linux : http://www.damnsmalllinux.org/
feather linux : http://featherlinux.berlios.de/about.htm
Among these puppy linux seems to be the best..have fun
Reply:FreeBSD?
Reply:The BSD family does work well for older hardware. Also consider Slackware linux or DSL (damn small linux). Both would be fine for a Pentium II or slow machine with 64MB of RAM or less.
What is a good unix based OS for an old laptop?
a few links to help out
puppy linux : http://distrowatch.com/table.php?distrib...
alinux : http://distrowatch.com/table.php?distrib...
damm small linux : http://www.damnsmalllinux.org/
feather linux : http://featherlinux.berlios.de/about.htm
Among these puppy linux seems to be the best..have fun
Reply:FreeBSD?
Reply:The BSD family does work well for older hardware. Also consider Slackware linux or DSL (damn small linux). Both would be fine for a Pentium II or slow machine with 64MB of RAM or less.
Help Help Help w/ Unix?
Here is the question: Give a command line to display the types of all the files in your ~/unix directory that start with the word chapter, are followed by a digit 1,2,6,8,9 and end with .eps or .prn the solution that i came up with is this: ls chapter[12689]*.eps; ls chapter[12689]*.prn now my question to you is how can i combine that without having to use the semicolen, i know there is a command but i can't think of it. Please help!
Help Help Help w/ Unix?
Just do this
ls chapter[12689]*.eps chapter[12689]*.prn
Or if you want to be fancy
find ~/unix -name 'chapter[12689]*\.eps' -o -name 'chapter[12689]\*.prn' -print
More typing to do the same thing. However, "find" is a powerful command to know. Try "man find" or "info find".
Help Help Help w/ Unix?
Just do this
ls chapter[12689]*.eps chapter[12689]*.prn
Or if you want to be fancy
find ~/unix -name 'chapter[12689]*\.eps' -o -name 'chapter[12689]\*.prn' -print
More typing to do the same thing. However, "find" is a powerful command to know. Try "man find" or "info find".
Red hat Linux and UNIX.. Is there much difference?
I worked on HP UNIX systems for long time, a company asked me to come and have an interview with them, they need a new emplyee to work with Redhat Linux systems.. I never worked with Linux.. is there much difference? Is there any good manuals or guides on the web to read about RedHat?
Red hat Linux and UNIX.. Is there much difference?
There are a few differences and a LOT of similarities. If you want a taste of what it's like there is a Fedora Core 8 LiveCD you can download from the official Fedora site (Fedora is the Testing version of Red Hat Enterprise Linux which is presumably what you'd be working on). Once you have it, assuming you are running X-Windows of course, opening a terminal and typing man %26lt;command%26gt; or info %26lt;command%26gt; or going to the Help item on the menu should get you to a pretty good idea of what is unique about it.
Reply:They are of the same "family", I don't think you will have too much trouble with the differences.
Here is a list of some of the common "red hat" commands
It is the same commands in all linux.
http://www.networkclue.com/os/Linux/comm...
Just visit http://redhat.com for real details and just do a quick search on the net for linux commands and operations etc.
The "Red Hat Linux Bible" is a very complete book on the system. Get it at your local book store or Amazon etc.
Reply:I prefer AIX.
More stable and more secure.
Red hat Linux and UNIX.. Is there much difference?
There are a few differences and a LOT of similarities. If you want a taste of what it's like there is a Fedora Core 8 LiveCD you can download from the official Fedora site (Fedora is the Testing version of Red Hat Enterprise Linux which is presumably what you'd be working on). Once you have it, assuming you are running X-Windows of course, opening a terminal and typing man %26lt;command%26gt; or info %26lt;command%26gt; or going to the Help item on the menu should get you to a pretty good idea of what is unique about it.
Reply:They are of the same "family", I don't think you will have too much trouble with the differences.
Here is a list of some of the common "red hat" commands
It is the same commands in all linux.
http://www.networkclue.com/os/Linux/comm...
Just visit http://redhat.com for real details and just do a quick search on the net for linux commands and operations etc.
The "Red Hat Linux Bible" is a very complete book on the system. Get it at your local book store or Amazon etc.
Reply:I prefer AIX.
More stable and more secure.
What is a good unix based OS for an old laptop?
I am looking for a decent unix based OS to run on an old laptop with only 64mb of RAM, I know they are out there. Just havent found the right one. Can you help?
What is a good unix based OS for an old laptop?
a few links to help out
puppy linux : http://distrowatch.com/table.php?distrib...
alinux : http://distrowatch.com/table.php?distrib...
damm small linux : http://www.damnsmalllinux.org/
feather linux : http://featherlinux.berlios.de/about.htm
Among these puppy linux seems to be the best..have fun
Reply:FreeBSD?
Reply:The BSD family does work well for older hardware. Also consider Slackware linux or DSL (damn small linux). Both would be fine for a Pentium II or slow machine with 64MB of RAM or less.
flower names
What is a good unix based OS for an old laptop?
a few links to help out
puppy linux : http://distrowatch.com/table.php?distrib...
alinux : http://distrowatch.com/table.php?distrib...
damm small linux : http://www.damnsmalllinux.org/
feather linux : http://featherlinux.berlios.de/about.htm
Among these puppy linux seems to be the best..have fun
Reply:FreeBSD?
Reply:The BSD family does work well for older hardware. Also consider Slackware linux or DSL (damn small linux). Both would be fine for a Pentium II or slow machine with 64MB of RAM or less.
flower names
Anyone know anything about unix coding?
sample of unix coding, along with the interface
maybe u can tell me about the requirement in terms of hardware and all........
Anyone know anything about unix coding?
Do you know anything about Windows programming? If so it is pretty much the same on Unix. C/C++, and Java being the most popular languages.
As for hardware. You can get versions of Unix that can run on anything from you PC to super computers. For your PC the best Unix out the is Solaris 10, which you can get for free from www.sun.com. You can also go with Linux, which is extremely close to the pure Unixes. Most of what you learn on Linux would be true of Unix.
maybe u can tell me about the requirement in terms of hardware and all........
Anyone know anything about unix coding?
Do you know anything about Windows programming? If so it is pretty much the same on Unix. C/C++, and Java being the most popular languages.
As for hardware. You can get versions of Unix that can run on anything from you PC to super computers. For your PC the best Unix out the is Solaris 10, which you can get for free from www.sun.com. You can also go with Linux, which is extremely close to the pure Unixes. Most of what you learn on Linux would be true of Unix.
When we type password while logging onto Unix, it is not visible on screen. How is this achieved?
I want to make an application in Unix which accepts password, but it is not visible on screen, just the way it happens when we log onto a Unix terminal. Thanks :)
When we type password while logging onto Unix, it is not visible on screen. How is this achieved?
The stty -echo command is used to turn off the display while entering. after use use stty echo to turn it back on. In a gui, any standard password text box should do this automatically.
When we type password while logging onto Unix, it is not visible on screen. How is this achieved?
The stty -echo command is used to turn off the display while entering. after use use stty echo to turn it back on. In a gui, any standard password text box should do this automatically.
How to mirror a unix server?
Hello, I would like to setup a live mirror of my inhouse unix server to another offsite server. To clarify this I would like it so that anytime new files or records are created they would be created also on the offsite server at the same time via a internet connection.
Thank you
How to mirror a unix server?
Sounds like your looking for a continuous availability solution. It depends on the platform.
An "active active" clustered solution may do the trick. Fundamentally were talking about syncing disk across some geographic area. EMC offers a solution called SRDF/A that allows you to maintain
identical systems. It's a headache to set up but it works like a charm.
Good Luck.
Reply:You can also use 'rsync' for that. Report It
Reply:You can use rsync, read man page of rsync. OR visit offical site http://samba.anu.edu.au/rsync/
Thank you
How to mirror a unix server?
Sounds like your looking for a continuous availability solution. It depends on the platform.
An "active active" clustered solution may do the trick. Fundamentally were talking about syncing disk across some geographic area. EMC offers a solution called SRDF/A that allows you to maintain
identical systems. It's a headache to set up but it works like a charm.
Good Luck.
Reply:You can also use 'rsync' for that. Report It
Reply:You can use rsync, read man page of rsync. OR visit offical site http://samba.anu.edu.au/rsync/
Which do you think is the best open source UNIX-type operating system?
One of the various Linux distributions - such as RedHat / Fedora, Suse, Debian, Slackware? Or would it be one of the others such as FreeBSD or another free UNIX type system?
Which do you think is the best open source UNIX-type operating system?
For me it is Fedora, that is the only distro I have had success in getting to run on my laptop, all others give kernel panics, to include Knoppix and Ubuntu, during the install.
Reply:It's all a matter of opinion. I've always liked slackware and slackware based, although reasently I been using xubuntu a lot.
http://www.distrowatch.com/
yugioh cards
Which do you think is the best open source UNIX-type operating system?
For me it is Fedora, that is the only distro I have had success in getting to run on my laptop, all others give kernel panics, to include Knoppix and Ubuntu, during the install.
Reply:It's all a matter of opinion. I've always liked slackware and slackware based, although reasently I been using xubuntu a lot.
http://www.distrowatch.com/
yugioh cards
How do i make a session file using a unix command window?
I need to make a session of my computer program's output for my programming class. I can't find how to do it in my notes or online. im sure it's simple, but im missing it. The only hint i got was
" Use Unix%26gt;script %26lt;sessionFile%26gt; to do this "
im assuming somewhere you input the "XXX.exe" and the destination file... but i cant seem to get anything to work.
How do i make a session file using a unix command window?
When you start your session at the xterm window, type "script %26lt;filemname%26gt;" at the prompt. That will open a file named %26lt;filename%26gt; that will record your session. If you just type in the command script, it will output to a file named "typescript".
Then you just run your program. When you are done, press CTRL-D.
For example I did the following on my Linux box..
mike@edsel:~%26gt; script sizes_script
Script started, file is sizes_script
mike@edsel:~%26gt; ./sizes
char= 1
unsigned char = 1
int = 4
unsigned int = 4
short = 2
unsigned short = 2
long = 4
unsigned long = 4
float = 4
double = 8
long double = 12
mike@edsel:~%26gt; Script done, file is sizes_script
mike@edsel:~%26gt;
I typed a CRTL-D at the second to last line.
For more info, type "man script" into your xterm. That will give you all the info you need.
Reply:check out this site
http://www.tech-faq.com/capture-unix-ter...
" Use Unix%26gt;script %26lt;sessionFile%26gt; to do this "
im assuming somewhere you input the "XXX.exe" and the destination file... but i cant seem to get anything to work.
How do i make a session file using a unix command window?
When you start your session at the xterm window, type "script %26lt;filemname%26gt;" at the prompt. That will open a file named %26lt;filename%26gt; that will record your session. If you just type in the command script, it will output to a file named "typescript".
Then you just run your program. When you are done, press CTRL-D.
For example I did the following on my Linux box..
mike@edsel:~%26gt; script sizes_script
Script started, file is sizes_script
mike@edsel:~%26gt; ./sizes
char= 1
unsigned char = 1
int = 4
unsigned int = 4
short = 2
unsigned short = 2
long = 4
unsigned long = 4
float = 4
double = 8
long double = 12
mike@edsel:~%26gt; Script done, file is sizes_script
mike@edsel:~%26gt;
I typed a CRTL-D at the second to last line.
For more info, type "man script" into your xterm. That will give you all the info you need.
Reply:check out this site
http://www.tech-faq.com/capture-unix-ter...
Will it affect my computer if i download the Unix version of O/S on my Windows Vista?
if i download the unix or linux version of O/S on my computer, will it slow down my computer's speed or anything similar like that? Any suggestions will be truely welcomed!!
Will it affect my computer if i download the Unix version of O/S on my Windows Vista?
If you download it, it will not affect anything at all... If you INSTALL it, you will have to decrease the size of your windows partition, or put a 2nd hard drive in, and it will install a "boot loader" that will allow you to select windows or linux to boot into when you boot.
It will not affect the speed or stability of your system at all, as long as you don't decrease your windows partition size to the point that windows doesn't have enough "breathing space" to run properly. (leave at *least* 5GB free to be safe.)
Reply:as long as you formally introduce them at each other
Will it affect my computer if i download the Unix version of O/S on my Windows Vista?
If you download it, it will not affect anything at all... If you INSTALL it, you will have to decrease the size of your windows partition, or put a 2nd hard drive in, and it will install a "boot loader" that will allow you to select windows or linux to boot into when you boot.
It will not affect the speed or stability of your system at all, as long as you don't decrease your windows partition size to the point that windows doesn't have enough "breathing space" to run properly. (leave at *least* 5GB free to be safe.)
Reply:as long as you formally introduce them at each other
Subscribe to:
Posts (Atom)