Sponsored Content
Full Discussion: Extreme Beginner
Special Forums UNIX Desktop Questions & Answers Extreme Beginner Post 302915973 by SomeDudeOnline on Friday 5th of September 2014 02:20:00 PM
Old 09-05-2014
Extreme Beginner

Hi everyone,

I just started my ERP Systems Administration class a couple weeks ago and we're focusing on Unix/Linux and SAP systems. For Unix/Linux we're using Putty.

This teacher is trying to make the class as close to as real as a job as he can. The class is at 9 AM (he teaches an 8 AM class right before this) and he doesn't really give any instruction as to how to accomplish anything. He gives us homework and groupwork with things to be done but no how to or reference material. In class he's lectured a little bit on commands and shortcuts in linux/unix (most of it went over my head) but that's about all the instruction we get.

So my questions are probably so basic I should be embarrassed, but I currently know next to nothing so please bare with me. And to be clear I'm not complaining about the style of the class (yet lol) just letting you know why my questions are so elementary.

Code:
cd /bin 
pwd
ls -l

After entering the code above one of the questions is:
What is the meaning of having a “d”, “l” or “-“as the first character in the display from the above command?

As I understand it, the code is taking me to the bin directory (not sure what that is) and pwd is simply displaying the directory I'm currently in. ls -l is to list files and directories, I assume -l is to display the files and directories in "l" (whatever "l" is).

With that being said, I believe a "d" as the first character means that the file is a directory or sub-directory. Files starting with "l" seem to have text in the far right column colored blue while files starting with "-" have text in the far right column colored green. And some of the data in the far right column for the "l" files point farther right to green data.

What does all of this tell me? I have no idea.

Can anyone help me out with this?
 

3 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Beginner Help

hi guys, i have a DEl xps laptop cor 2 duo 2.2 i have vista installed on it i want to install a dual Boot UNIX on it.. can some one guide me ...cause i m tottaly new to UNIX i want to install unix on that laptop along with Vista.... thx any help would be deeply appreciated (sorry if i... (5 Replies)
Discussion started by: Farhan082
5 Replies

2. Shell Programming and Scripting

Beginner Help

I need to write a script to test a nsort c program. I have written 8 .txt files with different cases. Also 8 .txt files with expected outcome. The shell I have written always "test pass" for the first case but always "fail" for the rest... Here is a portion of my code (as I still don't know how to... (5 Replies)
Discussion started by: thibodeau
5 Replies

3. UNIX for Dummies Questions & Answers

Beginner - What Should I Do First?

Hi people.... I have just started to learn unix.I want to know which version of Unix to install plus how to install it.I need to practise and make myself aware of how unix works.My thread is from an educational point of view.Also please feel free to give your suggestions as I am... (3 Replies)
Discussion started by: amit.kanade1983
3 Replies
ISWDIGIT(3)						     Linux Programmer's Manual						       ISWDIGIT(3)

NAME
iswdigit - test for decimal digit wide character SYNOPSIS
#include <wctype.h> int iswdigit(wint_t wc); DESCRIPTION
The iswdigit function is the wide-character equivalent of the isdigit function. It tests whether wc is a wide character belonging to the wide character class "digit". The wide character class "digit" is a subclass of the wide character class "xdigit", and therefore also a subclass of the wide character class "alnum", of the wide character class "graph" and of the wide character class "print". Being a subclass of the wide character class "print", the wide character class "digit" is disjoint from the wide character class "cntrl". Being a subclass of the wide character class "graph", the wide character class "digit" is disjoint from the wide character class "space" and its subclass "blank". Being a subclass of the wide character class "alnum", the wide character class "digit" is disjoint from the wide character class "punct". The wide character class "digit" is disjoint from the wide character class "alpha" and therefore also disjoint from its subclasses "lower", "upper". The wide character class "digit" always contains exactly the digits '0' to '9'. RETURN VALUE
The iswdigit function returns non-zero if wc is a wide character belonging to the wide character class "digit". Otherwise it returns zero. CONFORMING TO
ISO/ANSI C, UNIX98 SEE ALSO
isdigit(3), iswctype(3) NOTES
The behaviour of iswdigit depends on the LC_CTYPE category of the current locale. GNU
1999-07-25 ISWDIGIT(3)
All times are GMT -4. The time now is 11:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy