Skip to main content

Funny Linux commands


Hi Folks, 

🙏 Namaste and Welcome to my blog 🙏

Hope this finds you safe and healthy! 


1) root@vinod$ xeyes
(firstly you have to install xeyes packages)

2) . Command: sl (Steam Locomotive)

You might be aware of command ‘ls‘ the list command and use
it frequently to view the contents of a folder but because
of miss-typing sometimes you would result in ‘sl‘,
how about getting a little fun in terminal and not “command not found“.

yum install sl
then run
root@vinod$ sl

3) root@vinod$ yum install fortune
root@vinod$ fortune

You're not my type. For that matter, you're not even my species!!!
Future looks spotty. You will spill soup in late evening.
You worry too much about your job. Stop it. You are not paid enough to worry.
Your love life will be... interesting.

4) Command: factor

Time for some Mathematics, this command output all
the possible factors of a given number.
root@vinod$ factor

5
5: 5

12
12: 2 2 3

1001
1001: 7 11 13

5442134
5442134: 2 2721067

5) Command: Cowsay

An ASCII cow in terminal that will say what ever you want.
Install Cowsay
root@vinod$ yum install cowsay (for Red Hat based OS)
root@vinod$ cowsay I Love nix


How about pipelineing ‘fortune command‘, described above with cowsay?
root@vinod$ fortune | cowsay

xcowsay is a graphical program which response similar to cowsay
but in a graphical manner, hence it is X of cowsay.


yum install xcowsay
root@vinod$ xcowsay I Love nix

cowthink is another command just run “cowthink Linux is sooo funny”
and see the difference in output of cowsay and cowthink.

yum install cowthink
root@vinod$ cowthink ....Linux is sooo funny


6) Command: toilet

what? Are u kidding, huhh no! Definitely not,
but for sure this command name itself is too funny,
and I don’t know from where this command gets it’s name.
Install toilet

root@vinod$ yum install toilet
root@vinod$ toilet tecm


7) Command: cmatrix

You might have seen Hollywood movie ‘matrix‘ and
would be fascinated with power, Neo was provided with,
to see anything and everything in matrix or you might
think of an animation that looks alike Hacker‘s desktop.
Install cmatrix
root@vinod$ yum install cmatrix
root@vinod$ cmatrix

8)Command: aafire

How about fire in your terminal. Just type “aafire”
in the terminal, without quotes and see the magic.
Press any key to interrupt the program.
Install aafire

root@vinod$ yum install libaa-bin
root@vinod$ aafire

9) Command: url

Won’t it be an awesome feeling for you if you can update you
twitter status from command line in front of your friend and
they seems impressed. OK just replace username, password and your
status message with your’s username, password and “your status message“
root@vinod$ url -u YourUsername:YourPassword -d status="Your status message" http://twitter.com/statuses/update.xml


I hope you all enjoy it



Cheers

VIK








Comments

Popular posts from this blog

MySQL DB access for user with roles base accesses   Hi Folks, 🙏   Namaste and Welcome to my blog   🙏 Hope this finds you safe and healthy!   Today I am going to explain about if you are wanting to secure your Database server with proper user access-based policy. We can use MySQL role based policy,  A MySQL role is a named collection of privileges. I will show you how to do that by creating roles and users, then associating those users with newly created roles. Now each user will have different roles and access by that way a user like in read-only roles will not be able to delete anything as he is read only. In each role you can give access based on your project requirement. I will create all role and users form MySQL root user. Before that we need to understand privileges, type provided by MySQL Admin Privileges  – It allow user to managed MySQL server. They are Global level access can be hold by lower level u...
Kubernetes common issues with scenarios and solutions 📘 Scenario #1: Zombie Pods Causing NodeDrain to Hang Category: Cluster Management Environment: K8s v1.23, On-prem bare metal, Systemd cgroups  Scenario Summary: Node drain stuck indefinitely due to unresponsive terminating pod. What Happened: A pod with a custom finalizer never completed termination, blocking kubectl drain. Even after the pod was marked for deletion, the API server kept waiting because the finalizer wasn’t removed. Diagnosis Steps:  • Checked kubectl get pods --all-namespaces -o wide to find lingering pods.  • Found pod stuck in Terminating state for over 20 minutes.  • Used kubectl describe pod to identify the presence of a custom finalizer.  • Investigated controller logs managing the finalizer – the controller had crashed. Root Cause: Finalizer logic was never executed because its controller was down, leaving the pod undeletable. Fix/Workaround: kubectl patch pod -p '{"metadata":{"fina...
  How to Configure AWS service API Gateway Hi Folks,  🙏  Namaste  and Welcome to my blog  🙏 Hope this finds you safe and healthy!  Today I will explain " How to Configure AWS service API Gateway " . Below are the steps which I will take during this session.  1) Briefing about API Gateway  2) Costing  3) Create API Gateway  4) Configuration  5) Code location on web server  1) Briefing about API Gateway Amazon API Gateway is an AWS service for creating, publishing, maintaining, monitoring, and securing REST, HTTP, and WebSocket APIs at any scale. API developers can create APIs that access AWS or other web services, as well as data stored in the AWS Cloud. As an API Gateway API developer, you can create APIs for use in your own client applications. Or you can make your APIs available to third-party app developers. 2)  Costing A) Free Tier The Amazon API Gateway free tier includes one million API calls received for R...