Displaying hostname in last column17 Mar 2025 | 1 min read Hostname can be displayed in the last column using option a. Syntax: ![]() Look at the above snapshot, hostname is displayed in last column. |
Disable displaying hostname Hostname is displayed in third column in the last command. It displays IP address if user is connected through a remote server, otherwise displays :0 when user is connected through local terminal. Syntax: Look at the above snapshot, third column displaying hostname is not displayed with...
1 min read
Limiting downloading speed Speed is an important factor while downloading. If speed is not defined then it might use full bandwidth available which will slow down the internet connection for other users. This can be avoided by limiting the downloading speed or rate. Syntax: wget --limit-rate=<Numberk> <URL> Example: wget --limit-rate=150k https://www.google.com/doodles/mukeshs-93rd-birthday Look...
1 min read
wget Command wget stands for web get. The wget is a free non-interactive file downloader command. Non-interactive means it can work in background when user is not logged in. This allows user to get disconnected with the system while wget finish its work. It can even download entire...
2 min read
init It is the first process executed by the kernel during the booting of a system. It is a daemon process which runs till the system is shutdown. That is why, it is the parent of all the processes. First of all, init reads the script stored...
3 min read
pmap The command pmap reports memory map of one process or multiple processes. It displays information about memory usage and address space of a process. To check pmap of a process we need PID of the process. Syntax: pmap PID Example: pmap 2390 Look at the above snapshot, it shows memory map...
1 min read
Set number of retrying attempts By default, wget command tries 20 times to downlod a file. This problem generally come when a large file is getting downloaded and internet connection is weak. Here, you can set number of attempts which wget should make to download a file. Syntax: wget --tries=<Number>...
1 min read
Listing all threads for specific process When a process hangs, we may get the number of threads with option L. To know the thread of a process we have to provide its PID as argument. Syntax: <PID> Example: 3801 Look at the above snapshot, LWP stands for light weight process. PID is...
1 min read
pmap -x Here, x stands for extended. This option displays information in extended format. Syntax: pmap -x PID Example: pmap -x 1682 Look at the above snapshot, extended information about memory usage is displayed. All the fields denote different things. From left to right, Field 1 ? address (Denote start address of map) Field 2 ?...
1 min read
Download multiple files To download multiple files together, store all the urls in a single file. Look at the above snapshot, we have created a file urls.txt and stored 3 url into it. Now, we'll download all these three files together using option i. Syntax: wget -i <fileName> Example: wget -i urls.txt Look at...
1 min read
Redirecting to log file We can redirect wget command to a log file with option o. Syntax: wget -o <logFile> <URL> Look at the above snapshot, downloaded file will go to pdf.log file, which will be created in the user's current directory. Topicftp and sftp ...
1 min read
We request you to subscribe our newsletter for upcoming updates.
We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India