Skip to main content

Posts

Showing posts with the label useful commands for linux

OPEN SSH

What is ? OpenSSH  is a free open source set of computer tools used to provide secure and encrypted communication over a computer network by using the  ssh  protocol. Many people, new to computers and protocols, create a misconception about  OpenSSH , they think it is a protocol, but it is not, it is a set of computer programs that use the  ssh protocol . Why Open SSH ? The most important reason why should use  OpenSSH  tools over  ftp  and  telnet  is that all communications and user credentials using  OpenSSH  are encrypted, they are also protected from man in the middle attacks. If a third party tries to intercept your connection,  OpenSSH  detects it and informs you about that. Installation ?  sudo apt-get update $ sudo apt-get install openssh-server openssh-client $ sudo ufw allow 22 Links : https://help.ubuntu.com/community/SSH/OpenSSH/Configuring http://www.tecmint.com/install-openssh-server-in-linux/

How to Play movies and songs in ubuntu from command line

$ totem --help Usage:   totem [OPTION...] -: Play movies and songs Help Options:   -h, --help                        Show help options   --help-all                        Show all help options   --help-gst                        Show GStreamer Options   --help-gtk                        Show GTK+ Options   --help-sm-client                  Show session management options Application Options:   --debug                           Enable debug   --play-pause                      Play/Pause   --play                            Play   --pause                           Pause   --next                            Next   --previous                        Previous   --seek-fwd                        Seek Forwards   --seek-bwd                        Seek Backwards   --volume-up                       Volume Up   --volume-down                     Volume Down   --mute                            Mute sound   --fullscreen                      Toggle Fullscreen   --toggle-controls   

Some useful linux commands

Copy/Paste in Linux : In linux highlighting text will put it into the clipboard, and pressing your mouse centre button or mouse wheel will paste it. If you have no centre button or mouse wheel, press left and right buttons at the same time. Middle button copy/paste works in almost all applications including terminal windows. Some applications such as KDE and OpenOffice also support Windows style CtlC/CtlV Copy/Paste. So for example you could use either CtlC/CtlV or mouse wheel click to transfer data between Kwrite and Open Office. There is a setting in OpenOffice to define the behaviour of mouse wheel click. [http://www.jennings.homelinux.net/paste.html] Auto fill in Linux : The complete command in bash lets you associate file types with certain applications. If after associating a file type to an application you were to write the name of the application and press Tab, only files with associated file types would be displayed. Even smarter completion By default, Tab compl