1. Same story, different day...........year ie more of the same fiat floods the world
    Dismiss Notice
  2. There are no markets
    Dismiss Notice
  3. Week of 6/24/2017 Closing prices & Chg Over Last Wk---- Gold $1256.40 Silver $16.64 Oil $43.01 USD $96.94
  4. "Spreading the ideas of freedom loving people on matters regarding high finance, politics, constructionist Constitution, and mental masturbation of all types"
    Dismiss Notice

Linux/Win Command Line Basics

Discussion in 'Computers' started by MIavatar, Apr 27, 2017.



  1. MIavatar

    MIavatar Seeker

    Joined:
    Nov 15, 2016
    Messages:
    195
    Likes Received:
    86
    Trophy Points:
    28
    Gender:
    Male
    Ran across this the other day and brought back memories of when I was in college. They didn't teach a lot of this stuff.

    I'm skipping ahead a little cause if you really want to learn you should go to that first link and do the first few exercises. It's all free.

    https://learnpythonthehardway.org/book/

    https://www.ibm.com/developerworks/aix/library/au-directorytree/
     
    pitw likes this.
  2. MIavatar

    MIavatar Seeker

    Joined:
    Nov 15, 2016
    Messages:
    195
    Likes Received:
    86
    Trophy Points:
    28
    Gender:
    Male
    Here's some basics. In case they take something down.

    Linux/Mac OSX
    Take this list of commands and create index cards with the names on the left on one side, and the definitions on the other side. Drill them every day while continuing with the lessons in this appendix.

    pwd
    print working directory
    hostname
    my computer's network name
    mkdir
    make directory
    cd
    change directory
    ls
    list directory
    rmdir
    remove directory
    pushd
    push directory
    popd
    pop directory
    cp
    copy a file or directory
    mv
    move a file or directory
    less
    page through a file
    cat
    print the whole file
    xargs
    execute arguments
    find
    find files
    grep
    find things inside files
    man
    read a manual page
    apropos
    find what man page is appropriate
    env
    look at your environment
    echo
    print some arguments
    export
    export/set a new environment variable
    exit
    exit the shell
    sudo
    DANGER! become super user root DANGER!
    Windows
    If you're using Windows then here's your list of commands:

    pwd
    print working directory
    hostname
    my computer's network name
    mkdir
    make directory
    cd
    change directory
    ls
    list directory
    rmdir
    remove directory
    pushd
    push directory
    popd
    pop directory
    cp
    copy a file or directory
    robocopy
    robust copy
    mv
    move a file or directory
    more
    page through a file
    type
    print the whole file
    forfiles
    run a command on lots of files
    dir -r
    find files
    select-string
    find things inside files
    help
    read a manual page
    helpctr
    find what man page is appropriate
    echo
    print some arguments
    set
    export/set a new environment variable
    exit
    exit the shell
    runas
    DANGER! become super user root DANGER!
    Drill, drill, drill! Drill until you can say these phrases right away when you see that word. Then drill the inverse, so that you read the phrase and know what command will do that. You're building your vocabulary by doing this, but don't spend so much time you go nuts and get bored.
     
    solarion likes this.
  3. Usury

    Usury Gold Chaser Platinum Bling

    Joined:
    Apr 1, 2010
    Messages:
    3,830
    Likes Received:
    2,878
    Trophy Points:
    113
    Oh the good ole days of DOS 3.3.

    Really DOS 5.0. Come to think of it DOS 5.0 may be the only time in history the Microshaft released a major OS upgrade that was bug-free. There was no DOS 5.1 or 5.01, just DOS 5.0.
     
    solarion, Alton and mayhem like this.
  4. Usury

    Usury Gold Chaser Platinum Bling

    Joined:
    Apr 1, 2010
    Messages:
    3,830
    Likes Received:
    2,878
    Trophy Points:
    113
    COPY CON>AUTOEXEC.BAT
    SMARTDRV.EXE
    MOUSE.COM
    SET SOUND=ADLIB
    PROMPT $P$G
    PATH C:\DOS
    ^Z
     
  5. Goldhedge

    Goldhedge Modal Operator/Moderator Site Mgr Site Supporter

    Joined:
    Mar 28, 2010
    Messages:
    27,503
    Likes Received:
    30,598
    Trophy Points:
    113
    Occupation:
    Tech
    I just paid $30 a week or so ago for an online python course by Udemy.

    Started it today. Pretty good so far. Video instruction.

    It helps to know math.

    I'll check out the link. The more resoources one has the better.
     
    solarion likes this.
  6. Goldhedge

    Goldhedge Modal Operator/Moderator Site Mgr Site Supporter

    Joined:
    Mar 28, 2010
    Messages:
    27,503
    Likes Received:
    30,598
    Trophy Points:
    113
    Occupation:
    Tech
    Here's one on Git
     
  7. MIavatar

    MIavatar Seeker

    Joined:
    Nov 15, 2016
    Messages:
    195
    Likes Received:
    86
    Trophy Points:
    28
    Gender:
    Male
    Having some sort of mental block with the "object oriented programming". I got the var defines and the functions. Now I'm struggling with the syntax of the python language ( IDE?) with classes. I was digging it until they changed the syntax completely. Might as well just learn Java too. They say that learning the higher level languages is detrimental to learning the lower level machine code though I don't know. Maybe an intro?



    :edited for spelling, clarity and non drunkenness
     
    Last edited: Jun 27, 2017
    Alton likes this.
  8. Alton

    Alton Gold Member Gold Chaser

    Joined:
    Apr 1, 2010
    Messages:
    2,211
    Likes Received:
    3,344
    Trophy Points:
    113
    Location:
    Michiana
    Now that programmers have a better handle on Java it's become more useful, more secure and rather ubiquitous it would be time well spent to learn at least it's basics. The real trick now is to make the time available to learn it.
     
    Goldhedge and solarion like this.
  9. oldgaranddad

    oldgaranddad Gold Member Gold Chaser Site Supporter ++

    Joined:
    Feb 21, 2012
    Messages:
    3,038
    Likes Received:
    3,983
    Trophy Points:
    113
    Gender:
    Male
    Location:
    On the top shelf.
    I've taken several courses on Udemy. Wait until they have their $9.99 sales. I'm taking the Go language course now and brushed up on my python too. Well worth the $10 a piece.

    The best course on udemy I took was a Terraform course.
     
    Goldhedge and solarion like this.
  10. solarion

    solarion Gold Member Gold Chaser

    Joined:
    Nov 25, 2013
    Messages:
    3,315
    Likes Received:
    5,002
    Trophy Points:
    113
    Hafta check out that Udemy thingy. A guy can make a mint coding crypto wallets with just a dash of know how.
     
  11. MIavatar

    MIavatar Seeker

    Joined:
    Nov 15, 2016
    Messages:
    195
    Likes Received:
    86
    Trophy Points:
    28
    Gender:
    Male
    From what I've seen most high level languages use the same ; if, elif, else and while statements. I've been doing this python course and just got bamboozled by the syntax change going into the classes.

    https://learnpythonthehardway.org/book/ex40.html
     

Share This Page