fbcmd is a cross-platform tool that lets you use Facebook from the command line. It supports posting a status, uploading photos, creating albums, listing profile information for friends, display events or your stream, share links and lots more.
Install fbcmd in Ubuntu:
sudo apt-get install php5-cli php5-curl
cd && wget link_to_fbcmd_update.php(attached in related links)
php fbcmd_update.php
sudo php fbcmd_update.php
sudo php fbcmd_update.php install
And that should complete the installation.
To be able to use fbcmd, you need to give it access to your Facebook account:
- For basic access, run the following command - it should open a new tab in your default web browser, asking you to allow fbcmd to access Facebook:
fbcmd go access
- The second step is to authorize fbcmd to use Facebook in offline mode:
fbcmd go authThis once again opens a new tab in your default browser, which should display a code. Copy that code and run the following command:
fbcmd auth CODE - Replacing "CODE" with the code you've copied from Facebook.
- And finally, to give fbcmd additional permissions, use the following command:
fbcmd addperm
Now everything should be ready. to see all the available fbcmd options, type the following command in a terminal:
fbcmd
Here are a few fbcmd examples:
- update your status:
fbcmd status "insert the status here"
- upload a picture to an existing album called "myalbum":
fbcmd addpic myfile.jpg myalbum "photo description"
- display your Facebook stream:
fbcmd stream
To stop heartbeat in Linux the command line will be service Heartbeat stop To start heartbeat in Linux the command line will be service Heartbeat start
ifconfig
the command "display" brings up the ImageMagick program.
Yes
Linux allows full access to the source code. Windows does not. The command line has always proven useful when altering software. Windows differs from Linux in command line limitations as well. Linux provides a centralized location in which software and application can be controlled.
Yes. Just about everything to do with Linux on the command line is case sensitive, including commands and file names.
Just type "top" into the command line. It requires no arguments. To exit, press 'q'.
In linux command line : tar -zxvf /path_to_your_file/filename.tar.gz
yes. Xterm, gnome-terminal are common ways of accessing it.
That would be a semi-contradiction; the command line would need to be already running in order to enter a command. The name of the program that actually provides the command line is called a shell. There are many different shells available for Linux, including Bash, ash, C Shell, fish, ksh, zsh, and scsh.The default command shell is /bin/sh (not /bin/bash, note).
Innumerable. Remember that any program on Linux can be launched from the command line, so there are as many commands as there are programs.
By invoking a terminal emulator or switching to one of the virtual terminals.