Programming :: What's Best Practice For C-Style Stings?
Apr 22, 2011
I have searched the net for The Best Practice of C-Style Stings, but the examples i have found aren't sufficient.Can someone please show me The Best Practice for C-Style Stings, or direct me to something i can read that shows in details the best practice.
View 12 Replies
ADVERTISEMENT
Jul 12, 2010
I am starting a new job, and need to brush up on my expect scripting. does anyone know of any online resources, e.g. telnet sites that I can play about with?
View 4 Replies
View Related
May 20, 2011
How do I write a script to convert all DOS style backslashes to UNIX style slashes in a list of files /
View 3 Replies
View Related
Nov 14, 2015
which kind of package enables the notification bar ("(A) Connection Established I'm running Code: Select allLinux 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1+deb8u5 (2015-10-09) x86_64 GNU/Linux on two machines with i3 window manager but one have notifications in a box, the other one in a bar on the top of the screen. I would like two enable the "bar style" on the second machine as well.
View 4 Replies
View Related
Nov 27, 2010
I'm wondering about this kind of GUI Interfaces like Slackware setup program
What is called ? Also, Can it be used with Python?
View 6 Replies
View Related
Aug 24, 2009
For example,I have three paragraphs,as following:
I want to output it as following:
View 2 Replies
View Related
Mar 30, 2011
What is the preferred method for obtaining Harvard style referencing in a LaTeX document?
View 1 Replies
View Related
Nov 29, 2010
Recently I've been going over a few resources (like Guide to the Secure Configuration of Red Hat Enterprise Linux 5) some forum members have provided and I've been using other resources I use for work (like the UNIX STIG requirements). I would like to improve my skill-set on hardening a linux server (for work and personal interest). Is there a specific linux distro I can install that is purposely corrupted/vulnerable where the sole goal is to secure it, and then have the means to scan it to make sure all vulnerabilities are patched and secured?
View 6 Replies
View Related
Oct 27, 2010
Am investigating processor affinity theory and practice, am somewhat surprised at the paucity of information on something that has been a part of many Windows Enterprise type applications for more than a decade and although I haven't investigated would assume is supported by big iron UNIX.What it is Processor Affinity is the *NIX terminology for "soft" assigning a process and its threads to a specific processor core. On multi-tasking machines and particularly those which run heavy loads it can be useful to "advise" the Scheduler to isolate/assign heavy loads to a core separate from other processes. I also have a specific situation where I would like to run more than one instance of a specific app, but cannot when sharing the same processing environment.
What I've found so far By default, any and all processes are assigned an affinity that permits running on any and all available processors.The taskset utility can be used to modify the affinity for any process, which means that once an application/service/process has been launched, only then can the affinity be modified.It seems that the RH platform may also have a utility called tuna which might provide some tuning capabilities in addition to setting affinity but does not seem to be in the SuSE repositories and I cannot find source.Is there a reference or utility that can launch an application with a specified processor affinity?
View 6 Replies
View Related
Mar 31, 2010
I've only ever installed two programs that came in .tar.gz's with their own install.sh scripts. Each one recommended to be saved in /opt.What is opt? Should all .tar.gz programs with their script installer be handled in the opt directory?
View 6 Replies
View Related
Aug 21, 2009
I was about to post a new thread and saw that there are several answers out here already and I have done the new group permission one on my server -- actually on my test server I just added "my user" to the group "root" to gain rw access to /var/www/htdocs/.Someone suggested that the proper way might be to do symlinks to the directory in a real production environment and I wanted to find out if that is the *best* way to go or whether to actually make a group "www_admin" (pick your favorite flavor of this) and add my users to that group?
I guess I am looking for the "best practice" in a real corporate production environment that is most secure.
View 3 Replies
View Related
Apr 9, 2011
I am new to Slackware but I'm a bit familiar with Ubuntu. I normally partition my ubuntu using /swap, /root and /home. In ubuntu it is recommended to separate /home and /root partitions so that later on if something to be changed in the system we just need to apply on that /root without affecting our old data in /home. Is it the same way in Slackware applied? If so, is it the same as having /swap, /root and /home partitions as well? Can anyone suggest for the harddisk distribution of my 320GB space..
View 14 Replies
View Related
Mar 10, 2010
I am currently studying for the Linux plus comptia exam.
Yes, Im aware, The theme OS is Redhat. I am just wondering if there are any free practice exams for the linux plus certification out there. Any Ideas?
View 3 Replies
View Related
May 23, 2011
I'm writing you to ask some help with administrating a server remotely.
I have a machine I use remotely when I have to travel, some time for quite long periods like from one to three months.
Last time it happened to me that after upgrading I send the reboot command
and the machine didn't turn down, so I couldn't be able to access it.
My question is: how can I avoid such situations?
Is there any best practice to follow?
View 5 Replies
View Related
Jul 18, 2011
I want to practice setting up of NFS server and NFS client on Redhat using virtual machine on my laptop. I dont think setting up NFS should not be a problem but how do I replicate a NFS client. I just have one laptop. Is it possible to replicate both server and client using the same laptop? If so, can anyone tell what tools i can use to perform the above for practicing.
View 3 Replies
View Related
Jun 5, 2010
how to set server like facilities on home pc to practice for RH 133 & RH 253 for RHCE exam.
View 3 Replies
View Related
Jan 2, 2010
I have the following scenario:
- Server installed in wired network. The server has a static IP. It has Ubuntu Server 9.10 installed.
- I have two Ubuntu notebooks (Ubuntu Desktop 9.10) and I want them to connect (mount) to the server on bootup (fstab or equal) if the network is available.
- I don't want to store the password in cleartext in the fstab file. So what other options do I have? What would be the most common practice here?
View 7 Replies
View Related
Apr 11, 2010
is there a resource/material that can simulate a RHEL on your personal machine so that one can practice for RH302 exam accurately? I am looking to practice sample questions with some kind of simulation environment where the scenario is similar to the real-time scenario that we can expect in the exam. For instance, the system is already broken with what is mentioned in the question so that I can focus only on solving the problem rather than breaking it first. I am looking for something specific to RHCE exam preparation/practice rather than using a tool like trouble-maker.
View 4 Replies
View Related
Nov 15, 2010
-the command to copy the file Practice.txt to a new name of Myfile.txt while in the home directory-found
-command to create a directory in the home directory-found
-say i just created a new directory called "test". whats the command to delete the test directory.-found
-command to create a blank, text file without using an editor.
-the exact syntax in Linux you would need to rename the file to a new name-found
View 4 Replies
View Related
Apr 24, 2010
I'm looking for a way to get a Mac OS X style dock on Xubuntu, I tried cairo and it was ok but I just got a black border around the dock which was annoying. And I tried looking up how to fix it and most places recommend turning on compositing which I had already had on in xfce. I'm not necessarily looking for animated stuff, just an icon based dock like that.
View 9 Replies
View Related
Mar 31, 2010
For the 2nd time in a year. I really need v3.xx because 2.4 breaks formatting when opening v3 files. Why did i go back to 2.4 ? 3.1 was slower with calc. Now I'm stuck with 2.4 because of the ongoing stupidity in backports.org.
# aptitude install openoffice.org -t lenny-backports
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
The following packages are BROKEN:
[Code]...
View 2 Replies
View Related
Nov 3, 2010
I'm upgraded F13 to F14 and now all the GTK+ apps have this "white end" style in the menu. My question is, is that the new GTK+ style or is something wrong? [URL] I'm using KDE in F14 with QtCurve style for GTK+ apps.
View 14 Replies
View Related
Jun 11, 2011
i'm running F15 with the Gnome 3 shell and also changed the shell's style to a theme called 'Zukitwo', it can be found here..
[code]....
follow the instructions in the 'Install' document closely, i found after installing a different package manager called 'Yum Extender' which made things simpler for me, i installed the 'Gnome tweak tool', 'gnome-shell-extensions-user-theme'' and 'gnome-shell-extension-common'', but i also had to install the latest 'Murrine GTK2 engine' for the 'Zukitwo' theme to be recognised in the 'Gnome tweak tool', the location i chose to copy the Zukitwo folders to was.. /home/your username/.theme I'd like to now change just the style of the Fedora 15 login window(as in username/password popup box), but without changing my background wallpaper that being used, i have found a 'login' box style from a website below which i'd like to use.
[URL]
is changing just this part of the 'login' box style possible without altering the exsisting background, and how might this be done?
View 14 Replies
View Related
May 16, 2010
I am trying to read the info for Groff using KDE Help Center. The paragraphs take turns in using monospace and sans-serif. There is no apparent logic behind this variability. Additionally, several lists are misplaced (not indented).
View 9 Replies
View Related
Aug 14, 2010
I was wondering if anyone knew if there is an KDE-style app launcher for XFCE, preferably in the repos. I'm using KDE on my main system, and would love to have the same ALT+Space launcher on my laptop. Only without having to install (and run) all of the KDE libraries.
Closest I came was a couple of Mac-OS style docks.
View 7 Replies
View Related
Nov 28, 2010
I use a few KDE apps in gnome, and I like them to look as in KDE with elegant qt style buttons and controls,however they look like whatever but what qt applications look like.
View 2 Replies
View Related
Dec 11, 2010
The only reason I keep a dual-boot on my computer is because I need the calendar in Outlook. Is there a outlook-style calendar I can use in Ubuntu 10.04? Here is the catch, it MUST be able to sync with my Google calendar. Because I use an android phone that syncs with Google. I would love to totally leave windoze behind me.Maybe I can use Wine to install the entire 2007 MS office suite into Linux?
View 9 Replies
View Related
Feb 3, 2011
I know that there are different themes available and they are really easy to implement, however I would like to find a theme or UI that looks like our old favourite game DEFCON. I love those old-school vector graphics and DEFCON looks so good. Who wouldn't love a GUI based on vector graphics! Where should I look or start?
View 1 Replies
View Related
Apr 3, 2011
My Creative ZEN Style 300 player is not recognized in Ubuntu 10.10 through media players (Rhythembox, Banshee, Gnomad2...etc) . it is recognized correctly as a removable media like any flash drive ,but not as a media player though.
I've searched a the issue and found some solutions to other Creative ZEN models ,but none worked for me.
here is my lsusb output:
Code:
Bus 002 Device 006: ID 041e:2016 Creative Technology, Ltd
I've edited the /lib/udev/rules.d/45-libmtp8.rules
file and added
Code:
# Creative ZEN Style 300
[Code].....
View 4 Replies
View Related
Jun 12, 2011
Several times now I've for some reason had a different style on my desktop when I boot until I power the computer down. Frames still look the same but applications look different and the panel at the top changes. I tried changing the appearance but the frames are the only things that change. I've attached some screen shots. It should look just like it does after a fresh install.
View 5 Replies
View Related