Linux Commands - GiannisAnasta/Companies GitHub Wiki
# LINUX COMMANDS
- apt-get // Search for and install software packages
- echo // Display message on screen
- export // set an environment variable
- ifconfig // Configure a network interface
- install // Copy files and set attributes
- less // Display output one screen at a time
- passwd // Modify a user password
- sudo // изпълнява файлове изискващи Super-User Rights
- tail file // показва последните 5 реда от даден файл
- users // List users currently logged in
- clear // изчиства показваната информация в конзолата...Clear terminal screen
- free // показва използваната памет
- rm "file" // deletes the file
- file file // показва формата на файла
- head file // показва първите 5 реда от даден файл
- pwd // показва в коя директория се намирате в момента
- ls // показва файловете в директорията ( dir )...List information about file(s)
- ls -la // показва всички файлове в директорията и с какви позволения за използване са
- cd // отивате във вашата home директория ( cd ~ )
- cd directory // влизате в директория...Change Directory
- cd .. and cd ../ // качва ви една директория нагоре...return to the previous folder
- cd - // връща ви в предишната работна директория, преди последната cd команда
- mkdir directory // създава директория...Create new folder(s)
- git push origin master // Push your git repo to github
- gitk& // Opens you git repo
- gitk gui // Opens Graphic user interface of your git repo
- useradd // Create new user account
- -version // Show the current version
---usefull commands---
- glassfish4/glassfish/bin/asadmin (start) stop -domain domain1
- mvn install // maven install
- git clone https://github.com/GiannisAnasta/Companies.git
- mysqldump -u root -p companies > companies07_09_2016.sql // creates and db dump
- gnome-system-monitor // Open system monitor