Bash and Linux infrastructure references

Hi,
after 3 years using Linux I would like to improve my knowledge of bash to start writing some useful scripts which can make my life easier. Do you know any good manual (better if available online) which I can use to start learning it?
I'm not particularly "bash savvy", I've simply used it quite often on my Arch Linux experience, but I would describe myself as a beginner.
Moreover, if you have any other reference about Linux architecture will be appreciated. I've always struggle to understand some manual intervention Arch Linux require from time to time. Simply copy commands developers suggest us is quite annoying. After all this time I think is the right moment to become an intermediate Linux user.
Cheers,
Gianluca

Linux From Scratch is a good way to learn Linux and all the things necessary to make a distribution.
Other good learning references I know of require some knowledge of C and might be overkill for you:
-The Linux Programming Interface : Although really aiming at developpers each chapter contain very valuable information about Linux architecture, ... It's a book you need to buy and it's relatively expensive.
-Computer Science from the Bottom Up : Free online course which goes really close to the metal.

Similar Messages

  • Oracle E-Bussiness Suit (11.5.9) and Linux RHEL AS4

    Hello, somebody help me to find documents about Oracle E-Bussiness Suit (11.5.9) and Linux RHEL AS4.
    How it comunicate?
    I just need a simple scheme how it is work.
    Pleas! Urgent!
    Message was edited by:
    user527625

    Hi, Hussein,
    I did see the adgrants.sql after the patch installation and ran it, but AD patch had some errors. One of them about not being able to generate the jar files. I ignored it and chose to continue, thinking that I can generate them with adadmin utility later. Adadmin failed with the following error message:
    adearea();
    Warning=> unable to locate /u0/oracle/prod/comn/java/owa.zip file.
    Signing product JAR files in  JAVA_TOP -
    +/u0/oracle/prod/comn/java+
    using entity PROD_oraprod and certificate 1.
    +/u0/oracle/prod/comn/util/jre/1.1.8/bin/../lib/i686/green_threads/libzip.so: symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link time reference (libzip.so)+
    Unable to initialize threads: cannot find class java/lang/Thread
    Could not create Java VM
    AD Administration error:
    aiojavaGetJavaVersion(),ERROR creating javaVersionFile.
    Error :  java version file format not correct
    adogjf() Unable to generate jar files under JAVA_TOP
    When l looked it up in Metalink, I found this document
    Version GLIBC_2.0 Not Defined In File Libc.so.6, Unable To Initialize Threads: Cannot Find class java/lang/Thread [ID 806345.1]
    stating that "JRE 1.1.8 and java 1.3.1 are not certified on Red Hat or Oracle Enterprise Linux 5." It also directs me to upgrade it by following one these documents:
    Please upgrade to java 1.4.2 or higher, following the appropriate note:
    Note 246105.1 - Upgrading to J2SE 1.4.2 with Oracle Applications 11i to upgrade to java 1.4.2.
    Note 304099.1 - Using J2SE Version 5.0 with Oracle E-Business Suite 11i
    Note 401561.1 - Using J2SE Version 6 with Oracle E-Business Suite 11i
    Would it be enough to upgrade it to version 1.4.2? Because the minimum patch levels for the other versions (J2SE 5.0 and 6) are much higher than what I have.
    Can you please advise?
    Thank you,
    Sinan

  • Java RTS 2.1 Beta free evaluation release for Solaris and Linux available

    Hi:
    I would like to notify this forum that a free evaluation release of
    Java Real-Time System (Java RTS) 2.1 Beta is now available for downloading
    at our public web site.
    Supported platforms are Solaris/SPARC, Solaris/x86, and Linux/x86 with
    real-time POSIX APIs. The specific Linux distributions which this release
    has been tested on are: SUSE Linux Enterprise Real Time 10 (released)
    and Red Hat Enterprise MRG 1.0 (beta). As for the Solaris versions,
    both Solaris 10 Update 3 and Update 4 are supported.
    The URL for the web page where to start in order to be able to get to
    the download link is:
    http://java.sun.com/javase/technologies/realtime/rts/
    The download link will be presented to you after you fill out a quick
    survey and agree with a click-through, 90-days e-license.
    The latest version of the Java RTS Beta technical documentation
    bundle included with the product is being separately maintained at
    our public website and can be accessed starting from here:
    http://java.sun.com/javase/technologies/realtime/reference/rts_productdoc.html
    Thanks,
    -Carlos
    Carlos B. Lucasius
    Java SE Embedded and Real-Time Engineering
    Sun Microsystems, Inc.
    http://java.sun.com/javase/technologies/embedded/index.jsp
    http://java.sun.com/javase/technologies/realtime.jsp
    http://java.sun.com/javase/technologies/realtime/faq.jsp
    http://developers.sun.com/learning/javaoneonline/j1sessn.jsp?sessn=TS-1331&yr=2007&track=5
    http://developers.sun.com/learning/javaoneonline/j1sessn.jsp?sessn=TS-2901&yr=2007&track=5
    http://developers.sun.com/learning/javaoneonline/j1lab.jsp?lab=LAB-7250&yr=2007&track=4
    http://www.sun.com/training/catalog/courses/DTJ-4103.xml
    http://www.youtube.com/v/xH1yUXd9krU
    http://blogs.sun.com/jtc/
    http://blogs.sun.com/delsart
    http://blogs.sun.com/bollellaRT

    Hello,
    Just a quick question: can we have an official position from Sun regarding support of earlier releases of Solaris with Java RTS 2.1? Our customer is currently running Solaris 10 Update 3 with current Recommended patches, and the 2.1 beta cyclic driver supported this version of Solaris. However with the official release version of 2.1, support for U3 disappeared (only U4 and U5 are now supported). Aside from "rubber stamping" the Solaris build via /etc/release, is there a technical reason why U3 is no longer supported? As long as our kernel is up to date, can we safely use 2.1? Or is it just a case of being unable to officially support and test so many releases of Solaris?
    Is this a general rule-of-thumb we can expect in future: only supporting the last 2 updates of Solaris 10?
    Your advice is appreciated.
    Thanks,
    Dave.

  • ANN: ANN: XDK 10.1.0.2.0 for HP-UX64, AIX and LINUX Production Release

    XDK 10.1.0.2.0 production for HP-UX64, AIX and LINUX is ready to download on OTN:
    http://otn.oracle.com/tech/xml/xdk/software/production10g/index.html

    The error indicates that the password (or wallet) files oidpwdldap1 and oidpwdr<ORACLE_SID> do NOT exist under $ORACLE_HOME/ldap/admin or your $ORACLE_HOME and $PATH are set incorrectly (a bit unlikely).
    Assuming that the $ORACLE_HOME and $PATH are indeed set to correct values, if the 2 files mentioned above do not exist under $ORACLE_HOME/ldap/admin, then perform the below action plan:
    1. Set the ORACLE_HOME to INFRASTRUCTURE ORACLE_HOME
    2. set the PATH to $ORACLE_HOME/bin:$ORACLE_HOME/ldap/bin:$ORACLE_HOME/opmn/bin:$PATH
    3. Ensure that you are able to login to sqlplus as "ods" user.
    4. If you do NOT know the password of ods user, then reset the password.
    5. Run the below command and enter the ods password when prompted for it.
    oidpasswd create_wallet=true
    6. Voila! The Wallet files are created under $ORACLE_HOME/ldap/admin.
    HTH,
    Regards,
    Praveen
    Edited by: Praveen B K on Aug 28, 2009 3:20 AM

  • Diff b/w netweaver platform and exchange infrastructure.

    Dear SDNers,
    I am new to net weaver.first of all what is the diff b/w netweaver platform and exchange infrastructure.
    i want to learn more about net weaver.if anybody give me the links, i would be grateful to them.
    reward sure...
    Senthil kumar

    Hi
    N/W is a set of new dimensional products that SAP uses for Integration of different Business entities like the "People" ,  "Information"  and "Process"
    XI is part of the Process Integration layer.
    Regards
    krishna

  • Question regarding Oracle and Linux on VMware

    Hello,
    I carefuly read the paper on Oracle and Linux on Your Own VMware and I'm missing a point.
    The paper explains how to start a cluster on a single host in a single Linux VM on VMware.
    So, there are 2 instances of Oracle 10g DB on the same Linux VM inside VMware. What does allow that?
    Is it possible to run 2 instances on any (single) Linux box, or is VMware required? If VMware is not required, why this complication in that paper? If VMware is required, what does it bring that make running 2 cluster instances on the same host possible?
    Many thanks for your help.

    userLynx wrote:
    I have an oracle database (10.2) and I have a query that needs to compare data on the Oracle database to data on a MS SQL server DB. I'm using a DB Link between the two databases.
    How would I compare the date fields?
    I have a table that has a date as one of the fields and I need to restrict the records where the date is equal to the date on SQL, however the formats are different:
    My query is as follows:
    SELECT mkt_css_name,
    pmv_rqst_corp_id,
    pmv_rqst_source,
    'G',
    pmv_css_acct_no,
    eq.start_date
    FROM power_move@cmdt,
    enroll_que@tcis eq,
    marketer@cmdt
    WHERE eq.css_account_number = pmv_css_acct_no
    AND eq.requestor_type = 'P'
    AND eq.status IN ('A','P','G','S')
    AND eq.marketer_id = mkt_seq_no
    AND pmv_service_type IN ('G','D')
    And Pmv_Gas_Mktr_No = Eq.Marketer_Id
    AND pmv_received_timestamp= eq.enroll_date ;
    The problem is that the date is stored in Oracle in the following format: DD-MON-YYYY and in SQL as 'YYYY-DD-MM HH:MI:SSSSSS'
    for example: Data in Oracle would be 27-JAN-2012 and in SQL as 2012-01-27 00:00:00.000
    I get an error when I compile.
    How do you reconcile the formats when the syntax is different between databases?
    Thanks, SeanDATE datatypes do NOT have any "format"
    DATE datatype is stored in internal binary notation.
    use TO_CHAR to display, present & compare the DATE datatypes

  • Why  difference in Solaris and Linux

    Hi,
    The following program is giving results diferently when I am executing using g++ compiler in Solaris and Linux.
    Why it is so.
    here is the code:
    #include <stdio.h>
    #include <string.h>
    #include <malloc.h>
    #include <stdlib.h>
    int main( void )
    size_t size;
    char *buf;
    if ( ( buf = (char *)malloc(10 *sizeof(char))) == NULL)
    exit (1);
    size = sizeof( buf );
    strcpy(buf, "HelloWorld");
    printf("\n Address is : %u String is : %s size : %d ", buf, buf,size);
    if (( buf = (char *) realloc(buf, sizeof(20))) == NULL)
    exit ( 1);
    *(buf+10) = 'A'; *(buf+11) = 'B'; *(buf+12) = '\0';
    printf("\n Address is : %u String is : %s\n", buf, buf);
    free( buf);
    exit( 0 );
    Solaris:
    Address is : 134160 String is : HelloWorld size : 4
    Address is : 135704 String is : HelloWor
    Linux:
    Address is : 134518824 String is : HelloWorld size : 4
    Address is : 134518824 String is : HelloWorldAB
    Thanks
    Venkat

    Hi,
    The following program is giving results diferently
    when I am executing using g++ compiler in Solaris
    and Linux.
    Why it is so.
    here is the code:
    #include <stdio.h>
    #include <string.h>
    #include <malloc.h>
    #include <stdlib.h>
    int main( void )
    size_t size;
    char *buf;
    if ( ( buf = (char *)malloc(10 *sizeof(char))) == NULL)
    exit (1);
    size = sizeof( buf );The size you get here is the size of buf, which is the size of a pointer, not the size of what buf points to. sizeof(*buf) would give you size of a char, the type (not the object) that buf points to.
    There is no portable way to find out the number of bytes allocated on the heap if you are give only a pointer to the memory. You have to remember the size some other way..
    strcpy(buf, "HelloWorld");A literal string consists of the characters in the string plus a terminating null, all of which are copied by strcpy. You allocated 10 chars for buf, but are writing 11 chars into it. At this point, the program has undefined behavior. Literally anything at all could happen, because you can't predict the effect of writing outside the bounds of allocated memory.
    printf("\n Address is : %u String is : %s size :
    e : %d ", buf, buf,size);
    if (( buf = (char *) realloc(buf, sizeof(20))) == NULL)The "sizeof" operator in this case is returning the size of the type of a literal 20, which is an int. If you want to allocate 20 bytes, you write 20, not sizeof(20).
    exit ( 1);
    *(buf+10) = 'A'; *(buf+11) = 'B'; *(buf+12) == '\0';SInce you can't count on buf having more than 4 bytes at this time, you are writing into unallocated memory, with undefined results.
    printf("\n Address is : %u String is : %s\n", buf, buf);
    free( buf);
    exit( 0 );
    Instead of asking why you get different results on different platforms, you should be asking why the program doesn't crash on all platforms. :-)
    You can avoid these problems with keeping track of allocating memory by using the C++ standard library instead of trying to manage low-level details yourself as in C code.
    The standard string class, for example, extends itself as needed, and ensures that heap memory is freed when the string object is deleted or goes out of scope. You don't need pointers, malloc, free, or sizeof to use C++ strings.

  • Personas suddenly not working Firefox 30, 31, 32 on Win 7 Pro x64 and Linux Mint 16 x64

    Personas which have been working for a long time suddenly quit working on Win 7 and Linux. I tried changing to a different persona to change the background for the top border of the window and it just goes to some odd color and the personas just don't show up. This has been with Firefox 30, 31, 32. The personas still work with Win XP Pro run as a virtual machine on Win 7 host or Win 8 host. I thought it was a Windows thing until I saw the same problem with Linux. Everything else seems normal so this isn't a real bad problem. It's just odd.

    Make sure that you do not run Firefox in permanent Private Browsing mode (Never remember history).
    *https://support.mozilla.org/kb/Private+Browsing
    *Tools > Options > Privacy > Firefox will: "Use custom settings for history"
    *Deselect: [ ] "Always use Private Browsing mode"

  • Why keyboard and mouse right click not working in Solaris and Linux?

    Hi all,
    I have two problems:
    1) I am working on AWT/Swing application and its working fine in window enviornment,but while running on solaris and linux mouse right-click option window not poping up.
    2) Ctrl+c,Ctrl+v,Home and End keyboard key are not working in solaris and linux OS for same application.
    Pls provide me some solution for these problem.
    -Dinesh

    Hi Nik,
    Thanks for reply. I found some solution for the above problem.
    For mouse right click there was problem in my source code.I have not implemented the mousePressed() method
    In case of keyboard Home, End and arrow key working fine after exporting AWTUSE_TYPE4_PATCH=false; in solaris and linux
    But still Ctrl-c and Ctrl-v not working.
    I am using JDK1.5.0_07+Eclipse IDE 3.1
    -Dinesh

  • Is there any way to create an installer for Mac OS and Linux OS once a stand alone application is created?

    Is there any way to create an installer for Mac OS and Linux OS once a stand alone application is created?  I have created an executable application that I want to distribute to Mac and Linux users (different applications were created in the respective OS).  I was wondering if there is any way to create an installer?  I think there probably isn't...  If the user were to simply download the Labview Run-time Engine from ni.com would they be able to run the application or is it more complicated than that?
    Thanks so much for your time.

    I think Shane tried to say, that it is on the Mac OS X installation DVD, NOT the LabVIEW for Mac OS X installation medium. And that could very well have changed in recent Mac OS X versions as well. They used to have Xcode on it too, but that seems gone as well.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Steps to export and import oracle 10g databse from AIX to AIX and LINUX

    Hi,
    I need the steps to export the oracle 10g database from AIX server to AIX server and LINUX server.
    Please give me all the steps as this is my first exort an import activity.
    thanks,

    For 10g there exist two ways to do so.
    1) Regular exp/imp.
    2) Data pump expdp/impdp.
    As this is your first export and import activity, relevant concept understanding is mandatory for you.
    Documentation Link
    http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14215/toc.htm
    Read the chapters 1,2,3 (Data pump expdp/impdp) and 19 (regular exp/imp). Good luck.

  • Dual Boot Windows 8 and Linux?

    I have (UEFI System) an ASUS K55A UEFI motherboard laptop that came factory with Windows 8. I would like to install backtrack linux and Windows 8, but before I go screwing up my laptop, I want to see if this would be at all possible. I would use a virtual
    machine, but I need Backtrack Linux on a physical machine for testing purposes as I am taking a course in computer forensics, and I want to test cracking my home wi-fi. My processor is an Intel Core i5 2.5 ghz with a 500 GB HDD and 8GB DDR3 RAM. Any insight
    on this would be appreciated. Thank You.

    Hi,
    You can refer to this article to get detail information.
    http://apcmag.com/how-to-dual-boot-windows-8-and-linux.htm
    Niki Han
    TechNet Community Support

  • DUAL BOOT windows 7 and linux HELP with Current info on BIOS, MBR vs GPT, etc

    I have a feeling this should be easier than what I'm making it.  Please educate me on Lenovo's BIOS Setup menus, etc.
    I have installed easyBCD in Windows 7, and plan to use it to set up my new boot menu with Linux Mint (and possibly other distros).
    I am using a live DVD.  I inserted the DVD and went into SETUP and selected to boot off the DVD drive.  It started to boot into Linux and all was going well.
    However, I realized that I had not checked on the Secure features (Secure Boot, EFI).  So I shutdown again and went into BIOS.  I went to the SECURITY menu and Disabled UEFI.  Then I disabled Secure boot.
    Tried to boot off the DVD and couldn't get anywhere.  Kept putting me back into the window to select the boot device over and over again.  THought I'd ruined my machine
    Anyway, finally stumbled upon STARTUP menu, and put it into EFI Legacy, and I was able to get back into Windows 7.
    Obviously before I pursue this further, I need some educaiton on your MENUS, Lenovo and EFI/Secure Boot.
    I have a feeling that I can probably now install the Linux but want to make sure my settings are correct before I pursue.
    Thanks, Kim
    Moderator note:  this thread gets more Linux-flavored with each post   Moved from the "T" board to the Linux board.

    Hi, thanks for ans.  Your specs are almost identical to my T530 ,which I should have listed.  The only diff is
    I have an i7 35something processor.   Same intel card, RAM and HDD, not that that should matter I'm guessing.
    I purposely avoided the Nvidia card because of all the heaadaches with Nvidia. 
    I have to teach a class tomorrow and I need to clean up my notes.  (Definitely not computer related...LOL.)  I don't want to  be stressed out about this during class, so I plan to wait to attempt a new install tomorrow afternoon.
    What I have done is find out some more info about dual booting with windows 7.  I went in to windows 7 to shrink the C: partiition and it said I'd have to reserve at least 220 GB for MS!  Not what I wanted; I don't really care a thing for MS.  I was born and raised on Unix and Linux; I never really fiddled with MS after the demise of MS-DOS during my college days.
    Given that, and the fact that I'd lose half my 500 GB HDD to the Borg, I may just chuck the entire dual boot thing and just load Linux on it. 
    If you say you're running Linux on it just fine, that would be a great encouragement.  No HW problems at all? Everything working fine?  Which distro are you using? 
    I plan to test Mint, Fedora, PCLinuxOS, Mageira (sp?), saybahon (sp again?), Debian Wheezy, and even Pear, LOL. I'll keep trying till I find a distro to run on my Lenovo T530, but I'm guessing all of 'em should do okay.
      I have Lubuntu I could give a spin, as well and Crunchbang and Bodhi, but they're all 32 bit.  (I have an antique Dell desktop that I still use down in my woman cave.)

  • DUAL BOOT windows 7 and linux HELP

    MASTERS
    im planing to have windows 7 and linux at the same time (DUAL BOOT)
    but i dont know if one key recovery still works after installation
    ihave lenovo g560
    i3 @ 2.53
    4gb ram
    any advice guys?

    hi botards01,
    If you're planning to use linux occasionally (Ubuntu for example) and you don't want to risk losing the One Key Recovery functionality, try to install Ubuntu via Wubi as this doesn't repartition your HDD but creates a virtual disk on your current OS.
    Check it out - Install Ubuntu in Windows With Wubi
    Hope this helps
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • Dual booting pre-installed Windows 8 and Linux?

    I just bought a G780 with Windows 8 pre-installed. Ideally, I would also like to install some flavor of Linux. I've been searching but not finding much info on how difficult or time-consuming this would be, or if there are any special considerations or anything. I've found some guides on dual-booting Windows 8 and Linux but they were all for installing Windows straight from a disk, not anything where it's already pre-installed, and some indicated they thought it might be problematic to use a pre-installed version of Windows. Anyway I was hoping that if anybody has done this on the G780 or even a similar laptop that you could share how it went and any difficulties you encountered. I'm open to using any Linux distro if it'll be easy to install. I would appreciate any info you could share. Thanks.

    I had issues with Windows 8 as pre-installed on my G580, my employer at the time was using Windows 7 only and would not allow upgrades for security purposes.  I deleted the entire drive (including hidden) knowing at some point I would re-install Windows 8 or later from retail disk when needed.
    Linux can resize partitions during the install process, but be careful not to disturb the hidden partition or the windows boot loader in the process.  Linux Mint is the best yet for this purpose, OpenSUSE and Fedora failed, CentOS failed and Ubuntu was not able to boot, but did not "hurt" the windows partitions.
    Good luck.

Maybe you are looking for