Showing posts with label Linux. Show all posts
Showing posts with label Linux. Show all posts

Saturday, September 14, 2013

Linux Commands

A list of Linux commands

How ToCommands
Disable Firewall $ service iptables stop # stops firewall $ chkconfig iptables off # disables firewall $ service iptables status # status of firewall

Friday, September 13, 2013

Renew IP Address

When computers are moved from one network to another network, its IP address changes. This change is not reflected immediately in network adapters. In order to force a reset of these adapters, the following commands are used.
Renew IP Address

Windows
1. Open a cmd prompt in elevated mode
2. Execute the command
    c:\windows\system32> ipconfig /renew


Linux
1. Open a Terminal as root
2. Execute the command
    $ ifconfig eth0 down
    $ ifconfig eth0 up

Saturday, August 10, 2013

Linux Commands

Here are some common Unix/Linux commands
  1. OS bitness 32 or 64: getconf KERNEL_BITS
  2. architecture of processor: file /usr/bin/w
  3. disk space usage: du
  4. enable backspace: stty erase hit_the_backspace_key
  5. split a vim screen vertically: Ctrl+wv
  6. list of open ports: netstat
  7. list of processes: ps
  8. rename a file: mv original_filename renamed_filename
  9. move a file: mv filepath/filename target_filepath/filename
  10. change permissions: chmod
  11. change owner: chown

Common Tools for Regular Use

I use a variety of tools during development. Here is a list of some of them. This list keeps growing as I use additional software.

  1. Beyond Compare: for file, folder comparison and file merge
  2. gVim: for file editing, comparison and merge
  3. WinMerge: file comparison and merge
  4. Application Verifier: runtime verification of c, c++ code on Windows
  5. Driver Verifier: Windows kernel mode driver runtime verifier
  6. WinDbg: debugging C and C++ code on Windows
  7. WireShark: network packet analysis and sniffing
  8. Maven: build, package
  9. Gradle: build, package, deploy
  10. Selenium: web site testing
  11. JUnit: framework for unit testing of Java code
  12. Fortify SCA: source code analysis
  13. Clover: code coverage for Java and Groovy code
  14. SonarQube: for trend analysis of various aspects in a project
  15. BlackDuck: open source software management
  16. VMWare Player: free virtual machine software
  17. psftp: sftp client
  18. putty: telnet client
  19. pscp: scp client
  20. tomcat: web server
  21. process explorer: Windows processes, open files, handles etc
  22. dependency finder: for finding dependencies in java code
  23. lattix: for finding dependencies in java/c/c++/.net/database code

Disclaimer: This is just a list of software that I used. I do not make any recommendations regarding the software that I listed here.