Visit The New, Modern Unix Linux Community

Search Results

Search: Posts Made By: dodona
4,102
Posted By MadeInGermany
There is nothing wrong but a typo. -type f...
There is nothing wrong but a typo.
-type f shows files.
-type d shows directories.
\( -type f -o -type d \) shows both.
Assuming there are only files and directories, you can simply show...
6,415
Posted By RudiC
You can't have a delimiter occurring in your...
You can't have a delimiter occurring in your data. Use either a diffenrent delimiter (e.g. <TAB> = \t = 0x09), or an array.
6,239
Posted By RudiC
I'm helpless with that little context you give....
I'm helpless with that little context you give. What's so special with those files? Does tar work without the gzip? Does it work with other files, e.g simple text files? In another directory? Without...
6,239
Posted By RudiC
I'm baffled to learn the AIX tar version doesn't...
I'm baffled to learn the AIX tar version doesn't provide the z option.


Writing the tar red output to a file (-f /backup/App_Bckup.tar) will prevent it to write to stdout, i.e. the pipe to...
5,026
Posted By nezabudka
Hi As I understand it a linux "pstree" My...
Hi
As I understand it a linux "pstree"
My five cents.
It comes with a built-in pager
systemd-cgls
Another option
ps xawf -eo pid,user,cgroup,args
5,026
Posted By Neo
Quick test on macOS macos$ cat ptree.sh ...
Quick test on macOS

macos$ cat ptree.sh
#!/bin/sh
# Solaris style ptree

[ -x /usr/bin/ptree ] && exec /usr/bin/ptree "$@"

PATH=/bin:/usr/bin:/usr/sbin:/sbin
esac
psopt="$psopt -H -o pid=...
5,026
Posted By MadeInGermany
[Tip] ptree for Linux
Unix (and Linux) uses a process tree that gives a natural security, by simple inheritance of attributes.

The following ptree script shows it. It runs on all Linux flavors.
Mostly useful for...
1,666
Posted By Neo
I used to use Linode. The basic, cheapest one...
I used to use Linode. The basic, cheapest one is now $5 USD a month:

https://www.linode.com/pricing/

But I'm sure there are even cheaper services out there, for sure.

Also, one of our...
5,377
Posted By Neo
If you have physical access to the disk, a...
If you have physical access to the disk, a common way to correct this problem is to mount the disk on another machine and edit the problem files.

Or, boot from another disk or thumb drive, etc,...
5,377
Posted By Neo
Sometimes when I am working on these kinds of...
Sometimes when I am working on these kinds of "gotacha" files, I temporarily change the permissions to read:write for all users or change the owner of the file to an "other than root" user, or both. ...
5,377
Posted By Peasant
When dealing with /etc/passwd, /etc/shadow, PAM...
When dealing with /etc/passwd, /etc/shadow, PAM or sudo files :


Have a root session / prompt opened aside from everything else, you will use this session to fix / remedy if something does not...
5,377
Posted By jim mcnamara
Can you boot from installation software - DVD,...
Can you boot from installation software - DVD, thumb drive?
Boot to run-level 1 which makes the console root and allows no other logins.

Example with run-level 1 boot on linux with GRUB2
...
Forum: Programming 11-06-2019
10,797
Posted By stomp
Hi, short notice from my side: For a...
Hi,

short notice from my side:

For a current project I decided to use Perl. The platforms are Linux / Red Hat 5/6/7/+future Versions. The reason I chose it, where:

Available on all target...
1,653
Posted By Neo
Have you done any research on the MOTIF GUI...
Have you done any research on the MOTIF GUI programming job market?

It's always best to pick a professional career with a high demand and low supply of the necessary skills.

Is there a high...
137,627
Posted By joeyg
Whichever shell the client's computers have...
Whichever shell the client's computers have loaded, and they need me to code with or assist/edit existing coding.
In a way, the same way my favorite programming language has changed through the...
Forum: Open Source 10-29-2019
243,733
Posted By algn2
For me, it's emacs and vi
I use both emacs and vi, in that order of preference. I've been using both for decades, and I can't imagine getting any work done without either.

1. I use vi (or vim, ex, etc) is great...
1,472
Posted By Sennenmut
Change text font to greater one in this very good MOTIF texteditor ?
Hi,
i have here found a very good texteditor source code programmed in the MOTIF GUI language.
For myself i need NOTHING else to program.
To start from a very easy point of view i want to RUN this...
1,490
Posted By MadeInGermany
:b: for that statement.
:b: for that statement.
1,490
Posted By Sennenmut
Clang Compiler makes it.
Hi , the problem is solved. I have installed CLANG compiler , that works.
I have Sparky Linux OS.

Windowsmanager. I dont know what that is.
5,037
Posted By RudiC
bash doesn't handle floating point numbers, only...
bash doesn't handle floating point numbers, only integers. On top, (man bash)
You might want to consider the -gt operator.
1,699
Posted By Corona688
These files are used on login. sudo bash is not...
These files are used on login. sudo bash is not a login.

Environment variables are external memory designed to be shared. Functions are part of a shell's internals and are not. For sudo bash to...
Forum: Solaris 10-22-2019
4,702
Posted By gull04
Hi, You'll have to check the nvram contents...
Hi,

You'll have to check the nvram contents and set them accordingly, a short term fix to get the system back up would be from the ok ptompt. Run the command boot disk or boot disk1this should...
Forum: HP-UX 09-26-2019
4,380
Posted By Corona688
It will exit by itself once done, but you...
It will exit by itself once done, but you probably want an 'exit 0' at the end in case any of the cp commands couldn't copy.

Cron also has a useful feature where any output from the command gets...
3,149
Posted By Chubler_XL
I'd use the -name find option to match newlines: ...
I'd use the -name find option to match newlines:

$ find . -name \*$'\n'\* -print
./file?with?newlines
Forum: What is on Your Mind? 09-22-2019
5,660
Posted By wisecracker
Hi Neo... Not a video but 5 photos taken...
Hi Neo...

Not a video but 5 photos taken today, apologies for some blurredness my shakes get the better of me...
Ignore the dust etc, I only use this for testing code written on WinUAE and...
Showing results 1 to 25 of 202

 

Featured Tech Videos

All times are GMT -4. The time now is 04:29 PM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy