Terminal uses in everyday life?

Discussion in 'Mac Apps and Mac App Store' started by _pb_boi, Apr 27, 2004.

  1. _pb_boi macrumors 6502

    Joined:
    Feb 25, 2004
    #1
    Hey people,

    Thought I'd throw in a question here; what do you all use the terminal for, in every day life? I don't mean just a one-off app that requires terminal use, but something you'd use every day - what has you keeping a terminal window open all day?

    Personally, I only use the terminal for coding and stuff... just wanna know what your terminal usage habits are!

    andy
     
  2. switchingGeek macrumors member

    Joined:
    Oct 11, 2003
    Location:
    Dallas, Texas
    #2
    1) running top :D
    2) killing things
    3) ssh-ing in to different servers
    4) ifconfig is easier than opening the network preferences
    5) netstat
    6) vi
    7) moving stuff, copying stuff, i tend to do it faster at the cli
    8) checking disk usage "sudo du -k / | sort -nr | less "
    9) compiling and installing things that dont come with fink
     
  3. stoid macrumors 601

    stoid

    Joined:
    Feb 17, 2002
    Location:
    So long, and thanks for all the fish!
    #3
    Too bad I don't even KNOW what any of those things are except 2, much less how to do them :eek: :( :confused:
     
  4. Makosuke macrumors 603

    Joined:
    Aug 15, 2001
    Location:
    The Cool Part of CA, USA
    #4
    I use it to SSH into web servers all the time. Good for quickie FTP on occasion, as well.
     
  5. howard macrumors 68020

    howard

    Joined:
    Nov 18, 2002
  6. abhishekit macrumors 65816

    abhishekit

    Joined:
    Nov 6, 2003
    Location:
    akron , ohio
    #6
    ssh is secured shell login..in english u can login to any unix, linux or mac os x system by
    ssh ip
    i use terminal predominantly for
    ssh..i connect to my linux box at school..
    top..actually i use geektool to display top output on the desktop..
    also to open any program thats in my applications folder..i hv written a simple shell script fr that, with help from some members here..and its much better...

    #!/bin/sh
    read -p "which app >> " name
    cd /
    cd applications
    if open "$name".app
    then
    #successful
    :
    else
    #not found
    cd /Applications/Utilities
    open "$name".app
    fi

    save this file as z.sh
    and then at terminal write
    ./z.sh
    it wd open any app...cool fr my purposes..

    cheers
     
  7. mms macrumors 6502a

    Joined:
    Oct 8, 2003
    Location:
    CA
    #7
    SSH, FTP, SCP, top, uptime, top, vim, and of course, snake/tetris/doctor on emacs :)

    I also work faster in CLI and use it for many Finder jobs.
     
  8. motulist macrumors 68040

    motulist

    Joined:
    Dec 2, 2003
    #8
    concatenate

    I use the terminal to concatenate all the time. Concatenate is just a fancy word for joining a bunch of individual files in to one big one. When you download any large file like a movie from usenet, it is always cut into little peices for succesful transmition. When you get all the peices you gotta put'em back together in to one big file again. Just throw em all in to a folder and type cat * >FileNameHere.mpg and viola, all the peices are sewn back together again. Don't know what usenet is? If you aren't afraid of getting a little geeky, download an app called hogwasher and spend some time figuring things out, you won't regret it.
     
  9. MacFan26 macrumors 65816

    MacFan26

    Joined:
    Jan 8, 2003
    Location:
    San Francisco, California
    #9
    I use Terminal for SSH and sometimes FTP, and a lot of the time I'm running Folding@Home. Sometimes it's cool to run Top and put it in fullscreen. With green text and a black background my mom thinks i'm a crazy computer genius, lol.
     
  10. nesbitt_a macrumors 6502

    Joined:
    Nov 1, 2003
    #10
    I find terminal much quicker to use for standard file tasks than finder itself. Browsing files, quickly editing files, opening files with a specific application ('open -a /Applications/... file.extension) is much more productive.

    Also, I make extreme* use of scp, sftp and wget for networking and downloading off the internet (wget is much better than clicking 400 links on a page, when I can get all the files with one simple command!)


    - Cheers, A.
     
  11. _pb_boi thread starter macrumors 6502

    Joined:
    Feb 25, 2004
    #11
    Thanks for the replies guys :)

    Today I'll be using it to reschedule my cron from 5am lol... also, I use it for Finder stuff - grep is much quicker, and sorts alphabetically :)

    And yeah, I ssh from terminal and MUD. Suppose I use it slightly more than I thought I guess :)

    andy
     
  12. Quobobo macrumors member

    Joined:
    Oct 21, 2003
    #12
    I use SSH all the time, for my website, for when I'm away from home, between computers on my LAN... I usually need it for running top/killing processes, using pico occasionally, and also to browse/open files sometimes.
     
  13. Mitthrawnuruodo Moderator emeritus

    Mitthrawnuruodo

    Joined:
    Mar 10, 2004
    Location:
    Bergen, Norway
    #13
    ssh/sftp/whois

    Two main uses (when I'm not compiling programming projects):
    - ssh/sftp into my school account
    - whois to find the _real_ sender whenever I get a virus infected e-mail

    I also use commands like ping and ifconfig when there is something fishy with my network settings...
     
  14. &RU macrumors member

    Joined:
    Mar 5, 2004
    #14
    Long live vi!

    Yes switchinguy, vi is the ultimate use for the terminal! Death to Emacs!
     
  15. javabear90 macrumors 6502a

    javabear90

    Joined:
    Dec 7, 2003
    Location:
    Houston, TX
    #15
    whoa!! thats the exact same things that I use terminal for! :eek:

    o.. almost forgot pico! :rolleyes:
     
  16. kbonnel macrumors 6502

    Joined:
    Mar 1, 2004
    Location:
    In a nice place..
    #16
    Since I do *NIX for a living, I use terminal all the time. I usually have 10 ssh sessions going. God I love my powerbook..... (and of course one of those terminals is my folding :) ).

    Kimo
     
  17. mainstreetmark macrumors 68020

    mainstreetmark

    Joined:
    May 7, 2003
    Location:
    Saint Augustine, FL
    #17
    For SSHing, I've made a folder with a dozen or so .term files, and I keep that folder down on the dock. I can right-click on the folder, choose a .term, and have quick access to all the servers I cause trouble on. Different .terms let me set different colors and such, so it's quite nice.

    Local term use includes a lot of tcpdump, since I'm trying to figure out which of my many net applications are sending and receiving at any given moment (I'm on snailband, so bandwidth is at a premium)
     
  18. Westside guy macrumors 601

    Westside guy

    Joined:
    Oct 15, 2003
    Location:
    The soggy side of the Pacific NW
    #18
    psst! Installing the free open source tool anacron is a better way to do this.
     
  19. FattyMembrane macrumors 6502a

    FattyMembrane

    Joined:
    Apr 14, 2002
    Location:
    bat country
    #19
    top
    pkill (a little script to kill a process by the app name instead of pid)
    ftp
    curl

    i use the command-line ftp for web-site maintenance because it's quicker than a gui program. i use curl as my download manager if i'm getting a big file and don't want to burden safari with it.
     
  20. _pb_boi thread starter macrumors 6502

    Joined:
    Feb 25, 2004
    #20
    Westsideguy - cheers, I'll download and install that tool :)

    The reason I did it the CLI way was just basically to experiment some with sudo, and to get used to usin the CLI for something other than programme compilation, I guess. :)

    Thanks again man,

    andy
     
  21. thecombatwombat macrumors member

    Joined:
    Mar 15, 2004
    #21
    Oh man.

    ssh/sftp, mysql, file browsing (OS X's "open" command is freaking great), top, kill, fink

    Random commands I realized I can't be without after running history:

    nslookup/dig, nmap, ping, file, man, ps, cat
     
  22. thecombatwombat macrumors member

    Joined:
    Mar 15, 2004
    #22
    Nice work but the open command can already do this.

    Run "open -a itunes" (not even case sensitive) and see what happens.
     
  23. abhishekit macrumors 65816

    abhishekit

    Joined:
    Nov 6, 2003
    Location:
    akron , ohio
    #23
    oh sweet..i dint know we had a shortcut.. :) ..
     
  24. soulshriek macrumors newbie

    Joined:
    Jan 14, 2009
    #24
    I guess its too much to hope that this works if the file is in rar format
     
  25. motulist macrumors 68040

    motulist

    Joined:
    Dec 2, 2003
    #25
    It doesn't matter what format the files are in, they'll concatenate the same way regardless of file type. But I doubt you really want to concatenate several rar files. If you have files named rar1, rar2, etc or something similar then that is a multipart rar file, not a split file that needs concatenating. Any unrar utility should be able to unrar those files together just fine.
     

Share This Page