Page 1 of 2 12 LastLast
Results 1 to 15 of 20
  1. #1
    terminals and commands

    Member Since
    Jun 08, 2013
    Location
    Būr said,Egypt
    Posts
    158
    Specs:
    MacBook Pro (i5)
    terminals and commands
    what do the commands based on?
    i mean how to write a command does it require a programming language or such as thing?

  2. #2
    terminals and commands
    cradom's Avatar
    Member Since
    Feb 14, 2004
    Location
    Nederland, Texas
    Posts
    4,081
    Specs:
    13in macbook - 10.10.4
    Can you be more specific? There are compiled programs, shell scripts, functions, aliases, python scripts, ruby scripts and on and on...
    Craig Domingue
    (\__/)
    (='.'=) This is Bunny. Copy and paste Bunny into your
    (")_(") signature to help him gain world domination

  3. #3
    terminals and commands
    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,396
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    Commands by themselves aren't programming languages - you just write something as an instruction which tells the shell what to do. You can however combine them with a basic language to write scripts (a collection of commands).
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  4. #4
    terminals and commands

    Member Since
    Jun 08, 2013
    Location
    Būr said,Egypt
    Posts
    158
    Specs:
    MacBook Pro (i5)
    Quote Originally Posted by cradom View Post
    Can you be more specific? There are compiled programs, shell scripts, functions, aliases, python scripts, ruby scripts and on and on...
    sir. i don't know those things xD i just asked how to use it.

  5. #5
    terminals and commands

    Member Since
    Jun 08, 2013
    Location
    Būr said,Egypt
    Posts
    158
    Specs:
    MacBook Pro (i5)
    Quote Originally Posted by vansmith View Post
    Commands by themselves aren't programming languages - you just write something as an instruction which tells the shell what to do. You can however combine them with a basic language to write scripts (a collection of commands).
    look at this URL Top 25 OS X Terminal commands | News | TechRadar

    there are different thing in the single line so it's not a single command
    on the otherwise there are small commands like those in this link Using the OS X Terminal Application so what is the difference.

  6. #6
    terminals and commands
    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,396
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    Quote Originally Posted by Yodda_Hunter View Post
    there are different thing in the single line so it's not a single command
    They are all single commands - you can have more than one part to a single command.
    Quote Originally Posted by Yodda_Hunter View Post
    on the otherwise there are small commands like those in this link Using the OS X Terminal Application so what is the difference.
    The collection of commands at the bottom are shell scripts. You can group commands together and execute them all at once. When you put the commands into a single file, you get a script.
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  7. #7
    terminals and commands

    Member Since
    Jun 08, 2013
    Location
    Būr said,Egypt
    Posts
    158
    Specs:
    MacBook Pro (i5)
    well,what does "sudo defaults write /Library/Preferences/com.apple.loginwindow LoginwindowText "Your Message"" mean? i know it's job i mean what does each command mean?

  8. #8
    terminals and commands
    bobtomay's Avatar
    Member Since
    Dec 22, 2006
    Location
    Texas, where else?
    Posts
    26,209
    Specs:
    15" MBP '06 2.33 C2D 4GB 10.7; 13" MBA '11 1.8 i7 4GB 10.10; 21" iMac '13 2.9 i5 8GB 10.10; 5s & 5c
    I cannot be held responsible for the things that come out of my mouth.
    In the Windows world, most everything folks don't understand is called a virus.

  9. #9
    terminals and commands
    TattooedMac's Avatar
    Member Since
    May 19, 2009
    Location
    Waiting for a mate . . .
    Posts
    8,379
    Specs:
    21" iMac 2.9Ghz 16GB RAM & 13"MBP 2.9Ghz i7 8GB RAM 10.10.3, iPhone5 & iPad Air 2 iOS 8.3, ATV3
    Quote Originally Posted by Yodda_Hunter View Post
    well,what does "sudo defaults write /Library/Preferences/com.apple.loginwindow LoginwindowText "Your Message"" mean? i know it's job i mean what does each command mean?
    This one I believe means when you put that command into the Terminal App and where is says "Your Message" in quotes you write Text being your Message without the quotes and when you login to your Mac, you get a message, the one you put into the command..

    BE WARNED THOUGH. If you don't know the command line (Terminal) DONT play with it because the wrong sudo rm rf command could do untold damage to your Mac OS System.
    Bad stuff can happen !!!!
    If your asking what this and that means, I wouldn't touch Terminal if I was you. You have been WARNED
    Dont forget to use the Reputation System if someone has helped you out !!!
    Arguing with a zealot is only slightly easier than tunneling through a mountain with your forehead!!!!!
    MoTM ☆☆☆

  10. #10
    terminals and commands
    harryb2448's Avatar
    Member Since
    Nov 28, 2007
    Location
    Nambucca Heads Australia
    Posts
    20,056
    Specs:
    iMac i5 2.7GHz, 16GB memory, OS 10.10.5
    Let me give some good advice.

    If you don't know Terminal keep well clear. Very powerful magic there.
    Hang on to those original install discs like grim death! Using OS X.7 or later make a bootable USB thumb drive before running Installer!

  11. #11
    terminals and commands
    cradom's Avatar
    Member Since
    Feb 14, 2004
    Location
    Nederland, Texas
    Posts
    4,081
    Specs:
    13in macbook - 10.10.4
    Quote Originally Posted by Yodda_Hunter View Post
    well,what does "sudo defaults write /Library/Preferences/com.apple.loginwindow LoginwindowText "Your Message"" mean? i know it's job i mean what does each command mean?
    sudo - means do it as root, the REALLY dangerous part!!
    defaults write - you're changing a system variable here
    /Library/Preferences/com.apple.loginwindow - path to what you're changing
    LoginwindowText - specific variable being changed
    "Your Message" - this is the part where you insert your change

    As others have said, much juju here. Can be very dangerous to play in Terminal if you don't know what you're doing.
    Craig Domingue
    (\__/)
    (='.'=) This is Bunny. Copy and paste Bunny into your
    (")_(") signature to help him gain world domination

  12. #12
    terminals and commands

    Member Since
    Jun 08, 2013
    Location
    Būr said,Egypt
    Posts
    158
    Specs:
    MacBook Pro (i5)
    Quote Originally Posted by cradom View Post
    sudo - means do it as root, the REALLY dangerous part!!
    defaults write - you're changing a system variable here
    /Library/Preferences/com.apple.loginwindow - path to what you're changing
    LoginwindowText - specific variable being changed
    "Your Message" - this is the part where you insert your change

    As others have said, much juju here. Can be very dangerous to play in Terminal if you don't know what you're doing.
    well,i think you confused me okay thanks a lot. where can i learn about trminals and those things in your opinion?

  13. #13
    terminals and commands
    TattooedMac's Avatar
    Member Since
    May 19, 2009
    Location
    Waiting for a mate . . .
    Posts
    8,379
    Specs:
    21" iMac 2.9Ghz 16GB RAM & 13"MBP 2.9Ghz i7 8GB RAM 10.10.3, iPhone5 & iPad Air 2 iOS 8.3, ATV3
    Quote Originally Posted by Yodda_Hunter View Post
    well,i think you confused me okay thanks a lot. where can i learn about trminals and those things in your opinion?
    In Post #8

    Quote Originally Posted by bobtomay View Post
    Dont forget to use the Reputation System if someone has helped you out !!!
    Arguing with a zealot is only slightly easier than tunneling through a mountain with your forehead!!!!!
    MoTM ☆☆☆

  14. #14
    terminals and commands
    Slydude's Avatar
    Member Since
    Nov 15, 2009
    Location
    North Louisiana, USA
    Posts
    8,553
    Specs:
    2.8 GHz MacBook Pro 10.10.2, 8 GB mem, iPhone 6+
    Quote Originally Posted by harryb2448 View Post
    Let me give some good advice.

    If you don't know Terminal keep well clear. Very powerful magic there.
    And yet, certain members of the forum wonder why Terminal gives me the hives.
    Sylvester Roque Former Contributing Editor About This Particular Macintosh

    "Got Time to breathe. You got time for music." Denver Pyle as Briscoe Darling

  15. #15
    terminals and commands
    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,396
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    Quote Originally Posted by Slydude View Post
    And yet, certain members of the forum wonder why Terminal gives me the hives.
    It's glorious - learn to embrace its power.

    Yodda_Hunter, I'd suggest setting up a virtual machine with Linux or BSD in it to play around with the command line. That way, you can fool around all day and not worry about breaking anything on your primary system.
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Slow scrolling on terminals.
    By timinak in forum OS X - Operating System
    Replies: 0
    Last Post: 10-10-2011, 06:04 PM
  2. Mysql Commands
    By sujeewa in forum Running Windows (or anything else) on your Mac
    Replies: 2
    Last Post: 12-16-2010, 12:07 PM
  3. copy commands
    By altyson in forum OS X - Operating System
    Replies: 2
    Last Post: 08-16-2007, 04:08 PM
  4. commands.
    By daveo in forum Apple Notebooks
    Replies: 0
    Last Post: 10-24-2004, 05:50 PM
  5. commands?
    By newtomacs in forum OS X - Development and Darwin
    Replies: 4
    Last Post: 06-15-2004, 03:59 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •