We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c75b626 commit 8da1a9fCopy full SHA for 8da1a9f
ifs.sh
@@ -0,0 +1,20 @@
1
+#!/bin/bash
2
+#Purpose: Internal Field Seperator
3
+#Version:1.0
4
+#Created Date: Wed Jun 13 21:58:18 IST 2018
5
+#Modified Date:
6
+#WebSite: https://arkit.co.in
7
+#Author: Ankam Ravi Kumar
8
+# START #
9
+LINE=`cat /etc/passwd |grep $1`
10
+IFS=:
11
+set $LINE
12
+echo "User Name = $1"
13
+echo "Password = $2"
14
+echo "UID = $3"
15
+echo "GID = $4"
16
+echo "Description = $5"
17
+echo "Home Directory = $6 "
18
+echo " Current Shell = $7"
19
+
20
+# END #
0 commit comments