Unix OS

32K

Solutions

18K

Contributors

Unix is a multitasking, multi-user computer operating system originally developed in 1969 at Bell Labs. Today, it is a modern OS with many commercial flavors and licensees, including FreeBSD, Hewlett-Packard’s UX, IBM AIX and Apple Mac OS-X. Apart from its command-line interface, most UNIX variations support the standardized X Window System for GUIs, with the exception of the Mac OS, which uses a proprietary system.

Share tech news, updates, or what's on your mind.

Sign up to Post

does 755, 777(user, group, everyone) vary from file say xyz.txt and directory say abc?
or same concept for both file and directory
if 755 means give whoever accessing(like users like me or John or Mike  etc) file  (xyz.txt)/directory(abc) partial access ?

if 777 means give whoever accessing(like users like me or John or Mike  etc) file  (xyz.txt)/directory(abc) complete access ?
please advise
0
Industry Leaders: We Want Your Opinion!
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

winscp how to save shared bookmarks shortcut

i was referring below but no complete info

https://savethehealthy.com/shortcuts-for-winscp-keyboard-shortcuts.html
0
hi,

I connnected to one production inace went to the log directory where bunch of log files there.

how to continuosly monitor logs for any possible errors , exceptions.

how frequently new files created?
do i have to do vi command to open the log file

please advise
0
i,

i am going through below link

https://www.petefreitag.com/item/426.cfm
when to use fgrep and when to use grep ?
are there any advantages, disadvantages on over other?
please advise
0
I have accidentally Rename more than 100 files in one Folder in Unix  like

File_Namee to   July_2016_FIle_name  Like all the file prefixed to same String "july_2016_"   How can I Reverse this action through Script?

Thank you Very Much.
0
On SLES 12.2 I do the following as root user:

mkdir -p /some/directory/ramdisk
chown -R simpleuser:users /some
chmod 777 /some/directory
chmod 777 /some/directory/ramdisk

Open in new window


Then I add this to /etc/fstab:
ramfs /some/directory/ramdisk ramfs defaults 0 0

Open in new window

followed by
mount /some/directory/ramdisk

Open in new window


What I expect is a ramfs mounted to /some/director/ramdisk, owned by simpleuser and users, with permissions set to 777.

Surprisingly, after rebooting the machine, the owner of /some/director/ramdisk is root:root, and the permissions have changed to something more restrictive. I deem that more of a feature  than a bug, but that behaviour is really annoying in the environment I use it in.

Currently I do an explicit change of ownership and permissions prior to starting the application that uses the ramdisk (in the respective script, with sudo), but I deem that not very elegant.

Any hint what causes the changes, and how to prevent them ?
0
what is difference between

wc vs wc -l vs wc -c vs wc -lw


when we say
wc -lw
is it same as
wc -l -w

what is the use of - in any command?
0
hi,

what is difference between
sort vs sort -n  vs sort -M vs sort -rM

please advise
0
Hi,

what is 2> command used for

please advise
what is 2 what is >
0
what is difference betweem

kill PID
versus
kill -9 PID

what is -9 here?
please advise
0
Hire Technology Freelancers with Gigs
LVL 10
Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

what is difference between below comand

ps
versus
 ps -e
 versuss
 ps -ef
 versuss
 ps -ef|grep xyz

please advise
0
hi,
to learn unix and its command what are best online site, learning videos, training sites that are free available out there including some books.
please advise
0
hi,
what is diference between
Egrep vs grep s zgrep

what are other types of greps there

please advise
0
hi,

i was watching below video
https://www.youtube.com/watch?v=goYjxpnTzFY&list=PL28YtFoet8RUsHxrIsQTkd82vIIZiiSmK&index=4
Instructor seems practicing unix commands on windows machine
how to get similar environmet so that i can practice on my local windows laptop at home?
0
Hi,
how to uninstall mputty or tabbled putty running on my windows machine . please advise

i like to resinstall as initially only it is asking whether to map to your putty or not asking putty path?
how to find putty path to give that path so that it takes all putty sessions automaticaly?
please advise
0
Hi,

While checking the putty logs i see all same color without much indentation

how to make different color for Errors and Exception for colors
how to achieve identation
please advise
0
hi,

i have log directory with say 40 log files in it

i have to search on "NullPoinerException" on above files and find out which file has this exception and which line

how do i grep this?

can i do these kinds of things on winscp etc some gui tools rather than putty?
0
I Have modified profile lpar and vio adding new vlan but do not sea ent when check new profile , why ?

Thks
0
hi,

In below grep command

grep -C20 command "session" fileName


what is meaning of -  and C and 20.
 please advise
0
What does it mean to be "Always On"?
LVL 4
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

hi,

I am trying to grep below

grep "SendLoginEvent" crm-CRMJava7-Staging-crm_st5_1.log.20171013*

but when i typed below i pasted something here like xyzzzzz

grep "SendLoginEvent xyzzzzz
xyzzzzz
xyzzzzz
xyzzzzz


>
>
>




now i cannot exit from this grep
i tried control Z not use
i tried esc no use

how to exit out

please advise
0
hi,

 i did
grep "SendLoginEvent" crm-CRMJava7-Staging-crm_st5_1.log.20171013*


i got big result how to search on say some name like JOHN
to see JOHN login even and his session id
how to drill down much granular
what are effective debug ways on unix logs, servers
0
in putty i logged in to 10 PROD boxes.

I like to know port of each box after logging in as it does not show
how to check
please advise
0
find / -type f -size +500M -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'
find: `/boot/lost+found': Permission denied

above command gives below error
how to resolve this.

It means that it's running the find through all directories and found /boot/lost+found' to be inaccessible to the find command.
please advise
0
I need to mount the FS with nfs3, but it is mounting as NFS4. How can I force it to mount as nfs3, any option on command line ?
0
Hi,

how to import saved ssessions  from putty to mputty.(i saved about 50 sessions with names like integration, systest, prod1 etc in putty which i want to transfer over to mputty without again typing host, port saved session nae etc)

How to point mputty to use putty and get data from putty?
please advise
0

Unix OS

32K

Solutions

18K

Contributors

Unix is a multitasking, multi-user computer operating system originally developed in 1969 at Bell Labs. Today, it is a modern OS with many commercial flavors and licensees, including FreeBSD, Hewlett-Packard’s UX, IBM AIX and Apple Mac OS-X. Apart from its command-line interface, most UNIX variations support the standardized X Window System for GUIs, with the exception of the Mac OS, which uses a proprietary system.