Change mode command – chmod

Change mode command - chmod

Syntax:chmod [-Options] <permissions> <file/directory> Explanation:chmod is an abbreviation for change mode.Chmod is used to decide which users has the right to read, write or execute a certain file or folder. In other words: set the permissions of that file or folder. Permissions of files and folders

Read More Change mode command – chmod

Manage permission of files and folders in the Terminal for Mac OS X

Manage permission of files and folders in the Terminal for Mac OS X

Permission Permissions can be set in two different ways: Symbolic mode and Numeric mode.We are now going to explain these two options. Setting permissions with Symbolic values (Symbolic mode) When setting permissions with symbolic values you’re mostly going to use three different letters:

Read More Manage permission of files and folders in the Terminal for Mac OS X

Manage files and folders directly from the Terminal window in Mac OS X

Manage files and folders directly from the Terminal window in Mac OS X

Below is a collection of commands and functions used for managing files and folders in the terminal on Mac OS X. Commands for managing files and directories in Terminal cd Change working directory of the Terminal. ls Find out which

Read More Manage files and folders directly from the Terminal window in Mac OS X

mv – Move a file or a folder in Mac OS X

mv - Move a file or a folder in Mac OS X

Syntax:mv [-Options] <source> <target> Usage/Result:Move a file or a folder to another location. Options: -n Do not overwrite existing files/folders. -i Confirm every action that will overwrite another file or folder. -f Overwrite existing files without prompting for it. -v Verbose: Outputs the

Read More mv – Move a file or a folder in Mac OS X

chown – change owner of a file or folder

chown - change owner of a file or folder

Syntax:chown <new owner>(:<new group>) <file/directory> Explanation:chown is an abbreviation for change owner.With chown you can change the owner of a certain file or folder. Examples chown john myfile.txt  Change the owner of the file “myfile.txt” to the user called “john”. chown john:group2 myfile.txt  Change the owner and group membership

Read More chown – change owner of a file or folder

Ping an IP address or hostname in the Terminal for Mac OS X

Ping an IP address or hostname in the Terminal for Mac OS X

Syntax:ping [-Options] <ip/hostname> Usage:Ping’s an IP-address or a hostname (which can be used to troubleshoot connection problems to another computer or a server). Options -c <num> Stop after sending and receiving <num> number of packets. -f Flood ping: Flood ping, output packets as

Read More Ping an IP address or hostname in the Terminal for Mac OS X

Post tweets directly from the Terminal in Mac OS X using cURL

Post tweets directly from the Terminal in Mac OS X using cURL

If you have a Twitter account and is behind a Mac you can easily post new Tweets from the Terminal without having to login on their website. To achieve this we’re using the in-built function in Mac called cURL. cURLcURL is an inbuilt tool

Read More Post tweets directly from the Terminal in Mac OS X using cURL

System info and preferences from the Terminal in Mac OS X

System info and preferences from the Terminal in Mac OS X

sw_vers Syntax:sw_vers Explanation:Displays a system summary of your Mac. system_profiler Syntax:system_profiler [-Options or Type(s)] Usage/Explanation:Displayed detailed information about your Mac including the hardware. Options -detailLevel <lvl> Decide how detailed the description will be. <lvl> can be mini, basic or full. -listDataTypes Displays all available categories (as specified below).

Read More System info and preferences from the Terminal in Mac OS X