Skip to main content

Command Lines Part 2


Converting Files

Images

Convert from jpg to png?
$ convert image.jpg image.png 
 




 
 

Networking Stuff

Arp

Have a look at who on the network own which IP address:
$ arp
 


 

Ping

Is a server alive?
$ ping 8.8.8.8
 
 

Traceroute

Where are the network issues between us and them?
$ traceroute www.nuim.ie
 
 

Nmap

Scan the local 255 host subnet.
$ nmap 192.168.1.0/24

 
 


1-Liners

What is the total disk size of all MarkDown files in my homedir?
$ find ~ -name "*.md" | xargs du -ch
 
 
 
Generate numbers in a random order
echo {01..10} | sed 's/ /\n/g' | shuf -
 
 
 
 
 
 

Comments

Popular posts from this blog

What is Eclipse IDE and how to install

What is Eclipse? Eclipse is an integrated development environment (IDE) used in computer programming, and is the most widely used Java IDE. It contains a base workspace and an extensible plug-in system for customizing the environment. Eclipse is written mostly in Java and its primary use is for developing Java applications, but it may also be used to develop applications in other programming languages via plug-ins, including  C, C++, Fortran, JavaScript,  and others. Development environments include the Eclipse Java development tools (JDT) for Java and Scala, Eclipse CDT for C/C++, and Eclipse PDT for PHP, among others. How to install Eclipse Step 1: First we are going to download Eclipse at their website, make sure you select the correct OS. Step 2: After you finish downloading it you will get a Zip file with the name of the Eclipse you just download, open it and extract it and after that you are going to run it and this is going to be ...