Git Product home page Git Product logo

linux-guide's Introduction

showing and monitoring processes

xclip for copying into clipboard

To install: sudo apt-get install xclip

xclip id_rsa.pub should copy the content into primary selection. To copy into clipboard, follow the command with xclip -o | xclip -sel clip

Add alias for cd to folder

alias shortcutname="cd /c/target/directory" 

add the command on your .bashrc. Next time you can just run commannd shortcutname to change the directory to c/target/directory.

Add symbolic link

 sudo ln -s <src-path> <dest-path>

Remove symbolic link

 rm <dest-path>
Search packages

apt-cache policy <package-name> More useful commands using apt-get

Installing package

Using apt-get

sudo apt-get install package-name

Using .tar.xz file

  1. download .tar.xz file.

Using .deb file

  1. download .deb file.
  2. run command sudo dpkg i <file.deb>
  3. if errors outs due to dependencies, run command sudo apt-get install -f and rerun step 2.
Install package with specific version

sudo apt-get install packagename=2.3.5

Installing Eclipse
  1. Download eclipse(*.tar.gz) from its website
  2. Make sure you have java installed]()
  3. Extract eclipse*.tar.gz into /opt cd /opt && tar -zxvfw ~/Downloads/eclipse*.tar.gz
  4. Create launcher shortcut for eclipse, create eclipse.desktop file in /usr/share/applications or ~/.local/share/applications and add following contents.
[Desktop Entry]
Name=Eclipse 4
Type=Application
Exec=/opt/eclipse/eclipse
Terminal=false
Icon=/opt/eclipse/icon.xpm
Comment=Integrated Development Environment
NoDisplay=false
Categories=Development;IDE;
Name[en]=Eclipse
  1. create symbolic link to open an eclipse from command line
 sudo ln -s /opt/eclipse/eclipse /usr/bin

or use update-alternatives

sudo update-alternatives --install /usr/bin/eclipse eclipse /opt/eclipse/eclipse

Setting your environment variables

Installing nodejs.

Installing various packages into unbuntu

Installing oracle java

Installing Mongodb

#####Where are package installed

Directory structure Explained

Linux Filesystem Hierarchy

Directory Map

Directory Map

Linux Directory Map

Add daemons services

linux-guide's People

Contributors

bhochhi avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.