Friday, June 6, 2014
On 10:52 PM by Unknown No comments
If you want information about your system on Linux, then these commands will help a lot. |
pwd
This command is short for ‘print working directory’, which is exactly what it does.
hostname
The machine that is currently being worked on is known as the local host. The command ‘netconf’ can be used to change the name of the local host and ‘hostname’ is used to print the local host’s name.
whoami
As the name suggests, this command prints the user’s login name.
id username
Unlike the above command, this one prints the user id of the user along with his group id, effective id and all the supplementary groups that are involved.
date
This command can be used for both printing and changing the date and time of the operating system.
time
The amount of time that a particular process is allowed to take can be changed using this command. It’s different from the date command.
who
This command tells the user who all are logged into the machine.
rwho -a
This is the same as the above, but it tells you the users that are logged into the network. In order for this to run, the rwho service has to be enabled.
finger user_name
This command gives the system information of a particular user.
last
This one gives a list of users that were last logged in to the system that you are using.
history | more
As the name suggests, the history command shows the previous commands that had been executed on the account that you are on. The | more is used to make the display stop whenever the screen is full.
uptime
This command gives you the time elapsed after the last reboot.
ps
The print status command lists the processes that are being run on the system by the user.
ps axu | more
This lists all the processes that are running.
top
This command keeps on listing the processes that are running currently.
uname -a
This command stands for Unix name with option ‘all’. It displays all the information about your local server.
free
This gives information about available memory, which is displayed in kilo bytes.
df -h
This one gives information about the file systems in a form that is understandable outside the machine.
du / -bh | more
This command starts at the root level and prints the disk usage information for each subdirectory available.
cat /proc/cpuinfo
There is a file called cpuinfo and this command shows the content in it.
cat /proc/version
This command will tell you the Linux version that you are using and then some other information as well.
cat /proc/filesystems
This command is responsible for showing the type of file systems, which are being used currently.
cat /etc/printcap
This command can be used to see the printer setup.
lsmod
This command should be used when you are a non-root user for the system. It shows the Kernel modules.
Subscribe to:
Post Comments (Atom)
Search
Popular Posts
-
The importance of encryption tools lies in one simple fact. Prevention is better than cure. File encryption is of paramount importance...
-
This is the age of connectivity. We randomly switch from smartphone to tablet to computer many times every single day, so much so that some...
-
Looking for a free ebooks on some topic? Your search ends here with these websites.. When looking for free ebooks, there are many reso...
-
Hi friends some of the viewers had messaged me to give hacking books so that they can learn every thing offline.So here i am providing with...
-
The following keyloggers are handy tools for hacking/surveillance. Keylogger is basically a surveillance software that has the capabi...
-
Carrying around an actual computer is now possible since we have USB sticks that you can use to store all the basic utilities you need and ...
-
Hacking tools are available aplenty. Top hackers in the world today recommend hacking tools made for Linux and Windows operating systems. I...
-
Did you know you could use HTML to hack a website? Here's how to do it! Yes folks, you can use HTML to hack a website....
-
While a great deal of time and effort is invested in designing and developing a software, it only takes a few seconds to bring it down on...
-
Whether it is the iPhone, iPad or Android-based systems, building an app quickly is an imperative for developers. Developers often ...
Copy Rights 2014 Himanshu_Teotia. Powered by Blogger.
0 comments:
Post a Comment