Saturday, 4 June 2011

Unix&Liunx) .cshrc?

How can I set up the %26#039;.cshrc%26#039; as below ?


When I set that up , Could you please show me the result ?





D. Create a duplicate of your current %26quot;.cshrc%26quot; file; Open 2nd connection to SJU48; edit %26quot;.cshrc%26quot; with VI:





i. Clean up unwanted and obsoleted entries such as lpath, extra aliasesand comment-out lines





ii. Correct environment variables as appropriate, in particular, PATH, MANPATH, most importatnt function keys


such as ERASE, INTERRUPT, STOP, SUSPEND, EOF and KILL; creat your favoriate aliases; add variable


such as tabs, umask, filec, tty, noclobber, and history et al. set your prompt so it will display (minimum the following)


your login-name, hostname (system name) and current working directory.





iii. Save your changes; execute command %26quot;source ~/.cshrc%26quot; or equivalentin other shell to configure the file


iv. if no error after execution, you are ok; otherwise, repeate steps ithrough iii until no errorv.


customize your .bash_profile in a way similar to above for .cshrc|||Example here


http://web.bilkent.edu.tr/Online/unixman鈥?/a>

Big problem with UXtheme.dll?

Hi, I wanted to change my vista theme to a different one, so I followed the guide on win matrix. After I had the patched file in the correct directory, I rebooted, but when I start up and log in again, I just see a black screen and my cursor. Explorer.exe doesn%26#039;t work (at all), and ive tried taking control of the file (with cmd.exe), but when I try to rename it or delete it (still using cmd.exe) It says access denied. All I can open so far is: Task manager(only about 4 processes running), Command prompt, and the %26#039;choose a program to open this file%26#039; box when I tried to open uxtheme.old with cmd. Thanks.





Note: If anyone could tell me how i can get to control panel that would be great too. |||get an unpatched copy of uxtheme.dll, (download it, use google, or get a friend to email it to you) whack it on a usb, boot to safe mode, then overwrite the patched file.





BTW, this is the correct thread for patching vista


http://www.winmatrix.com/forums/index.ph鈥?/a>

Really tough virus...need hosts file help.?

So I got a horrible virus about 2 months ago and I was able to remove all of it. Now the problem is with my hosts file. It%26#039;s not in my etc folder. I have show hidden files on, but it%26#039;s still not there. If I run notepad as admin I can navigate to my etc folder, manually type %26quot;hosts%26quot;, and get it to open. I see that google, yahoo, and every other search engine you can think of has been redirected. If I try to save it, it says that it cannot be made and to check the path. If I save it as a text file, then remove the extension it will say that a file with name already exists and makes the name %26quot;Hosts (2).%26quot;





Obviously there has to be the file already there, but when I open the command prompt (as admin) and try to delete the file there it says it can%26#039;t be found(and yes I had the directory right and I typed everything correctly)





How can I change this?|||col shut your computer completely down and then redo your settings on your computer and see what is in the file then

Microsoft's Windows XP Spyware?

am hoping to start a discussion about the ntuser.dat file in XP. This would be located in the C:\Documents and Settings\username directory. It%26#039;s a file that is supposed to maintain the registry settings. However it can grow to tremendous sizes. It continues to grow even if you do not change the registry. Being the curious type, I had to find out what is in this file. I tried opening it using FileAlyzer (from the makers of Spybot) but it would not open as it was being used by another process.





What I had to do was create a new user account for myself with admin privileges. At this point I noticed the ntuser.dat file in the new account is only a few hundred kilobytes in size. Then I began the process of deleting my original user account. During the user account deletion process, you are prompted whether to delete all of the users files or to save them. I chose to save them. The user account was gone, but the subdirectory was still present in the C:\Documents and Settings folder. Directories such as Application Data, Cookies, User Data, WINDOWS, etc were still there. But more importantly, the ntuser.dat file was still present. It had grown to over 5MB. I tried opening the file with FileAlyzer but it wouldn%26#039;t open. Even though the user account was gone, the file was still locked by another process!!





To take care of this I had to restart my computer and enter %26quot;Safe Mode with Command Prompt%26quot; in the Administrator account. Using DOS commands I was able to unhide ntuser.dat and then rename it ntuser.txt. After restarting the computer I was able to open the file with FileAlyzer.





I found listings for such things as keys pressed, windows opened, window sizes, resizing of windows, scrolling positions, addresses, files opened, files saved, registry changes made, programs opened, links, etc. I am not sure if all keys pressed are retained in the file (such as typing an email or a notepad document). In FileAlyzer, strings are in a left frame and are very brief. Double-clicking on a string takes you to its location in the right frame, which shows both the hex dump and text. However, a good portion of the text was coded as if you opened an executable in Notepad. But program names and file names were easily read. I have read elsewhere that this file also stores such information as passwords, form data, etc. In essence, the file contains a complete account of what I had done on the computer since I started using Windows XP.





I%26#039;m just wondering how others feel about this type of recordkeeping being done by Microsoft without the knowledge of the user, and if anyone has any other information about how this file is used by the operating system.|||Wow. I don%26#039;t know much about the registry, but that was some good research. I%26#039;d like to hear what M$ has to say about that.





Edit to answerer #2...


a) paranoia is a moot point if your comp is keylogging every stroke since day 1.


b) it doesn%26#039;t look like a standard cleaner like CCleaner, Gould or ATF Cleaner cleans ntuser.dat (But as I said I don%26#039;t know a lot about the registry, so I could be wrong there.)


c) any mention of a firewall is irrelevant to this question. The point being that MS is making the user vulnerable by storing this info without our knowledge to begin with. If it wasn%26#039;t there (or if we could get rid of it) we wouldn%26#039;t need to worry about it getting out.





Edits 2 and 3 regarding fraudulent poster have been removed.|||you can buy programs that erase your history





and besides do you think your life is so important that microsoft has a file or you? [or anyone else for that matter]





or if your that paranoid just get a firewall [which monitors what programs send info online]

I want to play Jazz Jackrabbit using DOSbox, but I can't get it to work!?

How the heck do you load a game on DOSbox??? I%26#039;ve tried following directions that look like this:


DOSBox will give you a text prompt where you enter commands.





Now, find the directory containing the game you want to play. For example, lets say the game is in C:\myoldgame





In DOSBox, type:


mount c c:\myoldgame\


This will set the c:\myoldgame directory as the C drive in DOSBox.


Now, in DOSBox, type C:


This will change the directory to your game directory.


You can type dir to get a list of the files.


Your game should have a .exe executable file. Type that file in DOSBox and it will run your program.





but everytime I try this it says the location doesn%26#039;t exist. How does this work????|||Which command gets you the %26quot;location doesn%26#039;t exist%26quot; error?

How would you create the following batch file??? Exact commands please.?

Using Window%26#039;s Vista as the Operating System. How would you create a batch file to do the following:


* change the console color to blue text on a white background


* change the prompt to include the date and a greater than sign


* change the title to CISC105


* set the working directory to My Documents (using %userprofile% environmental variable in the path)


* create a new directory in My Documents, called %26quot;homework%26quot;


* display the directory listing of the subdirectories in the My Documents directory|||In Windows Vista it%26#039;s called %26#039;Documents%26#039; but in Windows XP it%26#039;s called %26#039;My Documents%26#039; but you specified %26#039;My Documents%26#039; so here%26#039;s the batch file for that:





@echo off


echo @echo off%26gt;c.bat


echo color F1%26gt;%26gt;c.bat


echo set prompt=%%date%%$G%26gt;%26gt;c.bat


echo title CISC105%26gt;%26gt;c.bat


echo set home=%userprofile%\ My Documents%26gt;%26gt;c.bat


echo cd %userprofile%\My Documents%26gt;%26gt;c.bat


echo mkdir %26quot;Homework%26quot;%26gt;%26gt;c.bat


echo echo --------------------------------%26gt;%26gt;c.bat


echo echo Sub-Directories in My Documents:%26gt;%26gt;c.bat


echo echo --------------------------------%26gt;%26gt;c.bat


echo echo.%26gt;%26gt;c.bat


echo dir /a:d /b | more %26gt;%26gt;c.bat


echo goto :eof%26gt;%26gt;c.bat


cmd /k c.bat

Linux questions?

first question. im trying to install sauebraten. how do i do this? links would be nice.





second people keep saying %26quot;in the terminal change the directory to scr/%26quot; or other directories. how do i change the directory?





third. im very new to linux. i just installed it last night. is there other stuff i need to install first i.e. openGL/openAL or anything? if so what and in what order if the order matters? (links would be pleasant if you have them :) ).





fourth when i type sudo `command` it prompts me for password...but i cant type the pass word...i cant type anything i try pressing keys and nothing happens...were there some steps that i skipped in the initial setup of my linux.





fifth. i have super karamba. i finally got it installed...but it doesnt work . i install stuff and click %26quot;add to desktop%26quot; but it doesnt show up on my desktop...what am i doing wrong.





sorry for having so many questions...its just im very new to linux and i am completely lost and overwhelmed.





someone please help me|||1) apt-get install sauerbrauten





2) open a console use terminal or konsole from menu..


then, in dir, type %26quot;cd scr%26quot; BUT SCR MUST UNDER HOME... u must type full path to scr like %26quot;cd /usr/scr%26quot;..





3) apt-get libopenal openal etc... opengl only is able for supported cards, like intel, but nvidia and ati should down modules.. : apt-get install nvidia-kernel-module, diownload from www.debian.org or http://qgqlochekone.blogspot.com





4) install next time a real working linux like debian or VENENUX, not a trash!





5) u must able at kicker applets or desktop.. depent of ur KDE version...!!!





more usefully u mailme see at http://qgqlochekone.blogspot.com|||I just checked and saurbraten is an %26quot;out of the box%26quot; installation for Ubuntu, using synaptic|||1. i have no idea





2. the change directory command is cd so type cd scr (enter)





3. i assume youre running ubuntu, and if youre not then you can specify, but in ubuntu thats installed out of the box (openGL)





4. the password is hidden, just type it in and hit enter





5. are you using kde or gnome? (gnome has applications, places, and system on the top left) thats for kde only, if youre using gnome, try gdesklets





welcome to linux, and enjoy :D|||u must use sycnaptics or kpackage, for install the game, or see http://qgqlochekone.blogspot.com for games 3D shoters





openal and opengl are instled if u have internet conection, this will be instaled by defualt when install the game (if the game is a .deb file or request by apt)





enable opengl depends of u card, only nvidia, intel and ati are suported at 100%, via are poor suported, sis only support 630/300, voddoo and some matrox! modules u must download from oficial linux disrto usin sycnaptics or kpackage





sudo requieres password for root, the good of sistem, by defualt it no show nothint at typing!





superkaramba requieres KDE and u must specify KDE version, also u must enable at kicker apples menu!





see..