Sponsored Content
Operating Systems OS X (Apple) A system deletes my .bashrc file Post 302976988 by RudiC on Sunday 10th of July 2016 08:43:23 AM
Old 07-10-2016
So you say that .bashrc IS executed during login but then disappears during your interactive session?
The command that Don proposed should just make sure the file is still present at the moment when you log out or reboot. I'd propose to run it frequently to be able to tell about when it disappears.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

.bashrc file is an initialization file run by each interactive invocation

I search the web and found the following statements ..... The /etc/profile file is a system wide initialization script which is run at login time for each user, while .profile is the users own login initialization. The .bashrc file is an initialization file run by each interactive invocation... (1 Reply)
Discussion started by: cy163
1 Replies

2. Shell Programming and Scripting

Can I modify the .bashrc file instead of .profile file to customize my login?

Hello, I got this question which tells me to customize my login script. Some people in the forums suggested to modify the .profile file in my home directory. I did so, but none of my customizations show up when I open the terminal after. So, I tried to modify other files in my home directory,... (1 Reply)
Discussion started by: Hyunkel
1 Replies

3. Shell Programming and Scripting

how do i look for my .bashrc file

hi i am using cygwin and would like to modify my .bashrc file. How can search to find where it is? I have looked at multiple bashrc file in /etc but none of them seemed to work..thanks (12 Replies)
Discussion started by: npatwardhan
12 Replies

4. Shell Programming and Scripting

.bashrc file

Hi experts, I am using bash shell and I cant find any .bashrc file in my home dir. Can anybody please help me out here.... If .bashrc file is not there, from where my shell config operates? Also I want to set my prompt like... $ Please advice. (5 Replies)
Discussion started by: gentleDean
5 Replies

5. Shell Programming and Scripting

A script that deletes files.

I want to write a script that deletes files inside the dir. However, the script should also allow the user to confirm by pressing (d) key before deleting files.. #!/bin/bash for file in $1/* do size='ls -l $file | cut -f 5 -d " "' name='ls -l $file | cut -f 9 -d " "' ... (1 Reply)
Discussion started by: herberwz
1 Replies

6. Shell Programming and Scripting

Why sed command deletes last line in a file if no carriage return?

Hi I am using sed command to make SCORE=somevalue to SCORE=blank in a file. Please see the attached lastline.txt file. After executing the below command on the file, it removes the last line. cat lastline.txt | sed 's/SCORE=.*$/SCORE=/g' > newfile.txt Why does sed command remove the... (3 Replies)
Discussion started by: ashok.k
3 Replies

7. Slackware

Thunderbird 3.1.9 deletes from drafts

I am using Tbird as it came with Slackware 13.37 and everytime I send something I get a message 1 or 2 drafts deleted. Should it be doing that? If not has this been reported ? How can I find out if it was reported? I have no drafts to delete. (2 Replies)
Discussion started by: slak0
2 Replies

8. Solaris

rm -rf not able deletes file but not the directory

i am trying to remove a directory using rm -rf command but its not getting removed.. it doesnt throw any error also.. i am logging as the owner of the dir and removing it but still no luck.. i am able remove a file but not a directory. i am using solaris 10 (12 Replies)
Discussion started by: chidori
12 Replies

9. UNIX for Dummies Questions & Answers

Bashrc File - Conditional Command Execution?

Hello All, I was wondering if there is a way to execute a command in my ".bashrc" file based on how I logged into the PC? I was thinking maybe there is a way to check how the user (*myself) logged in, maybe somehow with the who command along with something else, but I'm not sure... I know I... (7 Replies)
Discussion started by: mrm5102
7 Replies
GAMGI(1)							 GAMGI Manual Page							  GAMGI(1)

NAME
gamgi - general atomistic modelling graphic interface SYNOPSIS
gamgi [file_1.xml] ... [file_n.xml] DESCRIPTION
gamgi is a computer package to construct, view and analyse atomic structures. OPTIONS
file_n.xml is a fullname such as: ../dat/molecule/flavors/garlic.xml ~/gamgi/dat/molecule/flavors/garlic.xml http://www.gamgi.org/dat/molecule/flavors/garlic.xml ftp://ftp.gamgi.org/gamgi/dat/molecule/flavors/garlic.xml Object and config data can be mixed, so file_1.xml might be a preferences file, loaded before the other object files. To automate the pro- cedure, just add a line as this to ~/.bashrc: alias gamgi='gamgi ~/gamgi/my_defaults.xml' ENVIRONMENT
GAMGI_HELP Set this variable to let GAMGI know where the Help documentation files are. For example, add a line as this to ~/.bashrc : GAMGI_HELP=~/gamgi/gamgi/doc; export GAMGI_HELP GAMGI_TEXT Set this variable to let GAMGI know where are the .ttf DejaVu files, to render solid fonts. For example, add a line as this to ~/.bashrc: GAMGI_TEXT=~/gamgi/gamgi/src/io/fonts; export GAMGI_TEXT BROWSER Set this variable to let GAMGI know which browser to launch, in case this is chosen to read Help. For example, add a line as this to ~/.bashrc: BROWSER=firefox; export BROWSER HELP
Read introductory information with Help->Start. Browse the documentation at http://www.gamgi.org/ or its local copy at gamgi/doc/. Use the help mechanisms reunited under the Help button. Subscribe the mailling list <gamgi-users@gamgi.org>. Contact the author at <jcgp07@gmail.com>. Throughout all interfaces and formats, lengths are in angstrom, angles in degrees and decimal numbers are represented with dots. Every parameter that can be defined in an interface can be also defined in a file and vice-versa. INTERFACES
Rotate, move, scale the selected object pressing the left, middle, right mouse button. Export the selected object choosing File->Export. The statusbar shows the selected object (left) and layer (right). To select an object, choose Object->Select and press over the object. Or choose the object class on the menu above, with the middle button, before pressing on the object. Or press twice Layer, Window or GAMGI on the menu above. When the object has no visual representation, press the mouse over the graphic area, to pop up a menu. To select a layer, choose Layer->Select and press the mouse over the graphic area, to pop up a menu. Or choose the layer class on the menu above, with the middle button, before pressing the mouse over the graphic area, to pop up a menu. Solid objects usually require lights with diffuse and specular components to be properly represented in 3D space, otherwise they look flat. Wired objects do not have a 3D representation, so diffuse and specular lights are not reflected, becoming poorly visible when using lights, unless a significant ambient component is used. Often it is worth to draw solid and wired objects in different layers, with and without lights. When a task dialog is open, to learn how it works, just select Help->Current and another dialog will pop up, explaining the meaning of all the parameters in the task dialog. To see detailed explanations of GAMGI interfaces, consult the reference manual at http://www.gamgi.org/interfaces/reference.html, doc/interfaces/reference.html or Help->Topic->Interfaces. FORMATS
GAMGI can import files in .xyz and .xml native format, selected automatically by the file extension. GAMGI can export files in .ps, .ppm, .jp[e]g, .png, .tif[f], .x3d and native .xml formats, selected automatically by the file extension. In GAMGI native XML format, a water molecule can be described as: <gml> <molecule> <atom element="O" x="0.000" y="0.000" z="0.000" id="O1"/> <atom element="H" x="0.776" y="0.540" z="0.000" id="H1"/> <atom element="H" x="-0.776" y="0.540" z="0.000" id="H2"/> <bond parent1="O1" parent2="H1"/> <bond parent1="O1" parent2="H2"/> </molecule> </gml> To see detailed explanations of GAMGI formats, consult the reference manual at http://www.gamgi.org/formats/reference.html, doc/formats/reference.html or Help->Topic->Formats. EXAMPLES
Choose Help->Tutorials to get a list of fully described procedures, exemplifying most aspects of the work with GAMGI. SEE ALSO
http://www.gamgi.org/ AUTHOR
Written by Carlos Pereira <jcgp07@gmail.com>, helped by Steffen Moeller <moeller@debian.org> and Daniel Leidert <daniel.leidert@wgdd.de>, from the Debian project. 0.14.3 November 30 2009 GAMGI(1)
All times are GMT -4. The time now is 10:15 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy