diff --git a/llllllllllllllllll/1_ps/code b/llllllllllllllllll/1_ps/code index e0a4077..e4d2125 100644 --- a/llllllllllllllllll/1_ps/code +++ b/llllllllllllllllll/1_ps/code @@ -1,2 +1,2 @@ -ps aux +ifconfig eth0 diff --git a/llllllllllllllllll/1_ps/codeanswer b/llllllllllllllllll/1_ps/codeanswer index 4f2be97..1dda745 100644 --- a/llllllllllllllllll/1_ps/codeanswer +++ b/llllllllllllllllll/1_ps/codeanswer @@ -1 +1,6 @@ -ps aux | grep root \ No newline at end of file + +echo "Using 'ip' Command:" + +echo "The 'ifconfig' command is deprecated in the latest Linux versions. So you can use 'ip' command to display the network interfaces as shown below." + +ip -s link diff --git a/llllllllllllllllll/1_ps/codehelp b/llllllllllllllllll/1_ps/codehelp index 877d071..85b83e0 100644 --- a/llllllllllllllllll/1_ps/codehelp +++ b/llllllllllllllllll/1_ps/codehelp @@ -1 +1 @@ -des ps \ No newline at end of file +echo "try ip" diff --git a/llllllllllllllllll/1_ps/info b/llllllllllllllllll/1_ps/info index d34823a..131c8d1 100644 --- a/llllllllllllllllll/1_ps/info +++ b/llllllllllllllllll/1_ps/info @@ -1 +1 @@ -Asciidoc 22222222222222222222 +View Network Settings of Specific Interface diff --git a/llllllllllllllllll/1_ps/q-info b/llllllllllllllllll/1_ps/q-info index 0e99ab3..50c0d67 100644 --- a/llllllllllllllllll/1_ps/q-info +++ b/llllllllllllllllll/1_ps/q-info @@ -1 +1 @@ -trexe ps \ No newline at end of file +Find the connected state of the network interfaces