LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

- rm

Posted 11-19-2011 at 08:24 AM by Web31337 (In The Middle Of Nowhere [edK's blog])
Updated 06-20-2012 at 11:51 PM by Web31337

- rm -
Member
Posted in Uncategorized
Views 1295 Comments 0 Web31337 is offline
Old

'stat' vs 'date' w/re string manipulation in Bash scripts

Posted 11-17-2011 at 05:31 PM by SilversleevesX
Updated 11-17-2011 at 05:42 PM by SilversleevesX

I started browsing the Web tonight looking to do something I had been doing in my Bash scripts with stat and three more lines of string cutting in one line instead.

I had been using stat -c &y file to get a file's modification date in scripts, but I have never liked the nine-digit "blink-of-an-eye" part of the return on that command. My method up till now has been to eliminate it with lines like these:
Code:
gdate=$(stat -c %y foo.jpg)
pqdate=$(echo ${gdate%.*})
...
Member
Posted in Discussion
Views 406 Comments 0 SilversleevesX is offline
Old

using dfsbuild to build a debian from scratch

Posted 11-17-2011 at 09:19 AM by adriankevin

I want to create my own debian distribution using dfsbuild (v 1.0.2.0) but i got the error:

Project:/home/adrian# dfsbuild -c /etc/dfsbuild/dfs.cfg -w /home/adrian/dfs/
[dfs/INFO] Welcome to dfsbuild. Image architecture: "i386"
[dfs/INFO] Using working directory /home/adrian/dfs
[dfs/INFO] Using library directory /usr/lib/dfsbuild
[dfs/INFO] Running.
[dfs/INFO] Mirroring process starting.
[dfs/INFO] Running cdebootstrap for testing...
LQ Newbie
Posted in Uncategorized
Views 360 Comments 0 adriankevin is offline
Old

Hello!

Posted 11-16-2011 at 07:08 AM by kbscores

This is my first blog entry! Going to introduce myself and explain a little bit about what I am going to blog about.

As of right now I am a junior sys admin at a medium sized datacenter. I primarily work with RHEL, so the bulk of my blogs will be in reference to that operating system. I have been here for about six months and have learned a lot.

About one month ago the only other Linux SA left and that forced me to learn fast. Even though there are several other...
Member
Posted in Uncategorized
Views 259 Comments 0 kbscores is offline
Old

installation

Posted 11-16-2011 at 01:18 AM by wakchaure
Updated 11-16-2011 at 03:22 AM by wakchaure

how to install tora which is similar to toad used for pl/sql development on fedora 15 for oracle
LQ Newbie
Posted in Uncategorized
Views 379 Comments 0 wakchaure is offline

  



All times are GMT -5. The time now is 03:43 AM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration