Can anyone post a mostly-default /etc/profile? I deleted mine -.-

I was trying out some vim commands and accidentally wiped my /etc/profile -.-
I've replaced some of the basic stuff like $PATH, but it still looks far shorter than the previous version. I also found some other examples on the web but I'd like to have the Arch defaults back and customize from there (: Could someone post theirs? Thanks a bunch.

$ cat /etc/profile
# /etc/profile
# This file is intended to be used for ALL common
# Bourne-compatible shells. Shell specifics should be
# handled in /etc/profile.$SHELL where $SHELL is the name
# of the binary being run (discounting symlinks)
# Sections taken from SuSe's /etc/profile
# Note the explicit use of 'test' to cover all bases
# and potentially incompatible shells
#Determine our shell without using $SHELL, which may lie
shell="sh"
if test -f /proc/mounts; then
case $(/bin/ls -l /proc/$$/exe) in
*bash) shell=bash ;;
*dash) shell=dash ;;
*ash) shell=ash ;;
*ksh) shell=ksh ;;
*zsh) shell=zsh ;;
esac
fi
# Load shell specific profile settings
test -f "/etc/profile.$shell" && . "/etc/profile.$shell"
#Set our umask
umask 022
# Set our default path
PATH="/bin:/usr/bin:/sbin:/usr/sbin"
export PATH
# Export default pkg-config path
PKG_CONFIG_PATH="/usr/lib/pkgconfig"
export PKG_CONFIG_PATH
# Some readline stuff that is fairly common
HISTSIZE=1000
HISTCONTROL="erasedups"
INPUTRC="/etc/inputrc"
LESS="-R"
export HISTSIZE HISTCONTROL INPUTRC LESS
# Load profiles from /etc/profile.d
if test -d /etc/profile.d/; then
for profile in /etc/profile.d/*.sh; do
test -x $profile && . $profile
done
unset profile
fi
# Termcap is outdated, old, and crusty, kill it.
unset TERMCAP
# Man is much better than us at figuring this out
unset MANPATH
And, you could retrieve that file from core/filesystem too.
Last edited by hullap (2010-04-04 11:52:47)

Similar Messages

  • Can anyone post a pic for

    Creative emailed me and said that with the Zen Vision M, you can have album art displayed on the screen while a song is playing along with the song name, artist name, etc. Can anyone post a picture of this so I can see it's? Many thanks in advance to anyone who can do this!Message Edited by christfollower on 2-2-20062: PM

    sorry no pic but i do own a 60gb vision m and am loving it. the album art works fine except for not being full screen but it is all good.

  • Can anyone tell me how the Status Profile works in relation to BP's...

    Can anyone tell me how the Status Profile works in relation to BP's...
    For example, how can I view a particular status that a BP has, and can a BP have more than one status against a status profile. Also what date/time details are set when a status is changed?.
    Can anyone help with this?.
    Jas

    Arap,
    Many thanks for the info. As with all these posts, you do your best to try and find out yourself, fail, then raise a question on a site like this. As soon as you do the answer(s) become clear.
    I've found transactions BS02 which shows Status Profiles, and associated status.
    The Order/transaction holds the status set and can be extracted using the FM/Program CRM_ORDER_READ and using the ET_STATUS table.
    That's what I was mainly after.
    Many thanks for your help.
    Jas
    Edited by: Jason Stratham on Apr 1, 2009 4:59 PM

  • Can anyone post me the CRM installation notes on windows?

    Can anyone post me the CRM installation notes on windows? my email id is [email protected]
    Thank You.

    Mail sent !
    Also this <a href="https://websmp108.sap-ag.de/~sapidb/011000358700003993222005E">Master guide</a> would be useful !
    Many Thanks
    <b>Allot points if this helps!</b>

  • Can anyone post me a solution for converting gif containing text to a .txt

    Can anyone post me a solution for converting gif containing text to a .txt file using Java

    wow!!!
    not gonna put a full solution (since its huge!!!)
    but heres how you would do it
    open the gif in a bufferd image, then do some image recognition on it
    easy (hehe) case is if the gif only contains text (black on white of a standard font)
    then i would scan down the image until i find a raster line that isnt all white (top of a text line), then find the next raster line that is all white (bottom of text line.
    half(ish) way between these lines scan from the left until you find a black pixel (start <maybe> of next character) (be careful you dont aim for the gap in "i"
    from that point (x, y) test a set of pixels (x+n1, y+m1) to (x+nt, x+mt) where t should only have to be ~8 or 10 such that for each character in the font these test points return a unique combination, you then know what character is next, add it to a string and repeat along the line, then down the page
    tahh dahh there ya go
    you can write a program to learn the required test points by giving it a line of the full character set
    good piggin luck is what i say :-)

  • Can anyone tell me the launch date for Apple ipad mini cellular in India...

    Can anyone tell me the launch date for Apple ipad mini cellular in India...

    I want Apple ipad mini Cellular in india. what should i do.
    I am buying apple product for fist time.

  • Patch editor in Environment - can anyone post a recent example?

    Greetings,
    I want to create an editor for my Alesis Micron by editing an existing example if possible. Everything I've found on the net is pre-Logic 7 and my L8 will not open them . . . can anyone help?
    (I'll post it for anyone interested when I'm done . . .)
    Cheers.

    An existing example is basically almost completely useless to you as every device has a different feature set, and a different way of accessing parameters.
    Look in your manual at how to get access to your synth parameters. if it uses sysex, it should have the sysex spec documented at the back of the manual. if it uses controllers instead, then it should have the controller numbers documented.
    Then simply create a new fader, and start with the first parameter you want to control, say filter cutoff. Make the fader output the correct MIDI data to change that parameter in the synth. And work your way through your parameters, adding faders, switches, knobs etc and presenting them how you want.

  • Can anyone post screen caps of a mini drive formatted to a Mac for me?

    "B Noir" and I recently fixed my iPod mini by deleting excess files, which we think were created when (many moons ago) I plugged the mini into a mac at school. My Windows-formatted mini was showing some files that bore an uncanny resemblence to a mac's file system. So could anyone post screencap pictures of the Ipod drive, iPod_Control (which is a hidden folder) and iPod_Control/Music?

    I'd like to promise you that everything will be fine if you just get the monitor going - but it's hard to know what the hardware damage might be. It might be the monitor, or the damage might be greater.
    Your best solution would be visit your local Apple Store and let them know what your situation is. They have access to diagnostics you don't, and they might be able to the best way to save your data and keep you computing. It's still not covered, but they can tell you what your current options are.
    Um, you might consider investing in a backup drive.
    And there other repair options, too. Powerbook Medic http://www.powerbookmedic.com/xcart1/pages.php?pageid=67 offers reliable repairs, and quotes prices well under Apple's.

  • Can anyone post an overview of the permissions of the server folder

    I saved the server data on an external drive.
    I accidently cut off the power source. All services had failures since then.
    So I thought I could repair it if I would just restore the whole system from the TM Backup from a time before the cut off.
    All services do work now except Mail, Profile Manager and Wiki.
    So I stopped Mail again, deleted all its data from the server folder(s) and restored it manually from TM.
    Now I have huge permission problems. How can I fix this? I don't know how the permissions should be? Can anyone tell me, please?!

    schwaijo wrote:
    Hello jschell,
    thank you for your answer.
    let me try to clarify question with a few more facts about that what i want to do.
    I saw a example where the .dll file wich should be uses has been made available with:
    System.loadLibrary("XTapi");<<and the methods that are used has been declared with:
    private native int initTapi();<< for exampleWhat i want to do is, to access the methods of tapi32.dll file of windows in the same way, but there is nowhere to find a documentation about this file.
    You have a JNI library and you are not the owner or at least you do not have the source code.
    The JNI methods in the dlls cannot be accessed via java in any other manner than what the java code of the library already does. That is because the C signature of the name depends on the java package and class names.
    As I noted you can find the methods of the dll. You could, with a LOT of work reverse engineer the dll.
    So,can anybody tell me weather there is a way in JNI to get more Informations about the methodes in that file?As I already said, there are OS specific tools that allow you to determine at least the name of the method. I suspect that is all the information that exists.

  • Can anyone post a PHP/MySQL version of VideophoneLabs?

    My server doesn' host Sqlite3 database. Can someone post a modified version of VideophoneLabs replacing reg.cgi by reg.php and the sql tables ?

    Hi,
    could you or someone tell me if ADDT supports protection against these methods you mention:
    Protection from dictionary attacks, rainbow table attacks, brute force attacks, SQL injection attacks and much more??
    And can this system work alongside ADDT?
    thanks again

  • Can anyone post here?

    Heya,
    I noticed that not-registered users can also post here. Is this correct?
    Michel

    rasat wrote:When adding this forum, I forgot to change the permission. Currently all forums require registration.
    I personally like that better.  Guests posting always leads to various problems on other boards I've frequented.  Just my thoughts on it... thanks! 

  • Can anyone tell me why my IP profile has dropped?

    Hello,
    Long story short here, I had a fault on my line which has been fixed for a while now and it affected my broadband and vision on demand etc etc ... when it was fixed, an advisor from priority care completed a speed test and it was showing:
    max achieveable speed 7150kbps
    actual speed 6500kbps
    ip profile 7150kbps
    a couple of days later i receive a follow up call to check everything's ok and we completed a speedtest again..this time the results were:
    max achievable speed 7150kbps
    actual speed 4200kpbs
    ip profile 4200kbps
    this was reported to bt wholesale because of the dramatic drop within 48 hours...
    so again, i receive a phone call yesterday and check again..this time...
    max speed 7150kbps
    actual speed 2500kpbs
    ip profile 2500kbps
    apparently, it's still with bt wholesale to try and work out why i've gone from 6 meg tp 2 meg within about 5 days but i'm just confused as to why this could have happened and wonder if anyone can shed any light on to it? I've been told my line is free of faults (both adsl and pstn) and i'm close to the exchange so i should be receiving as minimum of 3500kbps?
    thanks

    is that what you mean:
    Line state
    Connected
    Connection time
    0 days, 9:18:44
    Downstream
    3,023 Kbps
    Upstream
    660 Kbps
    ADSL settings<script type="text/javascript">// createTable("normal", trClass, td3, td4); // </script>
    VPI/VCI
    0/38
    Type
    PPPoA
    Modulation
    ITU-T G.992.5
    Latency type
    Interleaved
    Noise margin (Down/Up)
    20.1 dB / 5.9 dB
    Line attenuation (Down/Up)
    40.5 dB / 21.6 dB
    Output power (Down/Up)
    19.1 dBm / 12.4 dBm
    Loss of Framing (Local)
    8
    Loss of Signal (Local)
    1
    Loss of Power (Local)
    0
    FEC Errors (Down/Up)
    72656 / 15
    CRC Errors (Down/Up)
    17 / 2147480000
    HEC Errors (Down/Up)
    nil / 63
    Error Seconds (Local)
    31

  • Can I set up custom default printer profiles for different printers in mountain lion?

    I have 2 printers connected to my Mac. An officejet and an Eltron label printer. I constantly need to manually change the default label printer size to print to the label printer or officejet. Is there a way to set it where all print jobs going to the label printer is 4x6? Sometimes, I forget and waste some labels to the eltron or send a job to my office jet and it prints a 4x6 image of the document on letter paper. Obviously its a bit of a hassle. If anyone has a trick for this or even third party software, please advise.

    Andrew,
    If i am clear with your requirement then You can achieve this by setting the value manually in PR.
    OAMessageChoiceBean createMessageBean=(OAMessageChoiceBean)webBean.findChildRecursive("CreateEditIjp");
    createMessageBean.setText(pageContext,"InitialValue");Regards,
    Gyan

  • I've had it with itunes 7...can anyone post a link to last ver of itunes 6

    I sick already of the 100% cpu usage that this junk apple have released as an alleged upgrade. Everything that it does, be it synching, downloading, importing etc just swallows CPU time. This is just a sloppy piece of work with no apparent testing.
    Grateful if anyone can point me in the right diection of the last ver 6 of itunes and the ipod updater so I can downgrade to a working version.

    http://www.apple.com/support/downloads/itunes605forwindows.html
    copy and paste this into the address bar

  • Can anyone tell me how the Enterprise Profiler is used?

    I followed the steps in the tutorial to configure the profiler, unfortunately none of the steps could be completed. I'm currently using Sun Java Application Server to deply J2EE applications. I just can find the profiler anywhere in the IDE, help~~~~

    Seems that this help is under construction.
    To start with profiler
    1. Set your project as main project.
    2. Enable data collection: JSE8-> Run -> Profile -> Enable Collection
    3. Open profiler: JSE8-> Run -> Profile -> Open Profiler. This opens Enterprise Application Profiler and short Profiler User Guide.
    Also there is a small demo of profiler's usage available at the end of Sun Java Studio Enterprise 8 EA Product Tour video:
    http://developers.sun.com/prodtech/javatools/jsenterprise/downloads/ea/jse8/learning/tutorials/overview.html

Maybe you are looking for

  • How do you print an envelope in Pages?

    I want ro print an envelope for my letter.  How do I do this in Pages?

  • Possible to put iMac G5 HD into PowerMac?

    I recently had my old iMac g5 die (logic board not Hard Drive). I have an old Power Mac G5 with an open harddrive bay. Can I put the imacs HD in there to get my data? is there anything I need to worry about? Is it even possible?

  • HT4623 Ashley_23

    When I open general, I don't have a button for software update. What do I do now?

  • Changed from Version 4.0 to 7.0

    Hello all I hope you can help me to fix a problem. I was running PSE Version 4.0 on XP, then bought a new computer which runs Vista. Version 4.0 isn't running well. I can import photos und create photoshows. But I can't import any audio in my photosh

  • Show rows with difference between tables.

    Hi all, I've got two tables: Table 1 has a total count of 6784 Table 2 has a total count of 6156 The differnce between the two are 628 rows. I'm trying to find the rows that are different between the two (i.e. the 628).  RIght now, I've only got the