10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am trying to create a script that will take epoch (input from command line) and convert it into a readable format in bash/shell
---------- Post updated at 08:03 PM ---------- Previous update was at 07:59 PM ----------
read -p "Please enter a number to represent epoch time:"... (9 Replies)
Discussion started by: sprocket
2. Shell Programming and Scripting
I'm looking for two scripts, can anyone help me on this.
The first one to scan log files in /xxxx/xxxx/xxxx/USERLOGS and /xxxx/xxxxx/xxx/xxx/xxx/Logs and list out all files and the offending lines that have a readable password.
Check the accuracy of the script to see if it is missing lines... (5 Replies)
Discussion started by: shivamayam
3. Shell Programming and Scripting
Need your help once again.
I have a sql to download output in pipe separated format.
Due to that output looks haphazard.
By any was can we arrange it in tabular format for better... (4 Replies)
Discussion started by: anushree.a
4. UNIX for Dummies Questions & Answers
I want to list all the directories present in a particular location and want to display their sizes as well. I know "ls -lh" but it doesn't show the size of the complete directory. So i want something like
dir1 266 MB
dir2 2 KB
dir3 22 MB
file1 10 Kb
Sarbjit (4 Replies)
Discussion started by: sarbjit
5. UNIX for Dummies Questions & Answers
Is there a way to nicely format the vmstat output:
#3sec interval, 5 measurements
vmstat 3 5
It prints out all the good info but not in a very readable format.
Any help, advise, suggestion will be highly appreciated.
Thanks. (1 Reply)
Discussion started by: tom_k_mishra
6. UNIX for Dummies Questions & Answers
In Unix/Ksh, when I try to look inside a file it says that the file may be a binary file and if I want to see it anyway. When i say 'yes', it shows me the content filled with unreadable symbols (looks like binary). Is there a command that I can run from the Unix prompt to convert/translate that... (3 Replies)
Discussion started by: arthurs
7. Shell Programming and Scripting
I need your help to convert a unix date and time format number in to readable format like dd/mm/yyyy .
I have a text file of more than 10,000 records and it is like
NAME DATE1 COUNTRY DATE2
ABD 1223580395699 USA 1223580395699... (3 Replies)
Discussion started by: shary
Files coming to mailbox are in readable format?
Is there any special command to read these files.
suppose i have sent a file like this
megh$mailx -s "mesg" email@example.com<file1.dat
can xyz directly read the file from his mailbox? (1 Reply)
Discussion started by: megh
hi everyone, im new here and am in desperate need of help. I want to convert my 32 bit unix time stamp ' 45d732f6' into a readable format (Sat, 17 February 2007 16:53:10 UTC) using c++.
I have looked around the interent but i just cant make sense of anything. All examples i can find just... (3 Replies)
Discussion started by: uselessprog
10. UNIX for Dummies Questions & Answers
I have a file which has ascii , binary, binary decimal coded,decimal & hexadecimal data with lot of special characters (like ö..İİ¡·.İİ¡· ) in it. I want to standardize the file into ASCII format & later use that as source .
Can any one suggest a way a logic to convert such... (5 Replies)
Discussion started by: gaur.deepti